91 users online (1 members and 90 guests)  

  Results 1 to 1 of 1


  1. Needing help like usual =/    Forum: HTML Forum
    Replies: 2
  2. New and needing advice and information.    Forum: Introduce Yourself
    Replies: 2
  3. i'm a newbie    Forum: Web Hosting Forum
    Replies: 2
  1. #1
    joolzg's Avatar
    New User

    Join Date
    Jun 2007

    Newbie needing help

    Generated Code posted below.

    What i am trying to do is to make the dynamic page be updated whenever the checkbox is changed.

    I want to be able to diable all controls after the checkbox.

    Now i can do this in my c code which produces the code but when the user changes the checkbox he has to save (submit) the page and then i refresh the page with the changes, i would like to be able to refresh the page automatically when they change the state of the checkbox.

    any ideas?


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/htm14/strict.dtd">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="pragma" content="no-cache">
    <script type="text/javascript">
        alert( 'clicked');
    <link href="Style.css" rel="stylesheet" type="text/css">
    <h1>Input Settings</h1>
    <form name="input" method="get">
      <td colspan="2">
        <select name="input_region" size="0">
          <option value="0" selected="selected">Europe</option>
          <option value="1">China</option>
          <option value="2">USA</option>
          <option value="3">Canada</option>
          <option value="4">Japan</option>
          <option value="5">Austrailia</option>
          <option value="6">Italy</option>
      <td>Rf Channel:</td>
      <td colspan="2">
        <input name="input_rf" value="22" size="3">
      <td colspan="2">
        <input type="Checkbox" id="cb_input_transfer" name="input_transfer" value="0"  onchange="documents.forms[0].submit()">
      <td colspan="2">
        <select name="input_name" size="0">
          <option value="0">SVT2 Sydnytt</option>
          <option value="1">SVT24 Sydnytt</option>
          <option value="2">.SVT2 V.stnytt</option>
          <option value="3">SVT1 Tal txt</option>
          <option value="4">SVT2 Tal txt</option>
          <option value="5" selected="selected">SVT1</option>
          <option value="6">Barn/Kunskapsk.</option>
          <option value="7">SVT Extra</option>
          <option value="8">Boxer Navigator</option>
    <tr><td colspan="3"><input type="Submit" value="save"></td></tr>
    Last edited by vinyl-junkie; 06-08-2007 at 07:41 PM. Reason: Added code tags

Tags for this Thread