[Proto-Scripty] Problem with Ajax.Updater...

2009-06-02 Thread partypeopl...@gmail.com
Hello shiny people!! :) can somebody understand as to why this code doesn't work on IE and Opera, while working fine in other browsers? function commentUpdate(){ // finally prepare data and make a new AJAX call... var updatedata = document.getElementById('updatedata').value; var

[Proto-Scripty] Re: Problem with Ajax.Updater...

2009-06-02 Thread partypeopl...@gmail.com
@Alex I encodeURIComponent them now, thanks for suggestion notice that when you are sending the key values with the url, they get caught as $_GET, no matter if you use {method: 'post'} (!) @T.J. all your assumptions are right ;) anyway, if you add some alerts to see what's going on like this:

[Proto-Scripty] Re: Problem with Ajax.Updater...

2009-06-02 Thread partypeopl...@gmail.com
Hello Alex, no I didnt have a trailing comma after the closing bracket, because there is no closing bracket there! syntax: Ajax.Updater(container, url[, options]) quoting my line of code: var myAjax = new Ajax.Updater (target, url, { /* opening bracket for options...

[Proto-Scripty] Re: Problem with Ajax.Updater...

2009-06-02 Thread partypeopl...@gmail.com
ok, I tried your suggestion but this doesn't work at all have you ever tried the syntax you are suggesting? Because I think it's wrong... Caught also in FF's error console as: Error: missing } after property list Source File:

[Proto-Scripty] Re: Problem with Ajax.Updater...

2009-06-02 Thread partypeopl...@gmail.com
ok, I tried your suggestion but this doesn't work at all have you ever tried the syntax you are suggesting? Because I think it's wrong... Caught also in FF's error console as: Error: missing } after property list Source File: Line: 52, Column: 94 Source Code: var myAjax =

[Proto-Scripty] Re: Problem with Ajax.Updater...

2009-06-02 Thread partypeopl...@gmail.com
@T.J. I didn't say it's not valid, but Alex was suggesting to omit the comma before onComplete, which is not valid. I tried step #3, but in a very smaller scale and it works. I can't add all the code needed to replicate, this would take pages! @Rick That's what I was trying to say to Alex too