Skip to content Skip to sidebar Skip to footer

Unable To Print The Variable Passed From View To Template

I am trying to pass the variable ,I am obtaining from view to the template but it is showing in the preview of the web-browser(chrome) but not on actual screen. Following is my vie

Solution 1:

You're getting the response via Ajax but you're not doing anything with it. Your success function needs to insert the content into the page somehow.

To be honest, I don't see why you use Ajax here at all; if you removed the JS code and just let your form do a POST directly it would work fine.

Post a Comment for "Unable To Print The Variable Passed From View To Template"