I have following fragment of code: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <script language="javascript"> function hideTableRow(rowID) { var row =...
Try this for the function: function hideTableRow(rowID) { var row = document.getElementById(rowID); if(row.style.display == "none"){ row.style.display =...
Actually this will cause you grief in standards compliant browsers because the display property for table rows is table-row. An easier solution is to create a...
It seems that this gruop is transforming into me asking you Jscript gurus ;). Anyway, I have one interesting situation. I'm catching keydown event of textbox....
I was looking for a good function that would check uploaded files for illegal extensions. Any recommendations? HTC Disclaimer: The information contained in...
What are illegal extensions? ;-) I have done something like this below which can obviously be bypassed by disabling JS so really your best approach would be...
Robertson-Ravo, Neil ...
Neil.Robertson-Ravo@...
Aug 9, 2005 3:18 pm
20767
I would rather use an array to hold the allowed extensions. var allowedExt = ['gif', 'jpg']; ... for (var i = 0 ; i < allowedExt.length ; i++) if (ext ==...
Yeah, that would be more beneficial for more extensions than we were checking for. "This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, ...
Robertson-Ravo, Neil ...
Neil.Robertson-Ravo@...
Aug 9, 2005 5:32 pm
20769
Gurus, Reports page of my shopping cart shows all suppose 7 Orders placed in a day. I want to add two print buttons. One is to show at the end of every order...
Hi, Maybe you have figured this out already, but according to my ascii chart, . is 46. 110 is 'n' and 190 is extended, so will render based on browser...
Dave.Phillips@...
Aug 15, 2005 8:29 pm
20771
In a nutshell - you can't print a specified area of a page using JS. You could create a popup which generates the specified order on the fly and print that (if...
Robertson-Ravo, Neil ...
Neil.Robertson-Ravo@...
Aug 16, 2005 6:45 am
20772
does anyone know if it is possible to get clipboard contents and put them into a textbox, and also if it is possible, to send forum contents to a page...
Free C Language Skill Evaluation Check Your Skill In 5 Minutes Visit www.4futureengineers.com/ctest.htm [Non-text portions of this message have been removed]...
I would like to dersign my first javascript but would like to know how, also i would like to know how the coding works. I all ready know HTML and understand...
hi function CheckExtension(FileName,Extensions) { var t = FileName.split("."); var ext = t[t.length-1].toLowerCase(); for(var i=0;i<Extensions.length;i++) ...
There is always one idiot who does this - just one more rule to add to my spam rules and to report. "This e-mail is from Reed Exhibitions (Oriel House, 26 The...
Robertson-Ravo, Neil ...
Neil.Robertson-Ravo@...
Aug 26, 2005 5:37 am
20777
... Try out the tutorials here : http://www.w3schools.com/js/default.asp...
Hi All- My website has a splash page which, when clicked on, activates a javascript to open another window, sized as I want my site to be viewed. On most...
Dak, Try this. 3 changes. 1) I took out the preloadimages(); call in your body tag, there is no function that this is associated with, so why do you have it...
My initial two thoughts would be that 1 - The user does not have javascript enabled. 2 - They have a popup blocker that blocks this. I will let you know if I...
Hi Dak, --"Some visitors tell me they cannot get past the splash page. They're mostly (but I don't believe exclusively) Windows/IE users. Yet, I know that some...
the great thing about "AJAX" is that what you use on the backend really doesn't matter. Actually, you could have 1 html page that uses Javascript "AJAX" to...
are the functions that require a reference to the form being executed *from* member elements of the form? if so, you could use the following overly-simplified...
AFAIK, form names and forms are just held in an Array within the document in the DOM at page load. Of course you can have more than one form per page so you...
Robertson-Ravo, Neil ...
Neil.Robertson-Ravo@...
Oct 19, 2005 10:28 am
20789
Could you pass in the name of the form to the JS? J Hohgrefe simple_tailor ... __________________________________ Yahoo! Mail - PC Magazine Editors' Choice...