[FX.php List] [OFF] JQuery question

Ted Stein tstein at innerfile.com
Sun Feb 2 11:54:42 MST 2014


Perhaps a silly question, but: Is jQuery included? Have you tried it with just the alert?

Also, if this is responding to a post, why don't you do the redirect on the PHP side?

Ted Stein
Inner File Software

tstein at innerfile.com
Mobile: (202) 270-6665
Office: (202) 630-FILE

On Feb 2, 2014, at 1:23 PM, Bob Patin <bob at patin.com> wrote:

> OK listers, I have a page I want to load AFTER a POST has been completed; because this is a simple file upload that I’m adding JQuery to, I really don’t want to redo the POST; plus, I wasn’t able to use the normal JQuery method for submitting a POST form and get the image file.
> 
> At any rate:
> 
> User submits form; I want to then go to a subsequent page, so I put this below my PHP:
> 
> <script type="text/javascript">
> 
> $.ready(function(){
> 		alert('test');
> 		$('.main').load('instructor_upload_result.php');
> });
> 
> </script>
> 
> I tried also using $(document).ready(function(){
> 
> but it didn’t work either.
> 
> Any ideas?
> 
> Thanks,
> 
> Bob
> bob at patin.com
> 
> 
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list