Adding text to a table data cell with jQuery -


क्यों यह कोड:

  row.append ($ ("& lt; td & gt; & lt ; / टीडी & gt; "।) पाठ (" someText "));  

... काम नहीं कर रहा है, और मैं इसे कैसे ठीक कर सकता हूं?

कोड ठीक काम करता है, जैसा कि इस के साथ दिखाया गया है कोड को देखने के लिए URL पर / संपादित करें जोड़ें फ़ायरफ़ॉक्स 3.5 और आईई 6 में टेस्ट किया गया

  $ ('बटन')। एक ('क्लिक', फ़ंक्शन ($ {'(# myTable tr: last')। ऐप ($ (" & Lt; td & gt; & lt; / td & gt; ")। पाठ (" कुछ पाठ "));});  

इसके अलावा, आप

  $ ("& lt; td & gt; कुछ पाठ & lt; / td & gt;")  

Comments

Popular posts from this blog

iphone - How do I make a UIPickerView in a UIActionSheet -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -