Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-04-16 Thread Tijnema !
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. ... > Real

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-04-16 Thread Tim
... > 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 mi

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-04-03 Thread Tim
#x27;m more familiar with your input i oppted for this list ;) Tim > -Message d'origine- > De : Richard Lynch [mailto:[EMAIL PROTECTED] > Envoyé : dimanche 1 avril 2007 07:39 > À : Tim > Cc : php-general@lists.php.net > Objet : Re: [PHP] Saving css state in javas

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-04-01 Thread Jürgen Wind
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 xmlHttpR

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Richard Lynch
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 co

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Richard Lynch
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 generate

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Richard Lynch
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 com

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Jochem Maas
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

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Tijnema !
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 > >> c

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-31 Thread Tijnema !
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 (otherwi

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Jochem Maas
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 t

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tijnema !
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 wou

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Jochem Maas
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

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Juergen Wind
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: http://www.nabble.com/Saving-css-state-in-javascri

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
> 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 cur

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread 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 > > >

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tijnema !
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 >

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread 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/0

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tijnema !
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 >

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
> -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/0

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tijnema !
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

[PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
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 javascript to hide show blocks of divs to hid