Hi!
Im trying to put few predefined comments in order page in admin like Shipping done by XX shipper etc. For that im using below given code & its working in plain test .htm file, but not in actual orders page. Unable to understand where im going wrong.
orders.php in <head> section
orders.php in <body> sectionCode:<script type="text/JavaScript"> function showText(){ var F, opt; F = document.oForm; opt = F.commentsPopulate.options; F.comments.value = opt[opt.selectedIndex].text; } </script>
~TimeCode:<?php echo zen_draw_textarea_field('comments', 'soft', '60', '5'); ?> ......................................... <select name="commentsPopulate" onchange="showText()"> <option value="test1">test1</option> <option value="test2">test2</option> <option value="test3">test3</option> <option value="test4">test4</option> </select>


Reply With Quote
