Saturday, 15 February 2014

jquery - How do i add bootsrap-rating to a number coming from an public API? -


This only supports input in the bootstrap documentation, but can I add it to an object attribute through JQuery Ajax Can i

Update:

Tried it, but to no avail, tried to parse it as a number, it works in HTML when I value I give a number

  $ ('# album display') .andend (''  gt; '); & Lt; Input id = "input -6c" class = "rating" data-minute = "0" data-max = "1" data-step = "0.1" value = "56" data-size = "xs" & gt;  

Ah it seems that I had to start $ ('rating'). (); Out of the success of the Ajax method ....


No comments:

Post a Comment