jQuery Loading external content in Div, link problem -


I have loaded content from an external site into jQuery in a div, but when I have a link in the loaded content Clicking opens it as your page, is there a way to restrict the link to open the page, it is still contained in the device?

The way I think is to set the "href" entry of all the links to "#" The only way to find out the code below.

  $ ("# div"). ("A"). Attr ("href", "#")   

Hope this is useful!

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -