[jQuery] Probably just javascript?

[jQuery] Probably just javascript?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1543" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=451040221-12072006><FONT face=Arial color=#0000ff size=2>I was
able to use the .text element to test the text area.</FONT></SPAN></DIV>
<DIV><SPAN class=451040221-12072006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=451040221-12072006><FONT face=Arial color=#0000ff size=2>You
bring up a good point about hidden form fields.. ASP developers tend to use the
querystring, but there is no reason I could not get in the practice of using
hidden form fields more.</FONT></SPAN></DIV>
<DIV><SPAN class=451040221-12072006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=451040221-12072006><FONT face=Arial color=#0000ff
size=2>Thanks!</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> discuss-bounces@jquery.com
[mailto:discuss-bounces@jquery.com]<B>On Behalf Of
</B>DragonMails<BR><B>Sent:</B> Wednesday, July 12, 2006 4:27 PM<BR><B>To:</B>
jQuery Discussion.<BR><B>Subject:</B> Re: [jQuery] Probably just
javascript?<BR><BR></FONT></DIV>Couldnt you use hidden fields to fill in all
of that other information? Thats kind of ugly... :-\<BR><BR>
<DIV><SPAN class=gmail_quote>On 7/12/06, <B class=gmail_sendername>Acuff,
Daniel (Comm Lines, PAC)</B> <<A
href="mailto:Daniel.Acuff@thehartford.com">
Daniel.Acuff@thehartford.com</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #cccccc 1px solid">
<DIV>
<DIV>
<P><FONT face=Arial size=2>Would *LIKE* to use jQuery if I can.. (more
experience with jquery the better)</FONT> </P>
<P><FONT face=Arial size=2>The actual *value* of my More Carriers.. option
in a dropdown is: </FONT></P>
<P><FONT face=Arial size=2><option
value='/SBDX/Scripts/Carrier_Request_Form.asp?channel=" & varChannel
& "&carrier=" & varCarrier &lookup=" & formName &
"&item=" & eapid & "' class='newwin'>More
Carriers..</option> </FONT></P>
<P><FONT face=Arial size=2>I cannot test the *value* attribute for More
Carriers.. but how could I test for the value More Carriers.. between the
option tags?</FONT></P>
<P><FONT face=Arial size=2>Is it possible in Jquery or plain javascript?
</FONT></P>
<P><FONT face=Arial size=2>I just use that More Carriers.. in an OnSelect
script... but I don't want them to use the back button and SUBMIT that
select option. (bad terrible things result).</FONT></P>
<P><FONT face=Arial size=2>If THAT is NOT possible, I COULD test for the
*value* and if it starts with a slash / then throw an error/alert.</FONT>
</P>
<P><FONT face=Arial size=2><script type="text/javascript"></FONT>
<BR><FONT face=Arial size=2>function formVal(frm) {</FONT> <BR><FONT
face=Arial size=2>    var frm = document.agencyform4;</FONT>
<BR><FONT face=Arial size=2>    var v1 =
numOnly(frm.nbc1p);</FONT> <BR><FONT face=Arial size=2>   
var v2 = numOnly( frm.nbc1t);</FONT> <BR><FONT face=Arial
size=2>    var v3 = numOnly(frm.nbc2p);</FONT> <BR><FONT
face=Arial size=2>    var v4 = numOnly(frm.nbc2t);</FONT>
<BR><FONT face=Arial size=2>    var v5 = numOnly(frm.nbc3p
);</FONT> <BR><FONT face=Arial size=2>    var v6 =
numOnly(frm.nbc3t);</FONT> <BR><FONT face=Arial size=2>    if
(v1 === null || v2 === null || v3 === null || v4 === null || v5 === null ||
v6 === null) {</FONT> <BR><FONT face=Arial size=2>    return
false; // error message already displayed</FONT> <BR><FONT face=Arial
size=2>    }</FONT>
<BR>        <FONT face=Arial size=2>if
(frm.nbcarrier2.options[14].selected = true)
</FONT><BR>       
        <FONT face=Arial
size=2>alert("You cannot save the carrier name More Carriers!");</FONT>
<BR>        <FONT face=Arial
size=2>return false;</FONT> <BR><FONT face=Arial size=2>   
return true;</FONT> <BR><FONT face=Arial size=2>}</FONT> <BR><FONT
face=Arial size=2></script></FONT> </P><FONT
size=3><BR><BR>*************************************************************************
<BR>This communication, including attachments, is<BR>for the exclusive use
of addressee and may contain proprietary,<BR>confidential and/or privileged
information. If you are not the intended<BR>recipient, any use, copying,
disclosure, dissemination or distribution is <BR>strictly prohibited. If you
are not the intended recipient, please notify<BR>the sender immediately by
return e-mail, delete this communication and<BR>destroy all
copies.<BR>*************************************************************************
<BR></FONT></DIV></DIV><BR>_______________________________________________<BR>jQuery
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:discuss@jquery.com">discuss@jquery.com</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://jquery.com/discuss/"
target=_blank>http://jquery.com/discuss/</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/