If you are not experienced with javascript, i would suggest to put some ";"
after the end of the "upload" and "complete". This might be the source of
your problems.
Please do not feel unconfortable that i have take you hard on steps 1 & 2.
It is nothing personal.

First step it would be to remove that "$" in your js code. try replace it
with "jQuery"
Try to make you code look like this:
 <?php echo jq_submit_to_remote('ajax_
submit', 'Save Details',
                array('update' => 'seeker_form_div',
                'url' => 'seeker/create',
                'loading'  => "Element.show('indicator');
jQuery('tag').value = ''; ",
                'complete' =>
"Element.hide('indicator');".jq_visual_effect('highlight',
'seeker_form_div')
                ),
                array('class' => 'button')) ?>

also: try this:
....
'loading' => "function(){Element.show('indicator'); jQuery('tag').value =
''; }",
'complete' => "function(){Element.hide('indicator');".
jq_visual_effect('highlight', 'seeker_form_div')."}"
....


if that is still not works, paste your html generated file to
www.pastebin.com with a time period of 1 month, and paste us the link.
me or other will take the "intresting" part and will include in this thread
for others to find it when they will need to fix a similar issue.

Alecs

On Fri, Jan 22, 2010 at 10:15 AM, Sorom Uzomah <[email protected]> wrote:

> Hi Alecs,
>
> Thanks a lot
>
>    1. Didnt intend to draw attention as such, just wrote the title in CAPs
>    2. I thought that by putting 2 issues in the initial post i made it a
>    bit clumsy so I tried to place just one
>    3. No problem
>    4. Okay
>    5. Like i commented in  the code, once I take out the 'loading' and
>    'complete' options the AJAX form works perfectly
>    6. I've gone through all the souce code and all.Its a lot thats y i
>    didnt post here.
>    7. I'm not good with javascript was trying to avoid learning it thats y
>    i stuck to the plugin but i just might have to
>    8. will install firebug
>    9. the form works without those options so i'm sure the jquery is
>    loading right.
>
> Thanks a lot!
>
> ------------------------------
> *From:* Alexandru-Emil Lupu <[email protected]>
> *To:* [email protected]
> *Sent:* Thu, January 21, 2010 11:40:18 PM
> *Subject:* Re: [symfony-users] PROBLEM WITH SFJQUERYRELOADEDPLUGIN
>
> hi!
> 1) Please do not use that CAPS - LOCK in the subject field. Unfortunatelly,
> it won't make you smarter, and will not attract the user to answer your
> question.
> 2) do not post duplicate threads (2 threads containing same content). Most
> that you can do is to reply in that thread, with a s content like "ping?"
> "anyone?" etc. the duplicate posting will make it harder for others to find
> solutions to their problems.
> 3) i haven't used that plugin and i cannot help you out.
> 4) if you do not get any replyes, it might mean that noone has encounter
> this.
>
> 5) your problem might be from here: url: ...//,
> 6) view source of the page and see what / how is rendered // paste your
> piece of code where this is rendered
> 7) make sure that you have all the ";" in place ...
> 8) to a better check / infestigation use firefox & firebug
> 9) Make sure your jQuery is loaded form a correct location / it is loaded
> at all..
>
> Alecs
>
> On Thu, Jan 21, 2010 at 6:53 PM, Sorom Uzomah <[email protected]> wrote:
>
>> Hello everyone,
>>
>>
>> I'm  using the jqueryreloadedplugin and I want to submit the form by AJAX.
>> It works but when I try to use an indicator to show when the form is being
>> processed, so that the end user can tell that something is going on, it just
>> doesn't seem to work any longer. Does anyone have sample code for this and
>> are there any specific instructions like files i should put under the web
>> directory etc?
>>
>>
>> -------------------------------------------------------------------------------
>>
>>  <?php echo jq_submit_to_remote('ajax_submit', 'Save Details',
>>                 array('update' => 'seeker_form_div',
>>                 'url' => 'seeker/create'//,
>>                 //  'loading'  => "Element.show('indicator');
>> \$('tag').value = ''",--- IF I UNCOMMENT THESE LINES, IT DOESN'T SEEM
>>                 //  'complete' =>
>> "Element.hide('indicator');".jq_visual_effect('highlight',
>> 'seeker_form_div')------------TO  WORK ANY LONGER
>>                 ),
>>                 array('class' => 'button')) ?>
>>
>>
>> -----------------------------------------------------------------------------------------------------------
>>
>> I just want to give the end user some visual feed back while the form is
>> processing! Thanks for all the help!!!
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "symfony users" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<symfony-users%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "symfony users" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<symfony-users%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/symfony-users?hl=en.
>>
>>
>
>
> --
> Have a nice day!
> Alecs
>
> As programmers create bigger & better idiot proof programs, so the universe
> creates bigger & better idiots!
> I am on web:  http://www.alecslupu.ro/
> I am on twitter: http://twitter.com/alecslupu
> I am on linkedIn: http://www.linkedin.com/in/alecslupu
> Tel: (+4)0722 612 280
>
>  --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en.
>



-- 
Have a nice day!
Alecs

As programmers create bigger & better idiot proof programs, so the universe
creates bigger & better idiots!
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 612 280

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en.

Reply via email to