Ok. That last one actually worked. Just needed to a browser refresh to
re-load the script.
That's a total noob mistake. My bad. Thanks all :)
On Jul 21, 10:49 am, ed wrote:
> You mean like this:
>
> var data = {
> url: item.find("#id_url").val(),
> title:
You mean like this:
var data = {
url: item.find("#id_url").val(),
title: item.find("#id_title").val(),
tags: item.find("#id_tags").val(),
share: item.find("#id_share").val()
};
Tried it. 'share' is still showing up fa
On Thursday, July 21, 2011 4:00:55 AM UTC+1, ed wrote:
>
> I'm using the following javascript, so I can't check the HTML, can I?
> How would I go about debugging this?
>
> function bookmark_save() {
> var item = $(this).parent();
> var data = {
> url: item.find("#id_url").val(),
> title: item
I'm using the following javascript, so I can't check the HTML, can I?
How would I go about debugging this?
function bookmark_save() {
var item = $(this).parent();
var data = {
url: item.find("#id_url").val(),
title: item.find("#id_title").val(),
It should definitely be {'share': True} if you've checked the box and
submitted the form.
Have you ensured your checkbox inside the form tag you're submitting in
HTML?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on
I'm learning Django by following the turorials in Django 1.0 Website
Development by Ayman Hourieh. I've been banging my head for a while on
this and I know it's probably something really simple that I'm
missing.
I'm using the following form:
class BookmarkSaveForm(forms.Form):
share = fo
6 matches
Mail list logo