I have a dynamically created page that creates a bunch of select boxes (dropdowns) all named the same thing. When the user submits the page I need to validate the page and make sure that none of the select boxes still have the default value (99999). The problem is I am not sure how to cycle...
This is the way I have the select list named
<select size="1" name="hotel" onChange="refreshPage()">
Is that correct? Also on a side note, is there a way to maybe pass the selected value to the function? i.e. something like:
onChange="refreshPage(hotel.value)"
Just a thought.
Sorry, I will try to be more clear... There is a dropdown box called 'hotel' on the page and when the user selects a value from the dropdown, the onChange event is triggered which calles the javascript function in question. This functions purpose it is to find that value selected in the select...
I have a dropdown box that when the onChange event is triggered it goes into the following javascript function:
var e_select = document.getElementById("hotel");
var hotel = new String(e_select.options[e_select.selectedIndex].value);
var strURL = new String ("border2.asp?page_id=51&h=" +...
Does anyone know how to show real error messages vs. friendly error messages in firefox in much the same way they do it in IE. I have browsed the about:config but have failed to find anything that looks like it might help. Thanks in advance for any and all help.
-Rory
How do you align the text in a text box so that when the user enters text it aligns with the right side of the box rather then the left? Thanks for any and all help in advance.
-Rory
Simon...here is a star for you! Thanks so much. I was way off. The 'h' at the end of the numbers was throwing me off. While I thought the calculater was off it was in fact that h just notates that they are hexadecimals... of course its very obvious now.
I have completely forgotten how to convert hexadecimals and while this question isn't directly related to DNS (it is a MAC address), I figured someone here might still be able to help me. It relates to an issue I am having with my VMWare machine. So on to my question...
ethernet[n].address =...
Thanks for the tip Simon, however I have tried using it but still fail to see how... it only shows up to 'F' and beyond that I don't remember how to use the scientific functions anyway. So if you can figure out how and give a quick explanation that would be great.
I have completely forgotten how to convert hexadecimals and while this question isn't directly related to TCP/IP (it is a MAC address), I figured someone here might still be able to help me. It relates to an issue I am having with my VMWare machine. So on to my question...
ethernet[n].address =...
I recently installed frontpage 2002 extensions on my WIN 2K server in order to take advantage of web usage reports. Things appear to work fine except that in the web logs it is reporting IP addresses rather then hostnames. So I was wondering if anyone knows of any sort of hack that would report...
I recently installed frontpage 2002 extensions on my WIN 2K server in order to take advantage of the usage reports. Things appear to work fine except that in the web logs it is reporting IP addresses rather then the hostnames. Is this normal and if not is there a way to report the hostname...
I was wondering if it is possible to change the text of buttons on message boxes. I currently use the constant vbYesNo which works great but to increase usability it would help if I could replace 'Yes' with something like 'View Data' and 'No' with 'Add More'. Does that make sense? I don't want...
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.