jQueryPlugins icon indicating copy to clipboard operation
jQueryPlugins copied to clipboard

input with no 'type' attr values are not rendered in the print output

Open jojosati opened this issue 13 years ago • 1 comments

like issue #1 that closed, but mine is input tag with no 'type' attribute

I can solve by change the selector from

    //simple text inputs
    $("input[type='text'])", $element).each(function () {
        this.setAttribute('value', $(this).val());
    });

to

    //simple text inputs
    $("input[type='text'],input:not([type])", $element).each(function () {
        this.setAttribute('value', $(this).val());
    });

thank you for this great job. Sathit

jojosati avatar Jul 11 '11 21:07 jojosati

Thanks Sathit, will be fixed in next release

erikzaadi avatar Jul 12 '11 13:07 erikzaadi