jquery - add href link to Tag in css -
jquery - add href link to <a> Tag in css -
i have dynamic table .in info populates db ashyperlink records
this script:
function geterrorstatuslist() { }); $.ajax({ // parameters success: function (response) { //data gets in response var output = "<table class='table'><tr><th>mzillaid</th></tr>"; (var x = 0; x < obj.length; x++) { output += "<tr><td class='myclass' style='text-decoration:underline;'>" + obj[x].emid + "</td></tr>"; } output += "</table>"; $("#result").append(output); }, });
this working fine .this records generated hyperlink in output html
as
<a href="http://mzillaint.nokia.com/show_bug.cgi?id=87774">87774</a>
..i want set on css.i mean add together "a" tag in css , set href in
like
a { href://link generated }
i tried not implementing ..how can ??any suggestion helpful
it absolutely not possible. can not modify dom using css css display only.
you should rather utilize javascript or jquery after appending dom.
$("#result").append(output); $("#result a").attr('href',generated_link_here);
jquery html css
Comments
Post a Comment