如何访问ahref标记中的文本框值 [英] how to access the text box value in the ahref tag
本文介绍了如何访问ahref标记中的文本框值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我需要在最后一个参数txtcallerid中访问文本框值,点击ahref后,
你有没有建议我这是可能的,我在互联网上搜索,请帮助我。
< a href = Grid.aspx?strCompanyid = <% = strCompanyid %> & strGelocationid = <% = strGelocationid %> & strRoleid = <% = strRoleid %> & strUsername = <% = strUsername %> >& txtcallerid = <% = strCallerid %> > 标签3(慢)< / a >
< / li >
解决方案
< blockquote>点击href,调用一个javascript方法然后得到它的href ....
,因为你想要查看参数值,搜索该href中的参数txtcallerid然后找到值分配给它...
http://jsfiddle.net/acX4s/2/ [ ^ ]
Hi all,
I need to access the text box value into the last paramter txtcallerid,after a click of ahref,
could u pls suggest me is this possible, i searched all round the internet, pls help me out.
<a href="Grid.aspx?strCompanyid=<%= strCompanyid %>&strGelocationid=<%= strGelocationid%>&strRoleid=<%=strRoleid %>&strUsername=<%= strUsername %>>&txtcallerid=<%= strCallerid %>">Tab 3 (slow)</a>
</li>
解决方案
On click of href, call a javascript method and there get its href....
since you want to see a parameters value, serach for the parameter txtcallerid in that href and then find the value assigned to it...
http://jsfiddle.net/acX4s/2/[^]
这篇关于如何访问ahref标记中的文本框值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文