Re: ASB failed in processOptions's on IE
Re: ASB failed in processOptions's on IE
- Subject: Re: ASB failed in processOptions's on IE
- From: Chuck Hill <email@hidden>
- Date: Mon, 25 Oct 2010 15:46:45 -0700
On Oct 25, 2010, at 3:21 PM, Kai S. Wong wrote:
> Hi,
>
>
> I am trying to debug on why the ASB failed on IE but not on Firefox and here is the sample code:
>
> <script type = "text/javascript">
> var saveOnSubmit = function() {
> $('bodyText').form.stopObserving('ajax:submit', arguments.callee);
> };
>
> var updateTinyMCEContent = function() {
> tinyMCE.triggerSave(true, true);
> return true;
> };
> </script>
>
> <wo:WOForm multipleSubmit = "$true">
> <wo:WOText value = "$myText" cols = "$92" rows = "$30" id = "bodyText" name = "bodyText"/>
> <wo:AjaxSubmitButton id="Preview" onSuccess="function(r){ iBox.show(r.responseText , \"Letter Preview\", iBox.parseQuery('ibox&height=600&width=630&closeLabel=Close+me')); }" onClickBefore="updateTinyMCEContent()" action="$previewJPGAction" value="Preview" />
> </wo:WOForm>
>
> I am getting "Object doesn't support this property or method" on wonder.js 406 on $(form).fire('ajax:submit'); on IE.
> Could someone shed some light on this issue?
When I have seen that before, it means that "this object has not been extended by Prototype yet". Wrapping the offending element in $() fixed the problem for me. I don't see where this is happening to you. It might be the form here:
> $('bodyText').form.stopObserving('ajax:submit', arguments.callee);
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden