The Artima Developer Community
Sponsored Link

Java Answers Forum
document.myform.submit()

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
mgroyal

Posts: 1
Nickname: mgroyal
Registered: Sep, 2002

document.myform.submit() Posted: Sep 3, 2002 6:46 AM
Reply to this message Reply
Advertisement
Hi, I like to show some field values as hyperlink and onclick it shoult submit the appropriate value to another asp-site....

(Hope ASP-Code do not confuse you)
Thx

Example

LineId
200.100 (=Hyperlink) -> on click -> transfer value (200.100) to frmmapping.asp
200.101 (=Hyperlink) -> on click -> transfer value (200.101) to frmmapping.asp
200.102
200.103

tried this with follow code, but I'll get an error because the form name is not unique


<%
Do while not rsCommentRequest.EOF
%>

<form action="frmMapping.asp" method="post" name="showmapping">

<A HREF="javascript:document.showmapping.submit();"> <% Response.Write rsCommentRequest.Fields("Line_Description") %> </A>

<%
Response.Write("<input type='hidden' name='LineID' value=" & rsCommentRequest.Fields("Line_ID") & ">")
Response.write("</form>")

rsCommentRequest.MoveNext

loop
%>

Topic: JTable problem? Previous Topic   Next Topic Topic: BEA Weblogic Server 5.1

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use