I have an iframe which beside other script has a function called buttonMap(number) which runs some code. I would like to call the function with different values using buttons outside of the iframe. (I don't want to reload a page each time).
Can this be done? For simplicity lets say the iframe has id="showMap".
In my naive way I was thinking that I could link a xara button in web properties as for instance: javascript:showMap.buttonMap(2).
I realise this won't work (have tried it) but is it possible to call a function in an iframe from xara?
Any help would be appreciated.
Thanks
Bob