最佳答案
我尝试在 jquery 函数中访问 post target 操作。
例如:
<form action="/page/users" id="signup" method="post">
在本例中,我想访问“ action”部分-“/page/users”。
$('#signup').live("submit", function(event) {
// get this submitted action
}
看来我错过了一些很简单的东西。我在 dom 中看到了这个值,但不知道它存储在 jquery 中的哪个位置。
谢谢!