XenForo
Administrative
- Thread starter
- Admin
- #1
I've this line of code in my javascript
JavaScript:
I would like to pass
Is this possible?
ادامه مطلب...
JavaScript:
Code:
var foo = "somthing goes here";
XF.overlayMessage('Confirmation', '<p>Are you sure?</p><button class="button button--primary" onclick="XF.hideOverlays(); do_stuff();">Yes</button> <button class="button" onclick="XF.hideOverlays();">No</button>');
I would like to pass
foo
value as a function argument to do_stuff()
. Is this possible?
ادامه مطلب...