Skip to content
Advertisement

Tag: javascript

Onclick the + button, add fields [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question when you click on the “+” button, regenerate all fields below the existing ones, with TypeScript. I tried to rely

Separate Sort by table heading for different tables

In the following codepen I’m trying to sort by the column headers independently on two different tables. However, when I sort on any of the two tables it also sorts the columns of the other table. I tried creating a separate sort function called sortByB and using that on one of the tables but it still sorts the other table.

How to use in my case if option selected (do something)

This is my HTML and JavaScript: so as you can see in the HTML I have 2 check boxes so when I choose the checkbox “tricouri” I want to get generate a number like this: value = “T” + ’00’ + seq + “-” + newdate; and when I choose “Prod” I want to get a number like this: value

Only do click function if element is visible

So I have a search “modal box” (own html + css, not bootstrap) at the top of my page. When i click the search bar I want to open the modal box. Then when it is opened, I want to make it closable by clicking the “X” button or anywhere outside of the modal box. Opening the modal box and

2 select filters on Array Values in object

I have the below data object: And a html page with 2 select boxes. In my ts file I would like to filter the tags array for selectedTag1, selectedTag2 or Both. i am not sure how to filter the array (do I need to loop through it?) AND I do not know how to combine the 2 filters (do I

VUEX, what to do when $store.state is null

When users are not logged into my website, the state of user is set to null. However, this throws up a lot of issues on some pages where i look to see if this.$store.user For example, if I were to have a simple check such as and the user is not logged in (thus, setting the state of user to

Change buttons color in a vuetify list

After having tried to figure this out for two days I thought I will ask you. I think I do have a simple problem, however because of limited knowledge I’m not able to find a solution. Basically, I do have a list with OK/NOK buttons and I want to change the background color of the (clicked) button (either green or

Advertisement