1

JSFiddle = http://jsfiddle.net/burtondav/Vke9u/

Coffeescript:

$('#calModal').modal('show')
$("savebtn").bind 'click', (event)  =>
  $("calModal").modal('hide')
  title = $(".modal-body #title").val()
  hours = $(".modal-body #hours").val()
  console.log title
  console.log hours
  return​

Getting:

{"error": "Shell form does not validate{'html_initial_name': u'initial-js_lib', 'form':
    <mooshell.forms.ShellForm object at 0x9703acc>, 'html_name': 'js_lib', 'label': u'Js 
    lib', 'field': <django.forms.models.ModelChoiceField object at 0x959a8ec>, 
    'help_text': '', 'name': 'js_lib'}"
}

Appreciate the help.

0

1 Answer 1

0

You cannot submit html forms on JSFiddle, because there is no server to receive them.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.