Jump to content

Filtering html with jQuery/JS


KubeR

Recommended Posts

Hi,

I want to create a cancel button which replaces back the text that was after clicking the "cancel" button.

But the problem is,that the tags does not take affect when I use .html() to restore the previous content with all the tags that it had,they show as plain text.

I searched for alternative function or way,but didn't find any.

 

So,my question is : is there any command that can filter the html and make the tags work properly with all the attributes they contain ?

 

 

 

 

 

Before the hand,

thank you,

KubeR.

Link to comment
https://forums.phpfreaks.com/topic/282261-filtering-html-with-jqueryjs/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.