0

I'm currently trying creating a form.

I have added a WYSIWG editor. The editor I used was the jHTML area.

When applying the WYSIWG editor to the textarea getting the value of the textarea using the jQuery .val function does not return a value when ran in Firefox.

This process works in Google Chrome but not in Firefox.

The code I am currently using is:

$('form#AddPages').submit(function() {
alert($('#PageTextArea').val());
return false;
});
$(function() {
$('.Template_tbl tr td a').lightBox();
$(".txtDefaultHtmlArea").htmlarea(); // Initialize jHtmlArea's with all default     values
});

Any help would really be appreciated.

Thanks

1 Answers1

0

you can try this: $('#PageTextArea').textarea.val()

kleinohad
  • 5,800
  • 2
  • 26
  • 34