|
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]
|