ruby on rails - RoR call prompt in rjs -


In javascript, I can call this var retVal = prompt ("Enter new first name:");

How can I call the same prompt in RJ file

I used, page

  Pages & lt; & Lt; "Quick ('Enter new first name:');"  

Comments

Popular posts from this blog

google indexing -

java - using conditions in XPath expressions -

python - Define dtypes in NumPy using a list? -