Javascript Validator

    Date: 11/23/05 (Web Development)    Keywords: java

    Can anybody tell me why my javascript validator won't work?
    I'm working with a very simple form, but it is on a div that I want to disappear once the form has been validated.
    I think the form is disappearing before it submits the form..



    here is the code for my form:

    Which Radio Station did you hear us on?




    None



    and this is the javascript (which is on the bottom of the page, not in the head as it is supposed to be because of the way the div appears/disappears depending on the form being submitted, it also appears only if sent from a certain link):

     var modal = document.getElementById('modalWdw');
     
       
        function showModal()
        {
           modal.style.display='block';
        }
    
        function hideModal()
        {
           modal.style.display='none';
           return true;
        }
    	
    	function doValidate()
    	{
    		var group1Checked;
    
    		for (var i=0; i

    can anyone see the problem, if im missing any vital info for you to understand what's going on.


    Any comments are appreciated!

    Source: http://www.livejournal.com/community/webdev/272989.html

« css box issues || Javascript Validator »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home