- Posts: 57
- Thank you received: 3
Ask the community, share ideas, and connect with other LimeSurvey users!
<script type="text/javascript" charset="utf-8"> $(document).ready(function() { var defaultText = '99'; $('#question{QID} tr[id^="javatbd335657X1520X5843999"]').each(function(i) { if($('input[type="text"]:eq(0)', this).val() == '') { $('input[type="text"]:eq(0)', this).val(defaultText)} if($('input[type="text"]:eq(1)', this).val() == '') { $('input[type="text"]:eq(1)', this).val(defaultText)} if($('input[type="text"]:eq(2)', this).val() == '') { $('input[type="text"]:eq(2)', this).val(defaultText)} }); }); </script>
$(' tr[id^="javatbd{SGQ}99"]').each(function(i) {
i'm so sorry for my languageBe more clear on your need please
.