How run a JS with a button inside FBML?

auuuu

Elite Member
Joined
Jul 10, 2010
Messages
1,847
Reaction score
444
Anyone can help me?

I've tried with this:

<script type="text/javascript">
function LOL() {
FUNCTION
}
</script>
<input type="button" value="Press to Activate" onclick="LOL()" />

But doesn't works
sad.png
Anyone can hep to figure out?
 
If you are adding this code to the Static FBML app, it will not work, it will only show HTML.
 
Only way you can really do this is to use an HTML iframe to a webpage that contains the button.
 
Only way you can really do this is to use an HTML iframe to a webpage that contains the button.

Can you tell me more please?
I need to put the JS in my website and then iframe it into the FBML?
 
Back
Top