|
-
Jan 17th, 2000, 07:24 AM
#1
Thread Starter
Hyperactive Member
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?
-
Jan 17th, 2000, 02:17 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|