>
> Le 18/06/2019 à 16:06, [email protected] a écrit :
>


> > Today I see one problem is Firefox browser does not support this command
> "<a href="javascript:document...".
> > So have anyone have solution for this issue.
>

Stack Overflow discusses the issue here:
https://stackoverflow.com/questions/38856853/a-href-javascriptfunction-in-firefox-not-working


Thanh, can you give us an example where this occurs? Is there an error
message in the FIrefox developer console when the problem occurs?

It seems some ftl templates have JavaScript hrefs - for example, the Help
at top right calls a JavaScript function. That's working for me with
Firefox 60.

 A quick fix might be to change

<a href="javascript:document...

to

<a href="javascript:void(document...)

Better would be to attach an event handler rather than have inline
JavaScript.

Cheers

Paul Foxworthy

-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: [email protected]

Reply via email to