15,120 Topics

Member Avatar for
Member Avatar for PeterWaij

I am very new to Java and have the following problem. I made a popup page with thumbnails. If a a image is selected the image is send to my main page. This i got working thanks to Aerospace. Now I want to create a form. In the first field …

Member Avatar for PeterWaij
0
60
Member Avatar for muloki

hi all trying to set up an online shop BUT.. cant get javascript to accept "£" so having to use "$" instead..not good for a uk site lol

Member Avatar for MartinRinehart
0
62
Member Avatar for shadiadiph

How can I change the current text style at the current position of the cursor without chnaging the whole div id's font style? [code] document.getElementById('message').style.fontWeight='bold'; [/code] This changes all the previous text styling in the textarea i have been trying to find a way aboutit but can't seem to find …

Member Avatar for shadiadiph
0
103
Member Avatar for sundeep_g

Hi guys...im very happy to interact with you all...I have a problem with my code..i would like to call the javascript value into php.. can any one help me plz.... :- this is my function var cell3 = row.insertCell(2); var element2 = document.createElement("input"); element2.type = "text"; element2.name="name"+rowCount; element2.value="name"+rowCount; cell3.appendChild(element2); .............................................................. …

Member Avatar for Airshow
0
276
Member Avatar for genki01

I found some code to open a link in a new window, and then change the current window to something new as well. This works fine in Firefox, but testing it in IE8 doesn't work. [CODE]<SCRIPT type="text/javascript"> function poptastic(url) { newwin=window.open(url,'name','top=0,left=0,resizable=1,scrollbars=1'); newwin.moveTo(0,0); newwin.resizeTo(newwin.screen.availWidth, newwin.screen.availHeight); if (window.focus) {newwin.focus()} window.location = "thankyou.php"; …

Member Avatar for genki01
0
550
Member Avatar for idlackage

I have a Javascript function that dynamically creates a box with document.getElementById('lightbox').innerHTML. In the box will be, among other things, a div with id="div1" and visibility="hidden" and a form which, onSubmit, calls the function myFunction. The function basically looks like [CODE] myFunction() { document.getElementById('div1').style.visibility = 'visible'; }[/CODE] which has worked …

Member Avatar for Taywin
0
114
Member Avatar for kedar9

I searched the web a lot. But couldn't find a satisfactory solution. All I want to do is [B]to resize my background image say bg.jpg as per the visitor's screen resolution.[/B] On internet, I did find working javascripts but they used the [I]if (width= height= )[/I] thing. Please please provide …

Member Avatar for Taywin
0
219
Member Avatar for aadithps

if i have a excel file in c:/temp/f1.xlsx with some data like name age etc.....and if i want to copy some of the data from that file to another file in c://temp1/f2.xslx how do i do it..? also i want to add i more extra data to the copied file …

Member Avatar for Taywin
0
54
Member Avatar for puk

Hi, I want to do a redirect count so that the user can see the count going down. for example, I want them to be able to see the following. You will be redirected in 5 seconds. The user should be able to see the count going down from 5 …

Member Avatar for Taywin
0
82
Member Avatar for FatherLen

i am trying to use mscomm in html and javascript to communicate with a device over the serial port but when i run a test of the activex object in a .hta file i get the error "Automation server can't create object". does anybody know why its doing this? it …

Member Avatar for Taywin
0
397
Member Avatar for djcrab

I'm a little lost on these questions of a quiz I just took...Any help is appreciated! 1st question: What is the value of returnValue in the following code segment? returnValue = 17 = = "17"; answer choices: True False 17 NaN *I chose True<--I think that's right, but I'm not …

Member Avatar for Taywin
0
98
Member Avatar for SKANK!!!!!

[CODE]<script> function addText(event){ document.getElementById("insertid").value += (event.srcElement || event.target).firstChild.nodeValue.toString(); } </script> <textarea id="inserid"></textarea> <table onclick=addText(event)><tr><td>[bbcode][/bbcode]</td><td>[bbcode2][/bbcode2]</td></tr></table>[/CODE] problem is whe i click on the bbcode or bbcode2 it inserts it at the end of whatever is in the textarea. im looking to insert it into where the user clicks(where the carat is) like …

Member Avatar for lifeh2o
0
167
Member Avatar for akvlko

Hi Friends Currently I'm Developing a CMS in which I used JQuery for validation of form. In the State and City I have used Ajax to Fill the States after selecting the Country. All other validation are working fine but the validation I applied on the State field is not …

Member Avatar for hongle
0
183
Member Avatar for eswar.aspire

Hello, I have doubt on passing value from Java script to action script.I have flash player which load the songs from the XML and it was in Iframe parent window. When user login in child window iframe HTML_login page, the username from java script passes the value to flash and …

0
90
Member Avatar for eswar.aspire

Hello, I am doing simple Jquery ajax post to php and I am very new to three languages. Any suggestion or guidance. I have two iframes 1. iframe 1 is Navigation menu(loaded with flash menu). <iframe name=”menu”/> 2. iframe 2 is load the web page. <iframe name=”page_load”/> When I click …

Member Avatar for Airshow
0
145
Member Avatar for yopirates

Hi guys i am using jquery week calendar in my project . The problem i am facing is that if i try to add more users the width of time slot is being reduced .I need a horizontal scroll bar instead of width getting reduced. I have uploaded my file …

0
70
Member Avatar for star_lavender

Hi. I have a calculate.js javascript file where all the function that execute the calculation is consist in this file. Now, I want to retrieve a data from the database for javascript calculation and be done in this calculate.js file. I have search a lot of methods to do this …

Member Avatar for star_lavender
0
143
Member Avatar for benhowdle89

hi i'm using this, its working great, but if someone has a hyperlink in their status it doesnt pull it across - is there anything someone can think of? Thanks [CODE] $(document).ready(function(){ var username='xxxxxxxx'; // set user name var format='json'; // set format, you really don't have an option on …

0
88
Member Avatar for yopirates

Hi guys i am using jquery week calendar in my project . The problem i am facing is that if i try to add more users the width of time slot is being reduced .I need a horizontal scroll bar instead of width getting reduced. I have uploaded my file …

0
76
Member Avatar for jermaghs07

hey guys. i am very new to programing and was wondering if anyone else had seen this little trick. this is a little java code to get a saved password prom a website. javascript:alert(document.forms[0].elements[1].value) the forms and values change from site to site but this code works for this site. …

Member Avatar for mijaja
0
3K
Member Avatar for webdev2111

Can anyone help me on how I can create a simple javscript music player, that will play the music randomly or sequentially. Which will have the play and pause button only. and on hover over the play or pause button, it will display the music name and download link option. …

Member Avatar for Airshow
0
79
Member Avatar for ejr74

[code] <script type="text/javascript" src="prototype.js"></script> <script language="javascript"> function hover() { new Ajax.Updater('dataLayer', 'ajax_hover1.html', { method: 'get', evalScripts: true, onComplete: function(){ document.getElementById('dataLayer').style.display='inline'; } }); } </script> <a href="#" onclick="hover()">show</a> <div id="dataLayer" style="display:none; position:absolute;"></div> [/code] ajax_hover1.html contains [code] <script language="javascript" type="text/javascript"> document.write("testing"); </script> [/code] When i execute, new window is opening. Please help …

Member Avatar for guillem_bcn
0
139
Member Avatar for ivan3510

Hi! Sorry for my bad english! How to make a button (source code) that when someone clicks on it, it shows the source code of that what is written. (On some buttons I put the image (<input type="image" src="image.bmp" onclick="urediFont('justifyleft');">) (alignment:left, center, right). But when I click on them everthing …

Member Avatar for ivan3510
0
182
Member Avatar for MartinRinehart

MSIE 8 textareas: textarea.value == textarea.innerHTML == textarea.innerText Opera: textarea.value == textarea.innerText; textarea.innerHTML == undefined Firefox, Safari and Chrome: value only

Member Avatar for MartinRinehart
0
107
Member Avatar for UncleJoe

I hope this hasn't been beaten to death...I looked through the forums and didn't find what I needed. I have a form where an input (textbox) Change event populates several other inputs within the form via ajax...everything works famously when I comment out the Form::open('edit_product'), Form::button('submit', 'Save Product'),and Form::close() in …

Member Avatar for UncleJoe
0
213
Member Avatar for cowboyonamac

New here, and still pretty new to javascript. I have a page that I'm trying to run a number of different javascripts on. [LIST] [*]jquery-1.2.2.pack.js [*]overlapviewer.js [*]prototype.js [*]scriptaculous.js [*]lightbox.js and [*]vnu_datestamp.js [/LIST] I have no problem with the datestamp. It runs pretty well anywhere because it's a link/rel to the …

Member Avatar for maysoon
0
217
Member Avatar for benhowdle89

i have this jquery code: [CODE] $(document).ready(function(){ //Hide the tooglebox when page load $(".visit").hide(); $("#suppliers-table td").hover(function(){ $(".visit").show(); }); }); [/CODE] for this html: [CODE] <table id="suppliers-table"> <tr> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" …

Member Avatar for benhowdle89
0
78
Member Avatar for chalasesha

i am developing a social networking site as my project in college. i have a doubt on php and mysql.. """ I TWITTER OR FACEBOOK OR IN GMAIL WHEN THERE IS NO ACTION FROM USER(BROWSER) THAT IS, THE USER LOGS IN AND STAY STILL(NOT RELOADING THE PAGE). HOW CAN WE …

Member Avatar for chalasesha
0
144
Member Avatar for chineerat

Hi! I am trying to store multiple text values into an array when a check box is checked. for example when row1 checkbox is checked the values row1col1 and row1col2 are stored in an array. note however row1col1 and row1col2 are editable and not readonly. for example: [CODE] <table border="1"> …

Member Avatar for Airshow
0
157
Member Avatar for rahul88bbd
Member Avatar for MartinRinehart
0
94

The End.