Results 1 to 2 of 2

Thread: Javascript:Search

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    954

    Javascript:Search

    this does not seem to be working:

    Code:
    	var inputFields = document.all.tags("INPUT")
    	for(i=0;i<inputFields.length;i++)
    	{
    		if(inputFields[i].value.indexOf("'") > 0)
    		{
    			inputFields[i].Replace("'", "");
    		}
    	}
    I just want to strip out any single quotes.

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    954
    Anyone?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width