Lengkap

need help in solving one problem with angularjs

I have json string below, I want to convert $$ string to input text box, which I did with the function written below

Var formEntryJSONElement = {

catalog: "N",

formEntryName5714: "comp17726cpv5714",

rank: "20",

predefValue: "5714",

label: "$$$$",

type: "V",

formEntryName: "comp17726cpv",

hasCustomValue: true

},

I Have created javascript object from this json

[login to view URL]

[login to view URL] = FormEntryWebPreview;

function FormEntryWebPreview(formEntryJSONElement) {

[login to view URL] = removeEsterick([login to view URL]);

[login to view URL] = [login to view URL];

if(!![login to view URL] && [login to view URL])

[login to view URL] = replaceSpecialCharWithTB([login to view URL]);

}

function replaceSpecialCharWithTB(labelTxt){

var i, labelTxtVal, count =0 , textLength= [], textboxLength, formattedText='';

var labelTxtArray = [login to view URL]("");

for(i=0;i<[login to view URL] ; i++){

if(labelTxtArray[i] != '$'){

if(count > 0){

textboxLength = [login to view URL](50*count-50,50);

formattedText += '<input style="border: 1px solid black; width:'+textboxLength+'px;" type="text" ng-blur="emitTextBoxValue([login to view URL]);" ng-model=”[login to view URL]”/> ';

}else{

formattedText += labelTxtArray[i];

}

count = 0;

} else {

count++;

}

}

if(count > 0){

textboxLength = [login to view URL](50*count-50,50);

formattedText += '<input style="border: 1px solid black; width:'+textboxLength+'px;" type="text” ng-blur="emitTextBoxValue([login to view URL]);" ng-model=”[login to view URL]” />';

}

return formattedText;

}

But problem here is ng-blur and ng-model is not working for those dynamically generated input types, is there any angular way of doing this and making ng-model work?

Kemahiran: Angular.js, CSS, HTML5, Javascript, jQuery / Prototaip

Lihat lagi: angularjs slow rendering, problems with angular, why angularjs is bad, which is not recommended in angularjs, angularjs coding challenges, angularjs performance issues, troubleshooting angularjs, angular.element(...).scope(...). is not a function, need help to repair javascript freelancer, where to get help solving a programming problem, i need help to solve a marketing problem, i need help applying for a us working visa from australia, plz help me i am a hard working man need a job, need help work freelancer, work sales need help

Tentang Majikan:
( 4 ulasan ) Newark, United States

ID Projek: #17050501

Dianugerahkan kepada:

shiningdevelopor

Hello. How are you? I have reviewed your job post carefully and I came to the conclusion that your job is very matched to me. 1. I have good skills and experiences about angularjs. 2. No agency. 3. I can work full Lagi

$30 USD dalam sehari
(8 Ulasan)
2.9
zzzznaz

I have almost 2+ years of solid excellent experience in building Single Page Apps and Hybrid Apps with sufficient Search Engine Optimisation (SEO) using React, React-Native, Redux, Angular 1.x, 2.x, 4.x, 5.x, Vue, Vuex Lagi

$25 USD dalam sehari
(0 Ulasan)
0.0

7 pekerja bebas membida secara purata $74 untuk pekerjaan ini

radimosve

Hello deepsk2011. I am available right now, how are you? I am interested in your project and would like to discuss the project with you. I always deliver on time and on budget feel free to check my feedbacks and port Lagi

$30 USD dalam 9 hari
(15 Ulasan)
4.2
happyman9184

Hi. As I am an AngularJS expert, I can solve your problem easily. Let me solve that problem. Thanks.

$25 USD dalam sehari
(4 Ulasan)
3.6
$30 USD dalam sehari
(2 Ulasan)
1.6
wpmonsters

Hello, We are WordPress Monsters and we're ready to help you! We build all kinds of web applications: blogs, eCommerce and even custom solutions. We create thoroughly thought projects either from scratch or by impleme Lagi

$350 USD dalam 3 hari
(3 Ulasan)
1.8
sisodiadilip

I am a software developer with more than 8 years experience in .Net, Java Springboot and Angular. I have worked on Angular projects from scratch with spring boot on server side and also worked on migrating angularJ Lagi

$25 USD dalam 2 hari
(0 Ulasan)
0.0