Page jump problem
吥离吥弃
吥离吥弃 2018-03-06 22:46:04
0
6
1247

I want to jump to the add page after clicking to add student information

吥离吥弃
吥离吥弃

reply all(4)
段旭涛

http://www.builive.com/apps/default/main.html#form/grid

http://www.builive.com/apps /default/main.html#form/dialog-grid

These two pages should be able to give you some help.

If you want to write it yourself, look up "updating data without refreshing" in the search engine, there will be a lot of documents.

吥离吥弃

<a href="">After adding student information</a> the page you will be redirected to after clicking is on this page, what should I do

  • reply A simple a tag cannot be used here. To use js The reply on this page now has an effect. The difference is that this form is relatively simple.
    段旭涛 author 2018-03-07 10:47:19
段旭涛

Click edit to pop up a pop-up window where user information can be edited, and use ajax to submit user information

炎

Add using ajax

  • reply How to add it, I wrote it in html
    吥离吥弃 author 2018-03-07 10:16:07
  • reply Import the jquery file and then look at the jquery manual to find the ajax part and add it. Get form value var customername = $(this).val(); parameters passed var data = {'customername':customername} $.ajax({ type: "POST", Execute the added method path url: "url", added data data: data, dataType:'json', success: function(msg){ The return value determines success. Refresh the page. } });
    author 2018-03-07 14:24:40
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template