• 15

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /var/www/html/cnasolution/site/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/site/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/site/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

How to Push For Loop Value in array in Javascript

Hi I want to push For Loop Value in Array

My View


Here in Ajax Success Function I am getting 5 values in data .Then I used For loop and push the value in array but the value is not storing in array

                catagorydata.push[data.data[i].ProjectID];                 Estimation.push[data.data[i].EstimatedValue]; 

In categorydata and Estimation are arrays and the for loop values is not storing in these ararys.Kindly any one help me to resolve this issue .

Download script demo [LINK] [Origin]
Download script demo [LINK 2] [Onedrive] Download script demo [LINK 2] [Google drive]