how to select data-id and data-action in jQuery -
This is the follow-up to this question:
How do I choose this piece?
& lt; Div data-id = "54" data-action = "follow-global-id" class = "add-to-list" & gt; This is my answer & lt; / Div & gt; I have an ID value below and tried it
$ ('.add-to-list [data-action | global-id "] [Data-id | id = '']). Text ('There is jettison here in IT value'); But there is no dice
Help Thx for
It should be tested, but should work:
var id = 54; $ ('.adding list [data action = follow-global global]] [data-id =' + + id + ']' text ('some') .
Comments
Post a Comment