davej Posted January 30, 2015 Share Posted January 30, 2015 I was reluctant to get involved in this thread because my jQuery skills are limited, however you do not seem to be approaching this in a logical manner. For example, what are these two html files you are loading? You have not shown them to us. Have you tried loading simpler, smaller test files? Can you boil this down to a simple test-case where the code is so simple and small that you could show us all of it? Replace "heard_size.html" with a simpler, smaller file. Link to comment Share on other sites More sharing options...
thescientist Posted January 30, 2015 Share Posted January 30, 2015 Most importantly it seems is that the OP should not be relying on their editor to give rendering / preview feedback that they should be getting from a browser instead. It seems they are relying on the "magic" this editor is providing rather than the "real" runtime environment the browser provides. Forget what your editor is telling you, and focus instead on what the browser tells you. That is what the end user is going to be using anyway, might as well cut out the middleman. Link to comment Share on other sites More sharing options...
mfarrell Posted January 30, 2015 Author Share Posted January 30, 2015 I was reluctant to get involved in this thread because my jQuery skills are limited, however you do not seem to be approaching this in a logical manner. For example, what are these two html files you are loading? You have not shown them to us. Have you tried loading simpler, smaller test files? Can you boil this down to a simple test-case where the code is so simple and small that you could show us all of it? Replace "heard_size.html" with a simpler, smaller file. one could substitute any html page for those listed in the code. the issue is the dairy planner html loads.... the heard sizer does not, yet the alert does alert...so part of it is firing. It may not be 'good' or 'proper', I may just wind up dumping all of it into a single document and formatting it after I know the pieces work as desired. However I was attempting to do this as neatly as possible from the start....in this case eloquence my die for effectiveness. Link to comment Share on other sites More sharing options...
Ingolme Posted January 30, 2015 Share Posted January 30, 2015 Check the Network tab in the developer tools (usually accessible by pressing F12) to see if the request is being sent out and what the response is. Link to comment Share on other sites More sharing options...
davej Posted January 31, 2015 Share Posted January 31, 2015 one could substitute any html page for those listed in the code. But have you actually tried a different file or files? the issue is the dairy planner html loads.... the heard sizer does not, yet the alert does alert...so part of it is firing.. So obviously there is something wrong with your heard_sizer.html file, right? Link to comment Share on other sites More sharing options...
mfarrell Posted February 2, 2015 Author Share Posted February 2, 2015 OK, I got that part solved...I had the file open in an editor and it wouldn't load. I'm assuming a file sharing issue. Thanks to all that helped! Link to comment Share on other sites More sharing options...
davej Posted February 2, 2015 Share Posted February 2, 2015 File sharing -- yeah I didn't think of that -- I had a recent problem with that when I enabled the preview pane in the Win7 file explorer -- which is insane. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now