Welcome, Guest
Username: Password: Remember me

TOPIC: how to write the script path in LS?

how to write the script path in LS? 5 months 3 weeks ago #109471

  • iscar
  • iscar's Avatar
  • OFFLINE
  • Gold Lime
  • Posts: 216
  • Thank you received: 1
  • Karma: 0
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.

how to write the script path in LS? 5 months 3 weeks ago #109532

  • iscar
  • iscar's Avatar
  • OFFLINE
  • Gold Lime
  • Posts: 216
  • Thank you received: 1
  • Karma: 0
maybe it's bug
The topic has been locked.

how to write the script path in LS? 5 months 3 weeks ago #109548

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
Not a bug,
You need to put the complet link to your test.php, for example:

$.post('/lsdir/scripts/testphp.php',
The topic has been locked.

how to write the script path in LS? 5 months 3 weeks ago #109571

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4371
  • Thank you received: 829
  • Karma: 381
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The topic has been locked.

how to write the script path in LS? 5 months 3 weeks ago #109588

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 869
  • Karma: 257
Thanks Tony, then close this one.
The topic has been locked.
Moderators: ITEd
Time to create page: 0.103 seconds
Donation Image