Hello all,

Am creating a validation in angular 2 in which am assigning a text inside 
the PRETAG to the text box using jquery after assigning the value also it 
shows the required field 

this is the code for assigning the value from PRETAG to text box 

var idz, valz;

    $(document).delegate('#getRuleStr', 'click', function () {
        $('#' + idz).val($('#preTag').text());    
    });
    $(document).delegate('.rulez', 'click', function () {
        idz = this.id;
        valz = $('#' + idz).val();
    
    });

here am getting the id's of text box as dynamic and using it, please help 
me to resolve it

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to