It does not add in my database, the code seems right though [closed] - javascript

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I add an employee but then I can update and delete.
Please help me.
my database oic for reference is below
https://drive.google.com/open?id=1wxWmFawOYfOTYz3e7Vl0MoHUsOFPBY1A

you can refer how to set the attribute of the column at the image.

you don't input the middle name when you save the new data.
so you have to set for "middlename" column to allow Null.

Related

how to highlight percentage in marksheet created with array objects in javascript guide plz [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed yesterday.
Improve this question
enter image description here
this is my array of objects, I have displayed it in table. now I want to hightlight the percentage column
plz guide

how can I access the second _id from the mongoDb document? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed last year.
Improve this question
How can I access the second ID from here?
Try this:
db.collection.find({job: {_id: theIdYouWantToAccess }})
There's more info in the MongoDB documentation, depending on what you want to do.
https://docs.mongodb.com/manual/reference/method/db.collection.find/#query-embedded-documents

How to count specific items in array [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I've got this array in my jquery Script :
I want to count all items inside my array called div.item.bloc-membre
Right now I have this code that returns me 75
console.log($(response).length);
Thanks for your help !
Using filter
console.log($(response).filter("div.item.bloc-membre").length);

how go get the exact current city name via javascript or jquery? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I needd a javascript or jquery code to get current city name. Previously i trie with goggle map but based on the returning string, some time i get sublocation wih in the city, can any one help in this.
Please check following link. I hope it will help for you.
https://coderwall.com/p/ouofjg/getting-current-location-with-javascript

How to use JQuery to give value to every option of a droplist? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
The selected option's value can be accessed easily but what about others?
$('#mySelectID option:eq(1)') to select the 2nd option. From there, do whatever you want.
EDIT: Oops sorry, edited index.

Categories