how to write the script path in LS?

More
3 years 5 months ago #109471 by iscar
iscar created the topic: how to write the script path in LS?
i add js as <script src="scripts/testjs.js", it's OK.
i add ajax as $.post('scripts/testphp.php', it's NOT OK.
WHY?
The topic has been locked.
More
3 years 5 months ago #109532 by iscar
iscar replied the topic: how to write the script path in LS?
maybe it's bug
The topic has been locked.
More
3 years 5 months ago #109548 by DenisChenu
DenisChenu replied the topic: how to write the script path in LS?
Not a bug,
You need to put the complet link to your test.php, for example:

$.post('/lsdir/scripts/testphp.php',

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The topic has been locked.
More
3 years 5 months ago #109571 by tpartner
tpartner replied the topic: how to write the script path in LS?
Seems to me that I have already answered this - www.limesurvey.org/en/forum/design-issue...ll-php-script#109402

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
3 years 5 months ago #109588 by DenisChenu
DenisChenu replied the topic: how to write the script path in LS?
Thanks Tony, then close this one.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!