xajax: append form fields and firefox

by prettyscripts on 2009-09-15 14:43:56 • Leave a comment »

phphtmlxajax

a case that works in IE but not firefox. supposed there’s form with a few fields. a button to manually adding more fields to the form. these fields are grouped under the same <div> tag. when the fields are added to the form, the original field va… more »

Tags: append, field, form, php, xajax

xajax and radio buttons

by prettyscripts on 2008-10-24 10:28:53 • Leave a comment »

htmlxajax

to display a group of choices to select-only-one as radio buttons, the name and id parameters must be the same for all <input>. the html code: <input type="radio" name="option" id="option" value="1" onclick="xajax_click(this.value);" checke… more »

Tags: form, radio button, xajax

xajax and checkbox

by prettyscripts on 2008-07-03 12:16:33 • 1 comment »

miscjavascripthtmlxajax

in one of the forms i work on, i need to set other form fields based on the value of a checkbox. the value this.checked was passwd a parameter to xajax function.<input type="checkbox" name="checkbox1" id="checkbox1" value="Y" onClick="xajax_functi… more »

Tags: checkbox, form, xajax

xajax: submit disabled fields

by prettyscripts on 2008-06-30 14:15:50 • Leave a comment »

javascriptxajax

by default xajax.getFormValues does not pass values from disabled fields. as previously noted, it is browser standard not to submit disabled fields. with xajax.getFormValues(), disable field can still be submitted. by setting 2nd optional parameter to… more »

Tags: disabled field, form, submit, xajax

tinymce and xajax: data in the editor is not submitted

by prettyscripts on 2008-06-23 15:44:11 • Leave a comment »

javascriptxajaxtinymce

i just downloaded and installed tinymce which magically converted the <textarea> element into a nice little editor, which suppose transform the input into html output. nice! no more educating non-programmers about html tags. if you submit the for… more »

Tags: form, post, submit, textarea, tinymce, xajax