Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
About Me

IT Services Manager for a UK highways authority

Interests
Motorcycles, music, reading, cinema.

9 Posted Topics

Member Avatar for user543820

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 …

Member Avatar for Troy III
0
203
Member Avatar for ajberrow

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 …

Member Avatar for ajberrow
0
171
Member Avatar for dello

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 …

Member Avatar for ardeezstyle
0
147
Member Avatar for ajberrow

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.

Member Avatar for Serunson
0
42
Member Avatar for fitzkil

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 …

Member Avatar for ajberrow
0
97
Member Avatar for chronoel

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" …

Member Avatar for MidiMagic
0
86
Member Avatar for dnsl

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 …

Member Avatar for jbennet
0
108
Member Avatar for ammwebmaster2

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>

Member Avatar for Thirusha
0
176
Member Avatar for ajberrow

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 …

0
82

The End.