Relative Content

Tag Archive for javascripthtmljquery

JavaScript Doesn’t Always Load

I am trying to build a website, the JavaScript code that is supposed to add the sticky navigation menu when the header is not visible doesn’t work properly. It was working without any problems when I hosted the website locally; but, when I hosted the website on a server it doesn’t always work.

Jquery barcode scanner

In my HTML file is use Jquery scannerDetection. My problem is that if i select an input field the scanner writes to that input (cardnameinput) instead of the dedicated one (cardidinput). If i deselect everything the scanner inputs in the right field.

is there a way to open a popup when CLICKING on a html5 table CELL?

I have a html5 table and am wondering if anyone can point me in the right direction when it comes to opening a popup when the user clicks on the CELL inside of the table? I already understand that I will have to use js/jq – so I went and got the recent release of JQ and inside of my table, attached to the cell I am using this: <td><a href="details.html"></a></td> – but nothing happens 🙁

Jquery $(“body”) not selecting whole page

I have a page that I need to show a loading gif. The problem is when I select whole page with $(“body”) to disable editing fields, the elements that only reachable by scrolling down, in the other words, the area that is not visible is not selecting so they are still clickable when loading gif is active. Even clicking the html element on inspector tab is not selecting the whole page but only visiable area. How can I select whole page?

How to Update the Contents of a Dropdown Based on the Selection of Another Dropdown

I am trying to update the contents of a particular dropdown box, based on the selection of another dropdown box. The contents of these boxes is coming from tables in an MSSQL database. Basically, I have a list of “Principals” (aka companies) in one box, and a “Description” box (aka different items) in a second box. My goal is that one you select a specific “Principal” (aka company), that only the selected Principal’s items populate the “Description” box. As it stands now, every item in the “Description” box displays, regardless of the “Principal” (aka company) selected. Just to give you an idea, below is a screenshot of the boxes I am referring to, as well as the relevant code currently being used. As you can obviously see, it’s written mainly in asp-classic/vbs, but Javascript is used as well. I am open to using ANY language/method necessary to accomplish this. Any help is greatly appreciated, if any other details are required I am happy to give them. Thank you very much.

How To get form field values from parent of cloned form button?

So I have the following form. The form is cloneable, so there may be several on the page. When the “Save” button is clicked, I can get the form, and the value of the form ID attribute. But how do I get the form fields and their values? I am hing a heck of a time with the proper syntax. So how would I get the .val of the field “Model”?