12 Topics

Member Avatar for
Member Avatar for mydreamgirl

Is there a way for JSP to get value from id element in a html? Just like what javascript doing document.getElementById.value

Member Avatar for stultuske
0
2K
Member Avatar for deshazer.jad

It makes since that, when working with javascript, document.getElementById() can't find the Id of an object that hasn't yet been added to the DOM, however when I nest document.getElementById() in a function and call it after the object has been created, document.getElementById() still can't find the object. is there a …

Member Avatar for deshazer.jad
0
162
Member Avatar for JamesPublic

I'm trying to use the Fb PHP SDK to execute different Js document.getElementById innerHTML functions, depending on whether the user is logged in to Fb or not. For some reason the function won't work for me. I know my API connection is successful, and Javascript can be inserted here, as …

Member Avatar for jmichae3
0
214
Member Avatar for hubbrdw

This is homework and I need help if someone is willing to help. I cannot get the 2 getElementById functions to work and I am a beginner so I am sure it is something simple but I have not been able to fix it. I need to click on the …

Member Avatar for MartinRinehart
0
163
Member Avatar for rimilbadal

i have a webpage form which have different no of textbox. i have to send this data to a sql database but i dont want to use the $_post or $_get command infact i don't want to send my data to other php page so i basically want a [B]php …

Member Avatar for diafol
0
835
Member Avatar for Joe34

I keep getting undefined with this script... I [CODE]document.getElementById(new_id).style.top = Top; //Works Fine document.getElementById(new_id).style.left = Left; //Works Fine document.getElementById(new_id).style.backgroundColor = Background_Color; //Works Fine document.getElementById(new_id).style.border = Border_Width+" "+Border_Type+" "+Border_Color; //Works Fine new_code = document.getElementById(new_id); //Doesn't Work!!!! document.write(new_code.value);[/CODE] I style the element correctly, but when I want to write it I keep …

Member Avatar for ko ko
0
4K
Member Avatar for supriyabirje

[B]hi friends..[/B] please help me with this little code... i have a html form with a few text boxes and a drop down menu.... On page load I want to blur the drop down menu... I have blurred the text boxes using [CODE]document.getElementById['id-of-text-box'].blur();[/CODE] i tried the same for select element …

Member Avatar for diafol
0
221
Member Avatar for JD69

Is there a program where i can launch a website, click on a button or textfield and it will give me the getElementByID? I searched around for this and i have found nothing? Why doesn't this exist? I am writing a program that will enter information into a copiers web …

Member Avatar for codeorder
0
182
Member Avatar for chazzam

I have a problem with google maps. I want to 'click' a marker remotely (that is to say the user will be able to click on a button and affect the marker, as though the marker itself had been clicked). Not a problem except I don't know how to name …

0
148
Member Avatar for MackAttack30

Hi forum, This will probably be an easy one but i have a situation where i have multiple PHP/HTML <SELECT> tags. So i hold their id and name in an array. When i go to call this enableBox JavaScript function and i try to call the selectorName[] using the getElementById …

Member Avatar for MackAttack30
0
317
Member Avatar for Towlie

Hi guys, Any help with the following will be greatly appreciated. I get this error :"document.getElementById("buttons" + questionNum) is null" with the following code: [code=javascript] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <script type="text/javascript"> var questionNum = 1; function addQuestion() { var …

Member Avatar for Taywin
0
242
Member Avatar for baseballfury

I keep getting an object expected error at the start of my <body> I've set a form to value="Accountants" and <body onload="showindex()"> in an attempt to automatically submit this value to a js file whenever the page loads. My aim is to have dozens of html pages all using the …

Member Avatar for baseballfury
0
142

The End.