OnClick Submit & Fresh - Inetserver

This is a discussion on OnClick Submit & Fresh - Inetserver ; I have an ASP page that once a user puts a check in form field checkbox I would like to have the the record updated and the page refreshed? Any suggestions on how to handle this? This is currently what ...

+ Reply to Thread
Results 1 to 2 of 2

OnClick Submit & Fresh

  1. Default OnClick Submit & Fresh

    I have an ASP page that once a user puts a check in form field
    checkbox I would like to have the the record updated and the page
    refreshed? Any suggestions on how to handle this? This is currently
    what I have for my checkbox:

    Response.Write "<td valign=middle align=left><input type=checkbox
    name=JobStatus " & SetCheckbox(cBool(objRecordset("JobStatus"))) & ">"

    Thanks


  2. Default Re: OnClick Submit & Fresh

    <input type="checkbox" name="JobStatus" onclick="form.submit();">

    This will cause the form to post when the box is clicked

    "Matt" <mwagoner@caldrywall.com> wrote in message
    news:1172270464.378929.312690@k78g2000cwa.googlegroups.com...
    >I have an ASP page that once a user puts a check in form field
    > checkbox I would like to have the the record updated and the page
    > refreshed? Any suggestions on how to handle this? This is currently
    > what I have for my checkbox:
    >
    > Response.Write "<td valign=middle align=left><input type=checkbox
    > name=JobStatus " & SetCheckbox(cBool(objRecordset("JobStatus"))) & ">"
    >
    > Thanks
    >




+ Reply to Thread

Similar Threads

  1. Need some fresh ideas
    By Application Development in forum Javascript
    Replies: 4
    Last Post: 10-10-2007, 05:18 AM
  2. Button with onClick inside Form (with Submit Button)
    By Application Development in forum Javascript
    Replies: 14
    Last Post: 09-11-2007, 03:32 PM
  3. Replies: 3
    Last Post: 06-23-2007, 02:29 AM
  4. Fresh install problems
    By Application Development in forum Microsoft Exchange
    Replies: 2
    Last Post: 04-03-2007, 02:03 PM
  5. javascript n00b, onclick="submit ...
    By Application Development in forum Javascript
    Replies: 0
    Last Post: 03-10-2005, 03:39 PM