I need a code like this.
This is an example but it is not working to IE7
http://fiddle.jshell.net/Pc4uT
Theese are my links :
- Link 1
- Link 2
- Link 3
- Link 4
- Link 5
it must filling to input field with link value when click to links.
Like this : 1,2,3,4,5
Can someone help me for this problem ?
Use jQuery’s
.click(instead ofattr("onclick", ...To be compatible with different browsers and don’t return a string of javascript. You should avoid putting anything that looks like scripting inside a string. Use this: