Glad to help and glad that it's working now.
Cheers!
Mike
Mike, you're a genius, thanks. I should have spotted that! - It works now.
Thanks again, that's made my day! (and I've learned some stuff.)
Cheers.
Matt.
Mike, you're a genius, thanks. I should have spotted that! - It works now.
Thanks again, that's made my day! (and I've learned some stuff.)
Cheers.
Matt.
malsup wrote:
>
>
> Ooops. This is obviously wrong:
>
>> if (a[i].name = 'editor') {
>
> It should be:
>
>
Mike. Thanks again for the reply! I can see what you're doing with this code,
and I was sure it would work, but for some reason it doesn't?! No errors,
just left with the same default text again. In fact I added
alert(a[i].value); to your function just to make sure it was working, and
yes, it doe
Ooops. This is obviously wrong:
if (a[i].name = 'editor') {
It should be:
if (a[i].name == 'editor') {
Mike
Hi Matt,
I don't know anything about the FCKeditor (but somehow it seems
inappropriate to say its name out loud at work), so I can't imagine
why it isn't working on the first pass. However, you can "force" its
data w/o modifying the plugin by doing something like this (assuming
the element *nam
Hi Mike.
Thanks for your reply. Just modifying the test in the editor and then
clicking submit. The code is very simple:
// prepare the form when the DOM is ready
$(document).ready(function() {
var options = {
target: '#output1', // target element(s) to be updated with server respo
imatts,
I'm not sure I understand. Are you manually modifying text in the
editor and then clicking the submit button? Or are you modifying the
text via JavaScript? Could you post a page that demonstrates the
problem?
Mike
I've just noticed that if I submit the form again without changing a
I've just noticed that if I submit the form again without changing anything,
the modified text is picked up in the $_POST array, on the second try. Now
I'm wondering if there's a way to simulate this update of the input data
before sending the form, so that it has the correct data on the first
at
8 matches
Mail list logo