...
You could use AJAX to get things from/to PHP, but why should
you? You can use session within javascript too i believe.
Tijnema
ps. Maybe you could also use AJAX instead of submitting forms the
whole time.
...
Really, it's not that hard to use AJAX. You might want to
On 4/16/07, Tim [EMAIL PROTECTED] wrote:
...
You could use AJAX to get things from/to PHP, but why should
you? You can use session within javascript too i believe.
Tijnema
ps. Maybe you could also use AJAX instead of submitting forms the
whole time.
...
Really, it's not that
The weather in here gets stormy easily i see :D
Anyways thanks Richard, that's the kind of idea i was orginally looking for,
before opting for the ajax way, which is only going to optimize my
application more and give me more flexibility in doing what i need.
Have looked up javascript and DOM and
Richard Lynch wrote:
On Fri, March 30, 2007 12:13 pm, Juergen Wind wrote:
Tijnema ! wrote:
You can use session within javascript too i believe.
no, sessions are completely serverside, but you can use js to pass
variables
using the query string when sending a xmlHttpRequest.
Tijnema ! wrote:
On 3/30/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tim wrote:
...
personally I prefer JSON formatted data, for which there are even a
couple of
functions available in newer versions of php (otherwise you can find
code on the net
easily enough to handle JSON data
On 3/31/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tijnema ! wrote:
On 3/30/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tim wrote:
...
personally I prefer JSON formatted data, for which there are even a
couple of
functions available in newer versions of php (otherwise you can find
On 3/31/07, Tijnema ! [EMAIL PROTECTED] wrote:
On 3/31/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tijnema ! wrote:
On 3/30/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tim wrote:
...
personally I prefer JSON formatted data, for which there are even a
couple of
functions
Tijnema ! wrote:
On 3/31/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tijnema ! wrote:
..
'processing' JSON formatted data is a matter of running a single eval()
line in javascript!?!
just outputting HTML directly into a div is useful in many simple
situations but it doesn't leave a whole
On Fri, March 30, 2007 9:45 am, Tim wrote:
My issue is on page reload, i have a form on the same page, when a
category
is clicked, the categorie info displays and you can update the info
through
this form (table and form on same page). My issue comes when i post
the
data, the page comes
On Sat, March 31, 2007 4:11 am, Tijnema ! wrote:
I've did a few test on this PC(AMD64 3200+), it's running EasyPHP
(Apache+PHP+MySQL), and it shows me that PHP is about twice as fast
then Javascript.(Tested using IE6, FF wasn't working because script
took too long to execute, which generates
On Fri, March 30, 2007 12:13 pm, Juergen Wind wrote:
Tijnema ! wrote:
You can use session within javascript too i believe.
no, sessions are completely serverside, but you can use js to pass
variables
using the query string when sending a xmlHttpRequest.
[pedantic]
Actually, the cookie for
On 3/30/07, Tim [EMAIL PROTECTED] wrote:
Hello all,
I have a little dilemna here:
I am using php/css/mysql to generate a hierarchical table of categories and
sub-categories and sub-sub.. Etc..
A screenshot can be found here:
http://www.internet46.fr/mehim/screenshot.jpg
Now i'm also using
-Message d'origine-
De : Tijnema ! [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 30 mars 2007 16:56
À : Tim
Cc : php-general@lists.php.net
Objet : Re: [PHP] Saving css state in javascript and passing
to php via form submit
On 3/30/07, Tim [EMAIL PROTECTED] wrote:
Hello all,
On 3/30/07, Tim [EMAIL PROTECTED] wrote:
-Message d'origine-
De : Tijnema ! [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 30 mars 2007 16:56
À : Tim
Cc : php-general@lists.php.net
Objet : Re: [PHP] Saving css state in javascript and passing
to php via form submit
On 3/30/07, Tim
-Message d'origine-
De : Tijnema ! [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 30 mars 2007 17:06
À : Tim
Cc : php-general@lists.php.net
Objet : Re: [PHP] Saving css state in javascript and passing
to php via form submit
On 3/30/07, Tim [EMAIL PROTECTED] wrote:
On 3/30/07, Tim [EMAIL PROTECTED] wrote:
-Message d'origine-
De : Tijnema ! [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 30 mars 2007 17:06
À : Tim
Cc : php-general@lists.php.net
Objet : Re: [PHP] Saving css state in javascript and passing
to php via form submit
On 3/30/07, Tim
I think you want to use sessions for this :)
Ok, i can put the data in the session variable, but i can
only get the
current state through javascript
ie:onsubmit=getstate(); which would get the id's of the
blocks that
are set to display:block;
But in
It's not too hard, but if you already did a lot of work on
the form processing, you prefer not to write it all over
again i think ;)
Actually thanx, that solves my problem if i process my forms/table clicks
the ajax way i wont have to reload the page and that takes care of storing
the
Tijnema ! wrote:
You can use session within javascript too i believe.
no, sessions are completely serverside, but you can use js to pass variables
using the query string when sending a xmlHttpRequest.
--
View this message in context:
Tim wrote:
I think you want to use sessions for this :)
Ok, i can put the data in the session variable, but i can
only get the
current state through javascript
ie:onsubmit=getstate(); which would get the id's of the
blocks that
are set to display:block;
But in getstate() how do i
On 3/30/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tim wrote:
I think you want to use sessions for this :)
Ok, i can put the data in the session variable, but i can
only get the
current state through javascript
ie:onsubmit=getstate(); which would get the id's of the
blocks that
are
21 matches
Mail list logo