Skip to main content

All Questions

Tagged with
0 votes
1 answer
52 views

Creating Custom Select at Run Time

I recreated my issue on Fiddle: https://jsfiddle.net/RayLove21/k05xhgaL/30/ This is the function I'm utilizing to append the custom select. function CREATE_OPTION() { var varForm = '<...
Ray Q's user avatar
  • 11
-1 votes
0 answers
19 views

Ajax Jquery append dropdown only populating once [duplicate]

When choosing a state, the user can also filter by city. However, the cities only populate once on their dropdown. All of the data for the new state selection(the cities) is being sent and logged. But ...
Sovereign Vapor's user avatar
1 vote
1 answer
30 views

Trouble appending obj to local storage - Jquery

Trying to accomplish: The website is an online Bible; I'd like to allow users to do the following.... Allow user to highlight (add yellow background to text) a verse by clicking on it. They can ...
Andrew Rout's user avatar
0 votes
1 answer
68 views

Duplicate problem after using append() - how to rebuild innerHTML by js or jquery?

Could anybody help me with following problem of my code,please? <!DOCTYPE html><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta ...
J L's user avatar
  • 11
1 vote
0 answers
98 views

Add variation price to WooCommerce swatches (using append)

I use a WooCommerce variation swatches plugin to convert the default select dropdown to clickable text buttons. Now I would like to add the price of that variation to the swatch. The plugin does not ...
arvanderkamp's user avatar
0 votes
1 answer
44 views

Jquery not detecting click after appending new html

I have a text box that is using live search functionality. The test HTML works great, click and it adds to the log like it should. Problem is, once I use the search box and new "identical" ...
Joshua's user avatar
  • 11
0 votes
0 answers
126 views

How to append script path strictly before closing body tag using jQuery/Javascript

How do I force a script to exist in last position inside the closing body tag </body> using jQuery. I tried the below: <!doctype html> <html lang="en"> <head> <...
Jack L's user avatar
  • 19
0 votes
1 answer
39 views

JQuery not detecting appended items [duplicate]

I have been working for some time on a JQuery web project when I came upon this bug: index.html <body> <div id="target"> <h1>Will be called</h1> </div> ...
user avatar
0 votes
0 answers
17 views

after select array how i append select

if I select three products after selecting when I click on edit. after editing selected items are showing but when I select in edit add more product, the add more product selection opens between 1 and ...
Suraj Mahawar's user avatar
0 votes
0 answers
14 views

Issue with creating buttons from select options using jquery

I'm using jquery to make buttons that are connected to my select dropdown options (with the intention of hiding the drop down once these are working), but the loop seems to be iterating multiple times ...
michaelah's user avatar
1 vote
1 answer
48 views

jQuery appends dropdownlist, but appended item disappears on postback

I'm appending items to a dropdownlist using jQuery. Values are coming from a textbox on my page. Here's the code I'm using: $('#ddlProjectName').append( new Option($('#txtNewProjectName').val(), $('#...
buckshot's user avatar
  • 315
0 votes
2 answers
34 views

I'm trying to use a for loop inside of an .append() to dynamically create a series of buttons/items

I'm looking to dynamically (from data provided via whatever...jSon, XML, a static array, etc.) build a series of divs that in the end contain anchor tags (or buttons) with images inside of them. This ...
Daniel Carriveau's user avatar
0 votes
1 answer
46 views

Reflect the value based on the specific row of selected appended items using jQuery

I have an issue in which I am trying to capture the value of an input type element on keyup and then reflect that value in a span which is the total amount of the item. I have my snippet but when I ...
BootCamp's user avatar
  • 464
0 votes
1 answer
36 views

how to append text to its own div container pt 2

similiar to my question at how to append text to its own div container without appending it to the other div container?, what would the jquery code look like if the html is something like this: <...
dtd439's user avatar
  • 47
1 vote
4 answers
72 views

how to append text to its own div container without appending it to the other div container?

what the jquery code does below is it only clears the textbox $(document).ready(function(){ var someText = $(".someText"); $(".add").on("click", function(){ $(".container", this)....
dtd439's user avatar
  • 47

15 30 50 per page
1
2 3 4 5
211