this related previous question asked: hide / show multiple divs i have code in place previous question , seems work ok apart when change value in dropdown "after" ticket selection made. i have number of javascrpts in place wondering if there clash somewhere? first bit of code in head of document. <head> <script type="text/javascript"> $(function() { $('.cat_dropdown').change(function() { $('#paymethod').toggle($(this).val() >= 2); }); }); </script> <script type="text/javascript"> $(document).ready(function () { $(".paymentmethod").click(function () { $(".paymentinfo").hide(); switch ($(this).val()) { case "credit card authorisation": $("#pay0").show("slow"); break; ...
i need correcting code because prints out weird stuff. i used wireless tools , iwlib.h scan wireless networks , essids. when use: printf("network name %s:", result->b.essid); then works charm , prints name out me. however, want convert char can later send on buffer through network. (unless can send results , "name extraction" can happen on other side? or not possible?) see sample code below (not full code) of how attempt random characters result. wireless_scan_head head; wireless_scan *result; iwrange range; while(result != null) { char *network; network = result->b.essid; int k; int size = strnlen(result->b.essid); printf("\n network essid:"); for(k=0; k<=size; k++) { printf("%c", network[k]); k++; } result = result->next; } thanks help! just formalize things... you're incrementing k inside loop in declaration. outputting every other character ...
Comments
Post a Comment