• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: External Javascript files

External Javascript files 12 years 6 months ago #15159

Is it possible to include external Javascript files in the Javascript section of a form?

eg:

<SCRIPT LANGUAGE="JavaScript" SRC="<full server path>/myscript.js"></SCRIPT>

That way I can do JS editing using an SCP connection and simply reload the form to take the changes.
The administrator has disabled public write access.

Re: External Javascript files 12 years 6 months ago #15172

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
Hello,

You can try using something like this in the "Scripts called on form display area":
$document = &JFactory::getDocument();
$document->addScript( 'path/to/file/here.js' );
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!