Skip to main content
Add ```html``` block; capitalization and grammar
Source Link

Javascript JavaScript in a wordpressWordPress post

howHow can I add

<a href="javascript:function foo(){alert('hi');}" title="alert">
Drag to your bookmarks bar
</a>
<a href="javascript:function foo(){alert('hi');}" title="alert">
    Drag to your bookmarks bar
</a>

into my wordpressWordPress post.?

I have built a bookmarklet and iI want to pass it through my blog. But wordpress, but WordPress is stripping out the javascript from my post when it displaysI save it.

Javascript in a wordpress post

how can I add

<a href="javascript:function foo(){alert('hi');}" title="alert">
Drag to your bookmarks bar
</a>

in my wordpress post.

I have built a bookmarklet and i want to pass it through my blog. But wordpress is stripping out the javascript from my post when it displays it.

JavaScript in a WordPress post

How can I add

<a href="javascript:function foo(){alert('hi');}" title="alert">
    Drag to your bookmarks bar
</a>

to my WordPress post?

I built a bookmarklet and I want to pass it through my blog, but WordPress is stripping out the javascript from my post when I save it.

how can I have <a href="javascript:function foo(){alert('hi');}" title="alert">Drag to your bookmarks bar</a> inadd

<a href="javascript:function foo(){alert('hi');}" title="alert">
Drag to your bookmarks bar
</a>

in my wordpresswordpress post.

I have built a bookmarklet and i want to pass it through my blog. But wordpress is stripping out the javascript from my post when it displays it.

how can I have <a href="javascript:function foo(){alert('hi');}" title="alert">Drag to your bookmarks bar</a> in my wordpress post.

I have built a bookmarklet and i want to pass it through my blog. But wordpress is stripping out the javascript from my post when it displays it.

how can I add

<a href="javascript:function foo(){alert('hi');}" title="alert">
Drag to your bookmarks bar
</a>

in my wordpress post.

I have built a bookmarklet and i want to pass it through my blog. But wordpress is stripping out the javascript from my post when it displays it.

Source Link
codeAnand
  • 1k
  • 1
  • 9
  • 29

Javascript in a wordpress post

how can I have <a href="javascript:function foo(){alert('hi');}" title="alert">Drag to your bookmarks bar</a> in my wordpress post.

I have built a bookmarklet and i want to pass it through my blog. But wordpress is stripping out the javascript from my post when it displays it.