Creating a Grail Jquery Modal Window and Form posting with ajax?

前端 未结 2 2026
谎友^
谎友^ 2021-01-22 16:29

I have the following code :


        
2条回答
  •  梦谈多话
    2021-01-22 17:00

    You can Use remote form or remote links, or ajax calls to interact with the controllers and you will be able to get the response back to your view, you can receive it in some other div.

    for example it can be done through remoteForm like below:

    On your view you can use remote form like:

        
           
    You will receive your response here

    This way you will be able to get the response back to your modal window.

提交回复
热议问题