Could use some help sorting out best practices with sending passwords in XML requests. I need to collect input from an HTML form, and if the provided password matches what’s on the server, insert the data from the form into a database. I’d like to do this via Javascript/XML requests so I can displ…
Tag: javascript
How to Copy Text to clipboard upon echo with PHP & JS?
apologies if this sounds super stupid. I’ve spent some time trying to do this, and the only way I’ve found is after clicking something like a button. I have a form for generating license keys and I would like to copy license key to clipboard after generation, so I’d like to know if thereR…
How to copy multiple text input to clipboard
I have already learned how to copy a single text input to the clipboard. However I can’t seem to figure out how to copy multiple text inputs to the clipboard. Can someone please help me figure this …
Delete a HTMLtable row using AJAX
Frameworks used: JavaScript, AJAX, HTML. Cannot use JQuery Have to display SQL table on page Last column of the table should contain an image which acts like a delete button On clicking that delete image, the row should be deleted from HTML table and SQL table In my code the onClick is not working HTML code t…
how to solve card does not change colour using javascript function
I want to implement this feature, the card element will turn grey color when the product_stock == 0. I tried to implement this feature using javascript but it does not work. I do not know what is …
Laravel How to set default time as today in daterange filter and how to display the data?
Hi i want to set value of my daterange filter as real-time like today is 5 April 2021 so the default of my daterange filter become from 5 April 2021 to 5 April 2021 and also display the data from my …
Populating my input fields depending on what selected in dropdown using ajax
I want to populate my input fields which are texts depending on what I selected on my dropdown and I am using a procedural prepared statement for my back end. I can already retrieve the data from the the dropdown but I can’t populate the fields whenever I click/select on dropdown data Problem: I’v…
Is there any method to pass live data from one Browser tab another Browser tab by using Javascript
I created an increment and decrement program but in that, I want to pass data from 1st Browser to 2nd Browser(one tab to another tab). In Index.html there are two buttons for incrementing and …
Change Website Content with PHP and AJAX Without Page Reload
A server process changes the content of a file readme.txt which is located in a users home directory (Linux Ubuntu 20.04 Server). I want to reflect the file content on the page without fully reloading the site. Therefore I tried AJAX in the index.php file: Shouldn’t an AJAX GET request to the PHP file i…
JS category subcategory – hide value from subcat when category is selected [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year. Improve this question I got [category] and [subcategory]. If user select [category-option(1)], the…