Just want to insert the "%" sign after the text box. I have already a sample code I used on other question type. But this one is not working . See attached file
Here's my code
jQuery("#"+this.questionId+" .TextEntryBox .InputText").css("width","96%").after(" %");
Here's the code in the inspect element:
From this
To this
Use the below code:
jQuery("#"+this.questionId+" .TextEntryBox.InputText").css("width","96%").after("%");
https://community.qualtrics.com/XMcommunity/discussion/comment/50346#Comment_50346Your code is same as mine above. This code wont work. Thank you for your response.
https://community.qualtrics.com/XMcommunity/discussion/comment/50348#Comment_50348There should be no space between .TextEntryBox and .InputText
https://community.qualtrics.com/XMcommunity/discussion/comment/50350#Comment_50350it works now. Thank you Shashi
https://community.qualtrics.com/XMcommunity/discussion/comment/50346#Comment_50346how about for this html code. Which selector will I be using?
https://community.qualtrics.com/XMcommunity/discussion/comment/50355#Comment_50355jQuery("#"+this.questionId+" .InputText").css("width","96%").after("%");
Try the above.
Thank you so much Shashi for continuously helping out the community and providing a working solution!
Thank you!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.