Skip to main content

All Questions

0 votes
0 answers
40 views

Safari bug when trying to set value to a select element

i have a form but when i try to set dynamically a value to a select element safari ignores my value and automatically selects the first element of the select field. my code works perfectly fine on ...
Mehdi Ziyadi's user avatar
0 votes
0 answers
58 views

select2 in laravel doesn't appear

I want to use select2 in my Laravel but I am having problems with not being able to apply it to my form, how do I do it? form.blade.php @extends('layouts.app') <!-- Custom styles for this ...
Rakhmad Maulana's user avatar
2 votes
0 answers
76 views

Triggering change with value from API

I'm working on a project where I need to obtain current coords, save them as variables, send those parameters to GeoNames and obtain country code. That country code is meant to trigger a change event ...
user avatar
0 votes
0 answers
35 views

Select boxes not keeping selected options

So, I'm new to development and I'm having some problems with a script. In practice, I have interconnected drop-down menus, which will filter the data on the display. The first country menu is what ...
PeW's user avatar
  • 1
0 votes
1 answer
126 views

Cypress - empty select element list when executing in viewport [closed]

I'm trying to execute the following code: it('try select', () => { cy.visit('http://automationteststore.com/index.php?rt=account/create') cy.get('select:visible').eq(1).select(5, { force: true }) })...
Kenoid's user avatar
  • 1
1 vote
1 answer
28 views

How to change option selection and change button link for multipe forms in a page?

How can I take the value from the option and update button link with the option value? I come across this solution but there are a few things which I want to achieve that are not covered. Example ...
Khurram's user avatar
  • 53
0 votes
1 answer
44 views

Not matching label in JavaScript onclick

I have an interactive form inside which uses a javascript function for onclick. The function is running well, but the problem is when it is saved, what enters the table is that the value of the ...
Irfan Chaniago's user avatar
0 votes
2 answers
72 views

Get selected option from select list

I have the following select list and jQuery code to dynamically get the selected option: <select id="form_instructions_instruction_select" name="form[instructions][instruction_select]...
sisko's user avatar
  • 9,772
1 vote
1 answer
273 views

How do I make a toggle switch trigger a select dropdown to randomize its option value?

I'm setting up a page for a character generator, and I'm giving users the option to either randomize traits or enter their own. I have the "choice vs random" options set up as toggle ...
mellimel's user avatar
0 votes
0 answers
100 views

<select> option closes <ul> dropdown menu

I have a dropdown menu of checkboxes and some checkboxes with a <select> dropdown. I have successfully used the e.stopPropagation() on the checkboxes. The problem is that selecting an option in ...
Bob's user avatar
  • 117
0 votes
2 answers
3k views

Choices JS Re-Initialize is not working for dynamic Row add

I am using Choices JS Plugin in HTML Table, But when I increasing the Table row dynamically by jQuery the next Select is not working. Initializing first time at Document ready function using - new ...
Rifat Tanjir's user avatar
0 votes
2 answers
3k views

How to Refresh/reload Select dropdown options

I have 3 Dropdown menus linked to each other (Brand,Parameter,SubBrands). The third dropdown menu's ("Subbrands") options should be basis the option selected in the first menu (Brand). The ...
Mithun Uchil's user avatar
-1 votes
1 answer
35 views

how to display dropdown in javascript

I am trying to display a dropdown - in the dropdown I am displaying some items which are in selected state, remaining should be displayed in dropdwon. Below is my code and array which I need to ...
Pavan Kp's user avatar
0 votes
1 answer
98 views

Setting selected attribute to an option list that is tabulated dynamically

I have a set of options that are being tabulated dynamically. Eg: Below is a sample set of options that are being tabulated: option1 option2 option3 Here I am not explicitly setting any option as ...
curiousCat's user avatar
0 votes
1 answer
36 views

Can not create drop down list

I have to make Relational mapping between products and brands and show it in html Entity Class Brand package com.eazytek.Entity; import lombok.*; import org....
ahmed's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
14