Results 1 to 2 of 2
  1. #1
    Frank H. Shaw is offline Member
    Join Date
    Mar 2009
    Posts
    1
    Rep Power
    0

    Default I need some basic Java Script help I am using a product vbulletin and run in to a jam

    My strength is not java script and with the complex issues of dealing with the Vbulletin interface and then the java script which i do not really understand yet fully I hopeing some good soul will come to my add fast and get me through this.

    I do not expect that I will find someone that has the knowelage of vbulletin but I need to be correct java script first but if someone knows Vbulletin i modifyed the calendar_jump which is calendarjump in the templete system.

    Here goes the problem is my form is not calling up my java script - even allought the java is not doing anything right now I have dump some idea of what i want to do inside it for clearlty to my idea what i am trying to do!

    The point is I need my java script function "process_selected(this.form)" to be called before the submitting of the form in the form of a $_GET to the server.

    PHP Code:
    <script type="text/javascript"> function process_selected(this.form) {
    
                 on.form.submit();
    
    }
    
    </script>
    
    <form action="calendar.php" method="get">
    
    <div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
    
                <input type="hidden" name="s" value="$session[sessionhash]" />
    
                <input type="hidden" name="month" value="$month" />
    
                <input type="hidden" name="year" value="$year" />
    
                <input type="hidden" name="do" value="$docalendar" />
    
            <strong>$vbphrase[Lodge_Calendar]</strong><br />
    
            <select name="c" >
    
                    <optgroup label="$vbphrase[please_select_one]">
    
                       $jumpcalendarbitsl
    
                    </optgroup>
    
            <input type="hidden" name="me" value='2'" />
    
            </select>
    
              <input type="submit" class="button" value="$vbphrase[go]" onclick="process_selected(this.form)" <br />
    
         </div>
    
    </form>
    Please review the posting above and tell me what i am doing wrong to have the handshaking between my form and the java script WHY IS IT NOT BEING CALLED.

    THANKS

    Frank H. Shaw

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    I think I speak for most here in wishing you luck with your project. Please realize however that this is a Java site, not a Javascript site. Google should help you find the appropriate forum. Again, luck.

Similar Threads

  1. run perl script from java
    By maheshmhs in forum New To Java
    Replies: 0
    Last Post: 12-19-2008, 01:40 PM
  2. Product update service for Java application.
    By Eranga in forum Advanced Java
    Replies: 4
    Last Post: 04-22-2008, 10:24 AM
  3. logout using java script
    By pankajagar2001 in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 01-03-2008, 07:37 AM
  4. Replies: 0
    Last Post: 10-29-2007, 06:34 AM
  5. The lasted java script
    By silvia in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-07-2007, 06:44 AM

Posting Permissions

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