Place Check Button , beside answer Text input

More
4 years 3 months ago #96333 by king_and1
king_and1 created the topic: Place Check Button , beside answer Text input



Hello , Do you know how to achieve this ?

If i put it in the answers div, the button will be shwon on every question , but i only want it on this question.

I´ve managed it with putting it in the question help text , but it would be nice to have this button right by the answer input.

Thanks
Attachments:

Please Log in to join the conversation.

More
4 years 3 months ago #96340 by tpartner
tpartner replied the topic: Place Check Button , beside answer Text input
Try this (assuming "53" is your question ID):
<script type="text/javascript" charset="utf-8">	
	$(document).ready(function() { 
 
		$('#question53 input[type="text"]').before('<input onclick="myCall()" type="button" value="Check" />');
 
	});
</script>

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: king_and1

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now