javascript - modify small line in java script code -
here code sender file , if want send text field value (sms_name) 1 html html , how u can modify code send 3 test
value(sms_name,sms_number,sms_text); html file code (sender): var sms_txt=get_the_value('messages'); var sms_number=document.getelementbyid('recepient-number').value; var sms_name= document.getelementbyid('recepient-name').value; // plz modify line down send more 1 text field vlaue window.location.href = 'activity_log.html?sms_name=' + sms_name ;
window.location.href = 'activity_log.html?sms_name=' + sms_name + '&sms_number=' + sms_number + '&sms_txt=' + sms_txt;
Comments
Post a Comment