All Questions
Tagged with javascript jquery
2,260
questions
4
votes
3
answers
133
views
Get the contents of a table cell for all selected rows
I have a table of user info. When you click the button, I want to get the email address from each selected row, output into a comma-separated string.
I got it to work with the following code, but I'm ...
1
vote
2
answers
148
views
Rubik's cube scrambler with timer and list of solves
This is a work in progress Rubik's Cube scramble generator with timer and list of solves. The list of solves is stored using localstorage so that it stays on page reload. A solve can also be deleted ...
2
votes
1
answer
70
views
Reorganice (and style) form's output in HTML using JQuery: how to do it better?
To clarify: The code in "What I achieved" is working. I'm looking for suggestions so I can improve.
I'm quite new with JQuery (and javascript) and I've been learning while styling a forum. ...
1
vote
2
answers
76
views
Changing every link on page, in fastest way possible
I have created a script (mediawiki gadget), which iterates over every redlink in a rendered wiki-page (that is, over every href with class new, signifying an ...
0
votes
2
answers
163
views
jQuery + PHP Form Submit and Refresh
Code below successfully processes and submits data to database. Is there anything else that needs to be included / considered?
PHP (note-process.php):
...
0
votes
1
answer
130
views
Generate HTML from input fields
I am building a small tool to generate a copy and paste HTML block, based on the user inputs.
In the HTML file, I have all my inputs (select, checkbox, text inputs etc).
I based myself on the JS of an ...
1
vote
0
answers
48
views
Display tags on the page coming from the server
There is a site with posts that have tags. The site has a search for these tags, that is, you enter words / letters separated by a space and tags are displayed for you by matches. These tags can be ...
1
vote
1
answer
129
views
Sign Up Page - A mini Frontend Project
I have designed a a small frontend project, a sign-up page. It uses HTML, CSS, JavaScript and jQuery. Being a beginner to frontend development, I want to adapt to all the best practices. I am looking ...
2
votes
2
answers
856
views
Clone Div and change input control
I am using keypress to get all the events of a input control. Once the user hits the enter button after I am then clone a div and update the ids. One project I am having is that I only want to do this ...
1
vote
0
answers
582
views
Select product variations using buttons/swatches instead of a dropdown
In WooCommerce, by default interface, selecting product variations is possible through a dropdown. But, I am developing a site where I wanted buttons/swatches instead of the dropdown.
I achieved that ...
0
votes
2
answers
2k
views
JQuery fixed header that hides on scroll down and shows on scroll up
I am currently working on a site product where I have to create a site-header that is always fixed on top of the viewport but when I scroll down it hides, and again when I scroll up, it becomes ...
1
vote
1
answer
230
views
Chrome bookmarklet to expand examples elements on a dictionary webpage
I created the following Chrome bookmarklet to open all elements with text Extra Examples boxes on this page. For example - the element labeled with text Extra Examples below can be clicked:
When it ...
2
votes
1
answer
162
views
Building HTML in JS and append
I am working on this project where I need to building html from this object. There a a lot of loops and counter and wanted to see if there is a better way to do this
Any suggestions/comments are ...
0
votes
1
answer
387
views
Using localStorage to set and get values for date fields
My input fields for the dates are not saved when the User presses the submit button. The page reloads and the values for the input fields are empty. So I'm using localStorage to save the values when ...
0
votes
1
answer
367
views
Calculate multiple form field values as you type
I'm making a down payment form where the user enters a purchase price and can then enter the amount they want to pay as a down payment as either a dollar amount, a percent down or by using a range ...