Skip to content

Ajax form via remote submit button.#183

Closed
plukevdh wants to merge 2 commits intorails:masterfrom
crunchy:master
Closed

Ajax form via remote submit button.#183
plukevdh wants to merge 2 commits intorails:masterfrom
crunchy:master

Conversation

@plukevdh
Copy link

I've run into a few situations where I want one submit button to submit via ajax and the other to submit via vanilla HTTP post. Submitted is a simple change to allow this to happen by simply adding the data-remote tag to the submit button of choice.

@JangoSteve
Copy link
Member

I'm having problems understanding the code in this pull request.

I don't see anywhere in the code that actually even checks to see if the data-remote attribute is set on the button. Also, the test case that was provided causes a parsing error in IE. I've tried to refactor things a bit, but I think I just don't understand what's supposed to be happening.

@JangoSteve
Copy link
Member

I'm going to go ahead and close this since nothing is happening with it and I don't really understand it. If anyone comes across this and is able to shed some light on it, let me know and I'll re-open it.

@JangoSteve JangoSteve closed this Oct 3, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants