Hello
Onclick event on a label works correctly for IE but not for Netscape and Firefox. I already wrote extensive code for IE so I don't want to change much code. My understanding is that Netscape and Firefox doesn't support onclick. What is the best way around this???
Thank you.
Hello
I am populating the some controls at server side and others with Javascript because I am using AJAX.
The two Drop Down List gets populate by Javascript but when the user clicks "Search" button, then the server needs to get the selected values of the two drop down list to be processed at...
Hello Dan,
Thanks for the tip. When I incorporated it I get another error: "Microsoft JScript runtime error: Object required"
function GetSelectedItem()
{
var LotNo=document.getElementById(this).innerText;
.......
}
Help! Thanks.
Hello
I am a newbie to Javascript. I have a list of labels that are dynamic generated by server. I need to get the ID from the LABELS for AJAX. There are 50 labels per page.
The html looks like:
<LABEL ID="Label1" onclick="GetSelectedItem()">Item A</LABEL>
<LABEL ID="Label2"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.