TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
mohammad qasim
NA
408
0
Below method doesnot work fine,if user type text on search befor click
Sep 11 2020 4:34 AM
Greetings,
Using Sharepoint 2016 on Prem ,Calling below method onclick ( Jquery method )
$("#tbldetailsright input[type=checkbox]").each(function () {
if ($('#' + this.id).is(':checked', true) && this.id.substr(0, 3) != "chk") {
m_id += this.id + ';';
m_deptID += $('#' + this.id.substr(3)).find("td").eq(6).text() + ';';
}
});
Problem:
i am making loop around table to get select checkbox ID .
Problem: if i use search then above loop works only available item to get selected check boxID although many other's are also check but it does not work for those selected checkbox.
if i remove search then it works fine to get all selected checkbox ID.
Solution Required;
wheatear user click "Add button" after typing text on search or without typing text on search it should fetch All select checkboxID ( like its working without typing text on search )
Below images are for reference ( image 1 works fine becuase no text is writton on search )
Image 1
image 2 does not work fine becuase text is written on search ,so it works only available record using above methos
Image 2
Thanks
Reply
Answers (
2
)
How to update existing documents when template is update
Required a PNP script to create an Survey App in SPO Site