jQWidgets Forums

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: tabindex functionality tabindex functionality #54521

    jcf378
    Participant

    sorry – had some type-o’s in my example:
    ————————-
    <input name=”textinput1″ id=”textinput1″ tabindex=”1″ /> <!– standard text input –>
    <input name=”textinput2″ id=”textinput2″ tabindex=”2″ /> <!– standard text input –>
    <input name=”jqxInput1″ id=”jqxInput1″ tabindex=”3″ /> <!– jqxInput field –>
    <div name=”jqwidget1″ id=”jqwidget1″ tabindex=”4″></div> <!– jqxDateTimeInput field –>
    <div name=”jqwidget2″ id=”jqwidget2″ tabindex=”5″></div> <!– jqxdropDownList field –>


    jcf378
    Participant

    Yup… works perfect!
    Thanks so much, Peter.
    –Jason


    jcf378
    Participant

    Thanks Peter — you were right, as usual.
    I disabled compatibility mode on the computers I noticed this problem on, and it fixed it right away…
    Will just have to notify users to do that if things aren’t working for them.
    Many thanks,
    -Jason


    jcf378
    Participant

    Actually – problem solved…. I believe there may be a syntax error in your code example file:

    http://www.jqwidgets.com/jquery-widgets-documentation/documentation/phpintegration/php-server-side-grid-editing.htm

    the $update_query string in your data.php file example has single quotes ( ‘ ) flanking the variable names (i.e., ‘LastName’ = …, ‘Title’ = …, etc.). Those single quotes aren’t necessary because that string is being processed by the subsequent mysql_query($update_query), and that query needs to read a straightforward SQL command line as simple text. The single quotes ARE necessary around the corresponding $_GET parameters however (i.e., ‘ “.$_GET[‘LastName’].” ‘ ), but not for the standalone fields in the SQL statement.

    Once those single quotes were removed, the rest of your example works great…
    many thanks,
    –Jason

Viewing 4 posts - 1 through 4 (of 4 total)