|
Posted by Mitja on 06/18/05 12:45
> I have this database table admin page... every row of the table has a
> clickable link to select it, passing the primary key ID via querystring
> to the SAME page... If this ID is not undefined, the page will also
> display a form to change the field values and update the DBso the
> HREF="#" will REFRESH the page in IE and NS,
> passing this data.
Hmm... not 100% I got you right, but would this do?
<tr>
<td>1</td>
<td><a href="show.asp?primaryid=1">First row</a></td>
<td>Some property of the first row</td>
<td>And some more info</td>
</tr>
<tr>
<td>2</td>
<td><a href="show.asp?primaryid=1">Second row</a></td>
<td>Some property of the second row</td>
<td>And some more info</td>
</tr>
<tr>
<td>3</td>
<td><a href="show.asp?primaryid=1">Third row</a></td>
<td>Some property of the third row</td>
<td>And some more info</td>
</tr>
You probably don't need javascript, the page show.asp should generate code
like above that links to itself with various (server-side-)precomputed
parameters.
Navigation:
[Reply to this message]
|