Click here to Skip to main content
15,911,762 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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



XML
<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>
Posted
Comments
ZurdoDev 22-Jun-12 8:12am    
I cannot understand your question but based on the title of your post it sounds like you want to update the href of the a tags? Give each a tag and ID or even your li tags and then use jQuery to set the href attribute.
Difficult to understand... :(

1 solution

wirte following tag and define javascript function.

urtext


and call javascript function

C#
function navigate()
    {
        //var location=$(this).attr("id");
        switch(location)//if this code not work pass parameter in the function as location
        {
            /*case "Configuration":     $('#detailTable').empty();
                                    $('#detailTable').append(navigateConfig);
            break;*/

            default: alert(location+" a tag was clicked");
        }
    }
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900