Results 1 to 2 of 2

Thread: More VBScript Q's...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263

    Post

    1.)How do I use the 'window.navigate' to navigate to a URL to a specific window?
    2.)What's the unput for a web control that doesn't allow user input, or atleast a way to lock a text box from editing?

  2. #2
    Guest

    Post

    1. I'd use location.href="http://www.someurl.com/"

    2. why not just display it outside of a control, if it's not going to be edited then you don't need to put it on there in the first place; and before you say "...but it's in a form and I need that value submitted with the form...", use hidden fields to accomplish this.

    so it might look like this:

    <form name="yourform" method="post">
    <input type=hidden name=SomeVariableName value="your un-editable value">
    <table>
    <tr>
    <td>your un-editable value</td>
    </tr>
    </table>
    </form>


    ...now, if this looks ok on this forum, the user can't edit the value but it still gets submitted with the form.

    hth,
    pvb

Posting Permissions

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



Click Here to Expand Forum to Full Width