Or maybe it chokes because you're not defining your variables with
var?
IE doesn't like that..

if(customerEdit) {
var actionMenuString = '<li><a id="'+customerID+'"
class="editCustomerLink" href="">Edit Account Data</a></li>';
}

if(customerDelete) {
var actionMenuString = actionMenuString + '<li><a id="'+customerID+'"
class="deleteCustomerLink" href="">Delete Account Data</a></li>';
}

//actionMenuString = actionMenuString; (don't need to set the variable
to itself)

$('workspaceActionMenu').set('html',actionMenuString);

Hope that helps..

On Mar 17, 12:44 pm, Fábio Costa <[email protected]> wrote:
> if(customerEdit) {
> actionMenuString = '<li><a id="'+customerID+'" class="editCustomerLink"
> href="">Edit Account Data</a></li>';
>
> }
>
> if(customerDelete) {
> actionMenuString = actionMenuString + '<li><a id="'+customerID+'"
> class="deleteCustomerLink" href="">Delete Account Data</a></li>';
>
> }
>
> Maybe the quotes for the id is missing and IE is making his usual noise.
> I've put them in red so you could see it easyer...
> Try this and give us a response.
>
> Fábio Miranda Costa
> Engenheiro de Computaçãohttp://meiocodigo.com
>
>
>
> On Mon, Mar 16, 2009 at 3:26 PM, David Hinckle <[email protected]> wrote:
>
> > Guys, I'm using mootools-1.2.1-core and still having problems with
> > Element.set('html','') in IE. The following (condensed from actual)
> > works fine in FF but chokes with 7.0:
>
> > if(customerEdit) {
> > actionMenuString = '<li><a id='+customerID+' class="editCustomerLink"
> > href="">Edit Account Data</a></li>';
> > }
>
> > if(customerDelete) {
> > actionMenuString = actionMenuString + '<li><a id='+customerID+'
> > class="deleteCustomerLink" href="">Delete Account Data</a></li>';
> > }
>
> > actionMenuString = actionMenuString;
>
> > $('workspaceActionMenu').set('html',actionMenuString);
>
> > Hope this makes sense... Does anyone have a SOLUTION???

Reply via email to