No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
IT Services Manager for a UK highways authority
- Interests
- Motorcycles, music, reading, cinema.
9 Posted Topics
Re: Or try this : a=document.forms["input"]["box"].value; if( trim( a ) != '' ) alert( a ); else alert( 'Enter some text' ); // Function to trim the space in the string function trim( s ) { var temp = s; return temp.replace(/^\s+/,'').replace(/\s+$/,''); } Here are a couple of other useful trimming … | |
Hi, all, This may not be the correct place to ask this question, but I can't find another forum that seems to match my question. We have a web site which stores : user's name (which is not validated in any way, so we have lots of Donald Ducks and … | |
Re: This may help : [URL="http://ginger-space.blogspot.com/2007/07/javascript-validation.html"]http://ginger-space.blogspot.com/2007/07/javascript-validation.html[/URL] Amend and expand the code that's in there checking which character you're on and using an ASCII chart to find the codes for the letters you want to allow in position 1. You could also check for the lower-case values and convert to the upper-case … | |
Hello. It Services Manager for a highways authority in UK. Mostly spend time scheduling others' work, but do still get a chance to write the odd script / program in PHP, VBScript, VBScript.Net, VB6. | |
Re: If you're intending to carry-out the project yourself, remember that high-level programming is not trivial and a fair amount of knowledge is needed before you kick-off, especially if, for example, you're going to access databases and build charts on the fly with the data grabbed from the database. First things … | |
Re: I don't know if this is the BEST way to do it, but this would work : [code] <head> <script language="javascript"> function fnMyReset() { document.frmMyForm.chkCheckBox.checked = false; } </script> </head> <body> <form name="frmMyForm"> <input type="text" name="txtText" /> <input type="checkbox" name="chkCheckBox" /> <!-- changed from type="reset" to type="button" --> <input type="button" … | |
Re: I'm not entirely sure why you might wish to do this. Even if you encrypt the URL, it will still be usable by any user who e.g. bookmarks it. Encrypted URLs are usually used to hide an attenpt to visit a URL which is blocked by a proxy, not to … | |
Re: Is it because of the parentheses within the '<% %>' tags in this line? <td><%[COLOR="Red"][B]([/B][/COLOR]Request.QueryString("donor").ToString().Substring(10,4)[COLOR="red"][B])[/B][/COLOR]%></td> | |
Some JavaScript code which used to work for IE6 no longer works for IE7. Any ideas what I could try to correct the problem? The scripts change a user's password by opening a child window, grabbing the old password, new password and user name from the opener, then execute a … |
The End.