Skip to content
Advertisement

Tag: html

change page HTML after change dropdown

I have 2 pages and the main page. the total 3 pages. I want to access the first and second pages after changing the dropdown list. I try this code by Jquery in my HTML called main.html. I want to use the if statement. If select 1 load firstPage.html If select 2 load secondtPage.html Any Edition of this code. Answer

Dropdown Content Hidden Behind Navigation

I am designing the home page for a project and the dropdown content is both behind the below navigation menu (primary-nav) and hidden offscreen to the right. I had this working with a margin-right tag but somehow I broke the code between then and now. Also, the basic structure of my page is designed using flexbox so I’m not sure

Can’t prevent client side submission php

I’ve created a register page using php, and the the form successfully sends data to the database. I’m trying to prevent client side submission, but I can’t get the form to stop submitting, even with nothing in the input fields. It also submits every time and I refresh the page, and I’m not sure why. I tried to temporarily removing

javascript form not validating fields

I’m trying to validate a form via javascript onSubmit, then run the php captcha verfication and email send action. The problem is that every time I try to check the fields, I can see just one of them highlited with my CSS classes (seems to be related to the ‘return false;’ which blocks me). Anyone has a clue? Here’s my

How to submit a POST using tag?

I realize we need forms to submit a POST or perhaps with the help of a button. However, how do we do it using tags? Example code: I’m trying use PHP to read a text file for a number of variables (names of each picture that I’ve saved). From the text file, this PHP will then convert the variables into

Enter button gets trigrred while enter new line in input form

im working on a project where a user can describe his location in multiple lines but when i press enter button for new line in input form it gets submitted into database. i feel myself stucked here. help me to get rid of this please my html code is: and my php code is : please help me Answer Instead

Removing or creating HTML with PHP

I’m using a Swiper.js slide on this project and the images and texts of every single slide are going to be controlled through the WordPress panel, including how many ‘pages’ the Slide will have. This means that if the client decides that the slide will have, let’s say 5 pages, the var $swiperPages will store this number 5, so I

Advertisement