作者:_子竹_ | 来源:互联网 | 2023-05-17 13:50
ihavethiscodeinjavascriptwhereinicanpostsuccessfullyontheserver.我在javascript中有这个代码,我可以
i have this code in Javascript wherein i can post successfully on the server.
我在Javascript中有这个代码,我可以在服务器上成功发布。
$('', {
"name": "postticket",
"method": "POST",
"html": 'input type="text" id="task_name" name="task[name]" value="' + model.subject + '"
input type="text" id="submitted" name="submitted" value="submitted"',
"action": model.url
}).appendTo(document.body).submit()
The result of this one redirects me to a page containing the id of the newly data i have posted.
这个结果将我重定向到一个页面,其中包含我发布的新数据的ID。
Now, what I want is to get the data of the page where i am redirected to when i hit the submit function.
现在,我想要的是获取当我点击提交功能时我被重定向到的页面的数据。
How to do that? please help.
怎么做?请帮忙。
Note: special tags like >are removed since it cannot be viewed.
注意:由于无法查看特殊标记(如),因此会将其删除。
1 个解决方案