On 16/11/06, Sam Collett <[EMAIL PROTECTED]> wrote:
> To answer my own question, creating an iframe containing a form and
> then submitting the form works as I want it to. No AJAX needed:
>
> var records = $("<input>").attr(
> {
> //"type": "hidden", // doesn't work in IE
> "name": "records",
> "value": checkedItems
> });
The above worked in IE, not Firefox (for some reason value wasn't
being set if type wasn't defined), so had to do it this way:
var records = $("<input type=hidden>").attr(
{
"name": "records",
"value": checkedItems
});
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/