Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Delete select options (dropdown list) via java script

Delete select options (dropdown list) via java script 2 weeks 5 days ago #112376

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6360
  • Thank you received: 826
  • Karma: 245
Why put if ?

You put this in question 894 source, not elsewhere.
The administrator has disabled public write access.

Delete select options (dropdown list) via java script 2 weeks 5 days ago #112378

Looks like I am missing something.... where exactly is the 'question source'?
I did that at templates/question.pstpl :(
The administrator has disabled public write access.

Delete select options (dropdown list) via java script 2 weeks 5 days ago #112379

AH! I found it! Place it at the editor itself!
Thanks~! Works perfectly!
The administrator has disabled public write access.

Delete select options (dropdown list) via java script 2 weeks 5 days ago #112384

No, {Q1.qid} became 'Undefined variable'.

Appreciate your swift response, Denis.
The administrator has disabled public write access.

Delete select options (dropdown list) via java script 2 weeks 5 days ago #112395

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6360
  • Thank you received: 826
  • Karma: 245
Q1 must be replaced by the first question code.

Updated exemple survey to show question code and the script.
The administrator has disabled public write access.

Delete select options (dropdown list) via java script 2 weeks 5 days ago #112398

Got it! Thanks again.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.109 seconds
Donation Image