buddypress - jQuery Change Function'Unexpected Token ILLEGAL' -


some time has passed:

I use a jQuery function to add data to / On the input field form I am trying to get "Unwanted syntax error: Unexpected token invalid".

My Function:

  & lt; Script type = 'text / javascript' & gt; JQuery (document) .ready (function ($) {$ (input "signup_username"}. Change (function () {$ ("input # field_1" ²) .val ($ (this) .val ()) ;});}) & Lt; / Script & gt;   

I am trying to follow the follow-up to hide and replace expo data on the BuddyPress registration form.

Suggestion:

  • Hide the Xprofile Name field on the registration form (CSS display: none) and a JavaScript listener to change the profiler name field Place the (change) function in the WP user name value. This form will take care of verification. The XProfile name field is required. See reference. |

    Reference: jQuery (an "input # signup_username"). Change (function () {jQuery (an app input # field_1 ²?) .val (jQuery (this) .val ());});

    No one is saying that whether it works or not, but my fist is barrier. It is a token error.

    Therefore, any help with this will be greatly appreciated!

    These are not typical single quotes: try

      jQuery (Document) .ready (function ($) {$ ('input # signup_username') .changes (function () {$ ('input # field_1'). Val ($ (this) .val ());}); })    

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -