Create custome JS query ajax script

Job ID: 30858727

Budget: ₹600 – ₹1,500 INR

Custom Jsquery script

Html info

1. Fields have unqine id
2. Div tag group of 2 fields - label and its input field
3. Div Span tag - for each above div for error display
4. Div span tag class formmsg1 - this is only 1 field per form
5. There could be multiple forms so formmsg2


You need to develop script

Status ...0 or 1

Errresponse this is array field
Fieldname - this will have form field id
Fielderrmsg - will be populated by code
Msgresponse is a array field
Msgresponse1
Msgresponse2
Dataresponse this is array field
Fieldname - this will have form field id
Fielddata - this will be populated by code

If status = 0
Process Errorresponse
Find the field name and find its span and populate the err msg

If status = 1
Process dataresponse
Field the field name and field the data

Status 0 or 1
Process msgresponse
Related categories: AJAX jQuery / Prototype