I have installed jquerty macro on my confluence 3.4. and i’m trying to run some simple code
{jquery:markup=wiki}
{html}
<head>
<script type="text/javascript">
function displaymessage()
{
alert("Hello World!");
}
</script>
</head>
<body>
<form>
<input type="button" value="Click me!" onclick="displaymessage()" />
</form>
<p>By pressing the button above, a function will be called. The function will alert a message.</p>
{html}
{jquery}
...everything works fine on PREVIEW view (Hello World string appears) but when i save my page and press the "Click me" button nothing happened.
Any idea why?