I made a form to select skills. After the 1st selection is made, a 2nd list is shown with options depending of the 1st choice. Then, a “+” button allow to duplicate the fields ans add another skill. My problem : The inital form is OK but when I press “+” the second form created doesn&#…
Tag: jquery
Using conditions inside JavaScript
I have this infinite scroll code which works perfectly fine. I m trying to use if-else conditions inside my Code but due to some syntax (i think) error its not echoing out. My code goes as : Please note that the whole infinite scroll code works fine if I m to remove those if-else conditions. Any help is great…
How to use click event on bootstrap modal
I generate many bootstrap modals with a php script, and I’d like to edit some input of it when I click button “save changes”. ModalIDs generated are something like “ModalID0000”. But nothing happens with my script when i click on “save changes”. EDIT : 1st mistake fou…
Break table.rows().iterator() in DataTable in JS
I want to break DataTable() interations. Here is my code Answer Using nodes() instead of iterator() or with each()
JQuery autosubmit does not work in Safari
I have a form that I want to autosubmit using JQuery. However, it doesn’t work in older versions of Safari (macOS Mojave, iOS 12). It works in Chrome, Firefox, and iOS 13. So, this is most likely a Safari bug, but I have a lot of users with devices running the older software, so I need to work around it…
Drag multiple divs with javascript
I’m interested in dragging some divs by clicking in their header. I followed instructions of W3SCHOOL https://www.w3schools.com/howto/howto_js_draggable.asp and some advices founded in the web. This is my actual code: I’ve created a Jsfiddle that works with entire divs. I would like this result bu…
Getting the href value of an anchor within an SVG using jQuery
I am using jQuery to target anchor elements within an SVG image I have created to get the value of the href assigned to the anchor element. I am then trying to toggle on and off a piece of content that has an HTML ID identical to the href of the anchor element. I am facing a problem when I
i have to call two button click events add and remove from jquery tabs,i’m using jquery forms
this is my code with add and remove buttons on a table inside a jquery tab, but when i call click event it is not calling it. i have added my code above, i need this add and submit button to work from jquery tabs, also these textbox values need to be saved as records, how can i identify each
Can i use different images for each custom dots for my slick slider?
i have a question for slick slider veterans: I want to put custom images for my dots on a slick slider, but i want to use different images for my slider dots. So for example i have 5 slides, and i want my 5 dots to have seperate images, so 5 different images (10 if i use different ones for
How random option catch correspondent number?
How random option catch correspondent number ? For example: If question random option is (4) (2) (3) (1) arrangement Answer should be (1),because set class=”correct” in question1 option1 but in the case (1) is X (wrong answer). I guess it get <div> position, so array and real number not matc…