0

Hi I am facing difficulty in selecting using Jquery can any body tell me how to select sellink_0, id using jquery ?

<a     id="\"sellink_0\""     href="\"#\"">

2 Answers2

1

What you have posted is an invalid html.. It is parsed as below, (as from Firebug and might vary for different browsers)

  <a 
  #\="" 
  href="\" 
  sellink_0\="" 
  id="\">

Read More here: What characters are allowed in DOM id's?

Community
  • 1
  • 1
Selvakumar Arumugam
  • 78,145
  • 14
  • 119
  • 133
0

http://api.jquery.com/category/selectors/

$('#sellink_0')
Trav McKinney
  • 1,000
  • 8
  • 24