2009年7月15日星期三

[fw-mvc] Popup Window

Hi all, I am having some problems when i tried to use popup windows with zend.

Here is my problem:

I have a form with two fileds, for ex. <input name="text1" ...> <input
name="text2" ...>
And use Javascript to put a popup window and select de value on the
text with <A HREF="" onClick="popup()" >

But when I clic on the link and appears the popup window the main
window refresh and all the values that I had desappear!

And another example, I select a value in the text1 it works fine, but
when I clic in the other field to fill the value with the popup window
the vlaue in text1 is no more.

Hope that you can help me and sorry for my poor english!

Regards!

没有评论: