Skip to content
Advertisement

Tag: php

Input password show and hide

I hope I don’t bother you with a question 🙂 . I have little knowledge about writing code, so I encountered an error there are two inputs I added an eye icon with bootstrap when clicked, the password appears the first input works, but the second input does not show the password What do you think is the problem. sorry

How to get input from form using PHP/Jquery live?

I have a simple HTML form that includes an input field and a submit button. How can I use JQuery to get the text from the input field live and then send that data to a PHP file that evaluates the data? Form: Edit: here’s what I want it to look like Answer Your current code doesn’t need jquery to

How to generate unique urls and pages with template?

I am building a petition site where you can create/join petitions. I have made a page where there is table filled with many pre-created petition titles and I want to make that when people click on any petiton title, they would get to another page that gets data from my database and fills it by a template(title, description and etc)

Using webpack on a common Symfony Bundle

I have a “common” bundle that is used on several Symfony projects. This bundle contains the assets we use on our different projects (js and css). Until now this bundle was mainly adding assets with macros that allowed to load the libraries cdn. We use macros to load only the scripts we want for each page. We manage the dependencies

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 found with modal element selector instead of class, but still no alert Answer Save

Calling javascript from php file failed

I have three different files: index.html, app.js, app.php. On HTML element <a href=”./files/sweetsencrypt.pdf” onclick=”return decrypt(this.href);”>Decrypt Sweets</a> I am calling javascript function in which I am giving ajax call to PHP: Till this everything is okay. When the PHP function is called, I need to call javascript functionality from app.js file in app.php file. But its getting failed. I am trying:

Advertisement