Hi All,
I am trying to do the following with the question below -- create a random generator to include the ranges as following $50, $100, $200, $400, $800 -- in the question below:
Based on the selected level of support, would you be willing to pay $50 per hour?
This would need to be done Javascript but unclear how to proceed with the code -- any help or advice is greatly appreciated!
many thanks for your time,
Jeremy
Solved
Displaying a random number within a question
Best answer by TomG
HTML:
Based on the selected level of support, would you be willing to pay per hour?
onload JS:
var dollars = ["$50","$100","$200","$400","$800"];
jQuery("#dollars").text(dollars[parseInt("${rand://int/0:4}")]);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.




and then simply put the embedded data in the question.