On Jul 26, 5:26 pm, "Alex McAuley"
wrote:
> because its being sent as an array.. php cannot directly read javascript
> arrays and as such you have to json encode/decode it
Thanks Alex - I have not so far used json - can you suggest a good
site for help on this? Simple, sample code would be ver
> Is there a known problem and solution?
I have just realised that this problem is not due to any error in the
way I've coded my page as the same happens with this example
http://www.aldenta.com/examples/script.aculo.us/slider-standard.html
With Opera the handle is not in the centre for the lo
Alex,
It's just that wheb flaglast is true the code
new Ajax.Updater(
'updateDiv',
'fv-c1-arrays4-mysql-minus-wm.php',
{
asynchronous:true,
method:'post',
parameters: params
}
);
works fine and updates the mysql databas
gt; if(flaglast===true) {
> do some other stuff
>
> } else {
>
> alert("Oops something went wrong");
>
> }
>
> HTH
>
> Alex
>
> - Original Message -
> From: "geoffcox75"
> To: "Prototype & script.aculo.us"
>
ers
Geoff
> is false and flaglast is true. The alert holds back the second
> update, and so you see the result of the first one. Something along
> those lines.
>
> FWIW,
> --
> T.J. Crowder
> tj / crowder software / com
> Independent Software Engineer, consulting services
On Jul 11, 12:47 pm, geoffcox75 wrote:
> On Jul 11, 12:36 pm, "T.J. Crowder" wrote:
>
> > Hi Geoff,
>
> > My guess is that it's caused by something outside of the code you've
> > quoted. For instance, what's _calling_ that code? Given whe
Jul 11, 12:47 pm, geoffcox75 wrote:
> On Jul 11, 12:36 pm, "T.J. Crowder" wrote:
>
> > Hi Geoff,
>
> > My guess is that it's caused by something outside of the code you've
> > quoted. For instance, what's _calling_ that code? Given where th
sorry the error messages have gone - must have been a typo.
Geoff
On Jul 11, 1:34 pm, geoffcox75 wrote:
> Hello,
>
> the second keeps the php message on the screen but I now get an
> error message re prototype 1.6.0.3,
>
> in Firefox it is this.url.match is not a function
; In that case, change it to an Ajax.Request rather than an
> Ajax.Updater.
OK thanks
Geoff
>
> -- T.J.
>
> On Jul 11, 1:14 pm, geoffcox75 wrote:
>
> > On Jul 11, 12:47 pm, geoffcox75 wrote:
>
> > > On Jul 11, 12:36 pm, "T.J. Crowder" wrote:
>
>
On Jul 13, 8:22 am, "Alex McAuley"
wrote:
> Use php to get $_SERVER['REMOTE_ADDR'];
>
> No need to complicate matters
'just curious to see how to do this...
Cheers
Geoff
>
> - Original Message -
> From: "geoffcox"
> To: "Prototype & script.aculo.us"
> Sent: Monday, July 13, 2009 8
On Jul 13, 9:11 am, "Alex McAuley"
wrote:
> Its not possible in javascript afaik.
>
> The remote address must come from the server serving the page.
OK ...
Thanks
Geoff
>
> HTH
>
> - Original Message -
> From: "geoffcox75"
> To: &quo
On Jul 16, 7:51 pm, mr_justin wrote:
> > I have also a javascript variable called code_given - can I add this
> > to params? If yes, how?!
>
> params = $('name_form').serialize() + '&code_given=' + escape
> (code_given)
> // or
> params = $('name_form').serialize(true)
> params.code_given = cod
On Jul 16, 7:51 pm, mr_justin wrote:
> > I have also a javascript variable called code_given - can I add this
> > to params? If yes, how?!
>
> params = $('name_form').serialize() + '&code_given=' + escape
> (code_given)
> // or
> params = $('name_form').serialize(true)
> params.code_given = code_
> This doesn't work because you're assigning a property of the params
> object, then re-assigning the variable all together to the result of
> Form.serialize which is a string.
>
> --
>
> http://positionabsolute.net
>
> On Jul 16, 3:30 pm, geoffcox75 wrote:
&g
ers
Geoff
>
> > params.code_given = code_given;
> > params= $('name_form_fv_questionnaire').serialize(true);
>
> This doesn't work because you're assigning a property of the params
> object, then re-assigning the variable all together to the result of
> Form.se
15 matches
Mail list logo