我要传递锚标记的静态字符串到锚标记 [英] anchor tag i want pass a static string to anchor tag
本文介绍了我要传递锚标记的静态字符串到锚标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我单击所有文件"或"PHP脚本"或"WordPress"时,我想根据要显示在页面上的字符串标志选择记录将这些字符串作为标志参数发送到存储过程永远不要通过查询字符串来链接,然后我必须在其中编写函数以选择显示记录
如果有任何想法或解决方案,请告诉我
下面给出的代码
when i click on ''All Files'' or ''PHP Scripts'' or ''WordPress'' i want to send these strings to as flag parameter to stored procedure according string flag select record to show on page , i never pass query string/string to link and then where i have to write function to select show record
if any idea or solution then let me know please
code given below
<li > <a href="#" class="active" >All Files</a></li>
<li> <a href="#">JavaScript</a></li>
<li> <a href="#">PHP Scripts</a></li>
<li> <a href="#">.NET</a></li>
<li> <a href="#">WordPress</a></li>
<li> <a href="#">Plugins</a></li>
<li> <a href="#">CSS</a></li>
<li> <a href="#">HTML5</a></li>
<li> <a href="#">Mobile</a></li>
<li> <a href="#">Apps</a></li>
推荐答案
编写以下标记并定义javascript函数.
urtext
并调用javascript函数
wirte following tag and define javascript function.
urtext
and call javascript function
function navigate()
{
//var location=
(this).attr("id") ; 开关(位置)// 如果此代码不起作用,则通过功能中的位置参数 { /* 案例配置":
(this).attr("id"); switch(location)//if this code not work pass parameter in the function as location { /*case "Configuration":
('#detailTable').empty ();
('#detailTable').empty();
这篇关于我要传递锚标记的静态字符串到锚标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文