Jquery is not working?

Jquery is not working?

nin_boundnin_bound Posts: 10Questions: 6Answers: 1

I'm just like wtf.

I don't know. All I was trying to do is .css("font-size", "xx-small") and I realize I'm selecting... I don't even know what I'm selecting.

Can someone explain this picture to me?

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @nin_bound ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • kthorngrenkthorngren Posts: 21,309Questions: 26Answers: 4,947
    edited January 2019 Answer ✓

    There are some problems with how you are using the APIs.

    $(dspIndex.cell(3,4).node).html()
    

    Should be:

    $(dspIndex.cell(3,4).node()).html()
    

    You will want to use to$() with nodes() as shown in the example in the doc.

    $(dspIndex.cell(3,4).to$()).html()
    

    Should be:

    $(dspIndex.cell(3,4).nodes().to$()).html()
    

    Kevin

This discussion has been closed.