pp wrote:

> Hi everyone!
> 
> I wonder how to solve such problem:
> I got few page elements:
> <[pe1]>
> <[pe2]> - this one has to be changed all the time You enter the site
> ......... bla bla
> if ($action == 'some_action'){
> <[pe1]>
> } 
> 
> when some_action is true it is made, but <[pe2]> is unchanged till reload.
> I posted it some months ago , but then I had a problem with forms and submit
> and I fixed it with ACTION="../the_page_where_i_am". This work great.
> Header Location seems not to be working , cause it should be sent before 
> any headers. (Am I right?)

Yes.

> Has anyone has a solution for this?
> Javascript isn't good for that.

If you want to have it change without a page reload, you'll have to
use javascript. You could include all the possible elements and juggle
them using javascript. Sorry, no details, as I am not a javascript
expert by any means.

Emile


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to