I have never used HTML5 much and so am not aware of its limitation.
But I have heard there is a useful custom data attribute which has got added. So my question is, can I use this for AJAX response handling? By that I mean, say I have coded some placeholder divs with data attributes.
Now can I parse this JSON response to fill up the div elements easily. Or is there another quicker way?
Main thing i开发者_C百科s HTML structure would be separate and json response will only contain data.
You should check out the jQuery.template()
plugin
精彩评论