javascripts to hide the navigation buttons not working.

More
2 years 8 months ago - 2 years 8 months ago #111687 by kingmaker
kingmaker created the topic: javascripts to hide the navigation buttons not working.
Hello,

I have the mock survey live at Demo.limesurvey.org/index.php?r=survey/index/sid/755819/lang/en

When u end up in the "Not Eligible Page" ... which can be reached by "NOT" selecting Facebook as an option in the screening page.

I have written the Javascript to hide previous and Submit button in the "Not Eligible" page. But they are not working like before for Some reasons.

Can anyone help me with this issue.

The Code which I have written to hide the buttons are something like :
<script type="text/javascript" charset="utf-8">	
	$(document).ready(function() {
		$("#clearall").hide();
                $("#moveprevbtn").hide();
                $("#movesubmitbtn").hide();
 
	});	
</script>

Thanks in advance,

Kingmaker and Veera
Last Edit: 2 years 8 months ago by kingmaker. Reason: Spelling

Please Log in to join the conversation.

More
2 years 8 months ago #111688 by tpartner
tpartner replied the topic: javascripts to hide the navigation buttons not working.
I don't see the script anywhere in the source code of that page. Where did you insert it?

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
2 years 8 months ago #111700 by kingmaker
kingmaker replied the topic: javascripts to hide the navigation buttons not working.
Demo.limesurvey.org/index.php?r=survey/index/sid/653814/lang/en


In this survey, in the "Not Eligible" question group, The script can be seen if you click on Source.

Please Log in to join the conversation.

More
2 years 8 months ago #111701 by kingmaker
kingmaker replied the topic: javascripts to hide the navigation buttons not working.
pastebin.com/XmAtFLg3 is the script though.

Please Log in to join the conversation.

More
2 years 8 months ago #111704 by tpartner
tpartner replied the topic: javascripts to hide the navigation buttons not working.
I still don't see that script anywhere in the source.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
2 years 8 months ago #111710 by Mazi
Mazi replied the topic: javascripts to hide the navigation buttons not working.
I am not sure why but the script from the group description is not embedded at the page's HTML.

Try pasting it into the question directly.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
2 years 8 months ago #111803 by Bigred01
Bigred01 replied the topic: javascripts to hide the navigation buttons not working.
Try it in the question help text for that page instead of the group.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.