Page 1 of 1

How do I open a popup box on clicking a link?

Posted: Thu Jul 04, 2013 12:29 pm
by Rahul Chidgopkar

Hi,

In my mobile web project, I need to provide a link next to a select menu to allow users to add a new location. On clicking the link, I want to open a popup box which will allow users to fill up some fields and save to DB.

I tried using the Link component but it asks me to specify a URL. How do I get the URL to open a pop up box or navigate to a page in the app? I do not wish to hard code the URL.

Thanks,
Rahul.


How do I open a popup box on clicking a link?

Posted: Thu Jul 04, 2013 1:00 pm
by Maryna Brodina

Hello! You can style for example Label component as link (using CSS) and open popup on Label click.


How do I open a popup box on clicking a link?

Posted: Fri Jul 12, 2013 5:46 pm
by Ian Hancock

I think it would be a good enhancement to enable # to be entered as the URL on the link. You can then use the click event.

Regards
Ian