You are here: Re: php rawurldecode from javascripts' escape() « PHP Programming Language « IT news, forums, messages
Re: php rawurldecode from javascripts' escape()

Posted by Chung Leong on 10/30/05 20:31

swayze wrote:
> thanks for the replies. I'll try using encodeURIComponent() and hope
> for the best. However, if this does not solve my problem, this form on
> the fly, what did you have in mind? (Please bear with me. I'm originaly
> a .net programmer :-S )

Well, you would have a form with a hidden fields. Set the target of the
form to the frame you want, set the fields to the correct values, then
call submit() to send it. If the method is GET, then it's equivalent to
doing a location = <url>.

> I've considered updating the right frame
> only using javascript, but found that building complex table structures
> only using javascript and DOM with tds able to respond to javascript
> events a little too challenging.

It's not that hard really. The trick is to not try to construct the
page programmatically. Instead, build the HTML of the page as through
you'd on the server side, then do document.open(),
document.write(html), and document.close().

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация