What do movePrev() and .moveNext() function?
I know'n that functions in jQuery.


On 12 янв, 09:48, ggerri <a...@ggerri.com> wrote:
> Hi
>
> I've done something similar with the Tab. Maybe that helps. You'll
> need the FIELDS Plugin for that:
>
> $("#PG1_L02-4-5")
>                 .bind('keydown',function(e) {
>                           switch(e.keyCode) {
>                                 case 9:  // tab
>                                   if(e.shiftKey) {
>                                          $(this)
>                                                  .movePrev()
>                                                  .movePrev();
>                                   }
>                                   else {
>                                          $(this)
>                                              .moveNext()
>                                                  .moveNext();
>                                   }
>                                   break;
>                           };
>                         });
>
> Regards
> Gerald
>
> On Jan 9, 12:17 pm, RSol <viacheslav.rud...@gmail.com> wrote:
>
> > I write WYSWYG editor and use to editing 'div' tag with .attr
> > ('contentEditable','true')....
>
> > On 9 янв, 08:23, "jQuery Lover" <ilovejqu...@gmail.com> wrote:
>
> > > Here is how to simulate a backspace in javascript:
>
> > >   getElementById('yourTextBox').Select(TextBox1.SelectionStart - 1, 1)
> > >   getElementById('yourTextBox').SelectedText = "
>
> > > jQuery HowTo Resource  -  http://jquery-howto.blogspot.com-Hide quoted 
> > > text -
>
> > - Show quoted text -

Reply via email to