Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
show error in pop up window
Rajkumar Surabhi
1/23/2009 11:17:00 AM
Hi all,
In my project ,there is login page.After entering login details
checks for login,if success goes to other page. if no userfound it
displays
error message by using flas[:notice]. i want to show the messaage in
alertbox
or popupwindow.
Please help me how to do this..
Raju
--
Posted via
http://www.ruby-...
.
1 Answer
Brian Candler
1/23/2009 2:33:00 PM
0
Rajkumar Surabhi wrote:
> In my project ,there is login page.After entering login details
> checks for login,if success goes to other page. if no userfound it
> displays
> error message by using flas[:notice]. i want to show the messaage in
> alertbox
> or popupwindow.
>
> Please help me how to do this..
You might be able to do this using AJAX, where the server sends back
some Javascript to execute in the browser.
In your message you say absolutely nothing about your environment.
However, the mention of flas(h)[:notice] suggests you are using Rails.
In that case, I'd say that the Rails mailing list is an appropriate
place to ask the question.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
show error in pop up window
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password