Sorry, bad transcription. The original code had the correct parentheses.
Anyway, I found out what was wrong. I was trying to incorporate colorbox (a
variation of jQuery's lightbox) and I included a different jquery.min.js.
Apparently, this conflicted with web2py's jQuery.
On Tuesday, 25 March 2014 02:34:13 UTC-4, Massimo Di Pierro wrote:
>
> Missing a ")"
>
> On Monday, 24 March 2014 21:49:51 UTC-5, horridohobbyist wrote:
>>
>> I have a strange issue. I had code that includes an external HTML file.
>> It used to work. Lately, it suddenly no longer works.
>>
>> I've isolated the code and put it into my Welcome program. I am unable to
>> figure out what's wrong.
>>
>> <script>
>> $(function(){
>> $("#includedContent").load("/welcome/static/desc.html");
>> };
>> </script>
>>
>> <div id='includedContent'>Put included content here.</div>
>>
>> Since the Welcome application includes jQuery, this ought to work, right?
>> And it did work in my development project.
>>
>> So what's wrong?
>>
>> Thanks.
>>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.