Home > DeveloperSection > Forums > Required an alert of success or failure after form post
john rob

Total Post:108

Posted on    September-01-2014 12:05 AM


 1 Reply(s)
 946  View(s)
Rate this:

I have an input box and a html file uploader in my form. 

I want to submit the text of the input box and uploaded file which will be saved in database and then I need an success or failure alert in my html page. 

I've no idea how can I do this. I have already done the procedure of getting the post value and save it in database but I can't give any alert to my web page.net mvc3.

 I am using asp.net mvc3. Any kind of help will be appriciated.

Sumit Kesarwani

Total Post:378

Posted on    September-01-2014 12:46 AM

Hi John, 
try this:


                ("<script>alert('" + pageTable[page].Dequeue() + "');</script>");

Don't want to miss updates? Please click the below button!

Follow MindStick