On Jan 5, 2008 7:30 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I am attempting to integrate jquery with a recent web.py project. I
> keep getting template errors on any line that includes the $ sign.
> This makes sense because it is the key character that allows for sent
> python objects to be used in the templator. However, there is a clear
> design issue here because it interferes with a major javascript
> library that works successfully in many other projects. Any ideas on
> escaping this out so that it will work? Any quick fix possible in
> template.py?
>
>
> $(document).ready(function() {
>      $(".edit").editable("http://www.example.com/save.php";, {
>          indicator : "Saving...",
>          tooltip   : 'Click to edit...'
>      });
>      $(".edit_area").editable("http://www.example.com/save.php";, {
>          type      : 'textarea',
>          cancel    : 'Cancel',
>          submit    : 'OK',
>          indicator : "<img src='img/indicator.gif'>",
>          tooltip   : 'Click to edit...'
>      });
>  });
> >
>

use \$

-- 
bchesneau.info | neurofriends.net | osbud.net

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to