I am Uploading both data and files in one form using Ajax as given answer in the post Uploading both data and files in one form using Ajax?
I need to display the response in the alert as shown below
file uploaded successfully
Thanks for uploading
But i am getting response as file uploaded successfully<br/>Thanks for uploading
So, can any one tell me how to get the response without any html tags..
`s? – Pekka Apr 30 '13 at 07:27
` if you don't want them? If it's sending HTML, you should use `.html()` to display it, not `.text()`. – Barmar Apr 30 '13 at 07:51
Thanks for uploading** comes from? maybe you should trace where you've echoed it an modify it from there. – Þaw Apr 30 '13 at 08:20