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 1 month 1 week ago #112376

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
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 1 month 1 week 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 1 month 1 week 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 1 month 1 week 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 1 month 1 week ago #112395

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
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 1 month 1 week ago #112398

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