Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
btn
- Page 1
Re: How to show visa info based on country selection in a travel form?
Programming
Web Development
2 Weeks Ago
by Biiim
…"> <select id='currency_select' class="form-select
btn
btn
-outline-secondary" onchange="updateFormValues(this.value);">…
Re: btn click event will not work
Programming
Software Development
12 Years Ago
by John-Ellis
…???? It must be the code I am using for the
btn
click event, it must be wrong.
Using PHP to upload an image update name and change password by submit btn
Programming
Web Development
4 Years Ago
by apu_923
…="mt-2"> <span class="
btn
btn
-primary
btn
-file"><i class="fa fa-camera…-flex justify-content-end"> <button class="
btn
btn
-primary" type="submit">Save Changes<…
Radio btn chnage background to the latest btn clicked
Programming
Web Development
13 Years Ago
by dany12
… I want to chnage the background to the latest radio
btn
clicked like in the atached image I have made somecode…
Re: Radio btn chnage background to the latest btn clicked
Programming
Web Development
13 Years Ago
by dany12
Ok this is the idea when you click a radio button you get a blue bg when you click a new radio
btn
you get a bg to the new button and the old one gets the default bg but remains selected Hope you understand now
Populating a List box with btn Click Event
Programming
Software Development
12 Years Ago
by Behseini
… can populate them inside a list box with binding a
btn
click event handeling? Thanks for your time and comments
having a error when i click to btn
Programming
Software Development
10 Years Ago
by Xiao_1
when i click the
btn
assign the error come out where go worng? Private Sub …
“Memo” btn proposal
Community Center
Meta DaniWeb
8 Years Ago
by jkon
… to that. Wouldn't be great to have a memo
btn
next to each user name that each one of us…
Re: “Memo” btn proposal
Community Center
Meta DaniWeb
8 Years Ago
by Dani
… it. > Wouldn't be great to have a memo
btn
next to each user name that each one of us…
btn click event will not work
Programming
Software Development
12 Years Ago
by John-Ellis
Hi, I have started my new college course this week and received my first assignment, it is to create a simple noughts and crosses game. So far all is well, I have created all of my procedures for checking for winners, reseting the game board and so on, the only issue I have is the button click events don't do anything when I click one of the nine…
Re: btn click event will not work
Programming
Software Development
12 Years Ago
by John-Ellis
one thing I have realised I didnt need is the 4th line panel1.enabled = true, I already have this action in the cboUser text changed event.
Re: btn click event will not work
Programming
Software Development
12 Years Ago
by adam_k
You are missing the `handles ` part. So far you've declared a sub and give it some actions to perform, but it wouldn't make a difference if you've called it "abcd". The handles part of the declaration is what ties it to an event and make the event run that sub. Change `Private Sub btn1_Click(ByVal sender As System.Object, ByVal e As …
Re: btn click event will not work
Programming
Software Development
12 Years Ago
by John-Ellis
well chuff me, I thought VB put that code in automatically when I double click the button control so I never even thought to check it. Thanks very much adam_k
Re: btn click event will not work
Programming
Software Development
12 Years Ago
by adam_k
Visual studio does put it in automatically, but things happen and it might get deleted. When you've got an event not running the sub it's supposed to, thats the one place you start. If this has solved your problem, please mark this as solved. Thanks.
Re: Using PHP to upload an image update name and change password by submit btn
Programming
Web Development
4 Years Ago
by Dani
The code for the backend depends on how you're storing this data, if you're using a PHP framework, and oh so many things. Do you already have PHP code set up to connect to a database and store user profiles? I see this is an Account Setting page, so I assume you already have code in place for a user to register and log in? There's no "one size…
Re: Radio btn chnage background to the latest btn clicked
Programming
Web Development
13 Years Ago
by rajengg
It is very easy to **Change background color on radio select**. Please check below script <script> $("input").click(function() { $("div").css('background','white'); var divid=$(":checked").val(); $('#'+divid).css('background',blue); }); </script> **Source**:[http://…
Re: Radio btn chnage background to the latest btn clicked
Programming
Web Development
13 Years Ago
by dany12
Have you seen the atachement before you have submited your answer this is not what I am after if you look closely at the picture that I submitted you will see that this is a more complex problem and I highlight the td not a div
Re: Radio btn chnage background to the latest btn clicked
Programming
Web Development
13 Years Ago
by rajengg
Hello, **you can use td instead of DIv tag.please check following e.g.** just copy below code in html file. <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> </head> <table> <form> <tr> <td id=1> <input type…
Re: Radio btn chnage background to the latest btn clicked
Programming
Web Development
13 Years Ago
by dany12
Not a solution to the problem look at the picture and you will see that only the last clicked button is changing the color and teh rest remain selected without changing the color try my code out that is the closest thing I got to solve this
Re: Radio btn chnage background to the latest btn clicked
Programming
Web Development
13 Years Ago
by dany12
Can someone please help me understand where have I gone wrong? Thank you
Re: Radio btn chnage background to the latest btn clicked
Programming
Web Development
13 Years Ago
by JJenZz
I'm struggling to understand what you are trying to do... which of the following? - The td background should only change colour when the last radio button out of all the radio buttons in the table is clicked. - The background colour for the radio buttons in the second column should change when they're clicked. I have added examples of both here: …
Re: Populating a List box with btn Click Event
Programming
Software Development
12 Years Ago
by Gribouillis
Vegaseat wrote [this great example](http://www.daniweb.com/software-development/python/code/216484/wxpython-listbox-demo) 7 years ago, and it still works out of the (list) box !
Re: Populating a List box with btn Click Event
Programming
Software Development
12 Years Ago
by Behseini
Thank you! this is excaclty what i was looking for
Re: having a error when i click to btn
Programming
Software Development
10 Years Ago
by djjeavons
Hi If no item is selected in the ListBoxassign then you will receive a NullReferenceException error. You need to check that an item is selected before trying to use it: `If ListBoxassign.SelectedItem IsNot Nothing Then` HTH
Re: having a error when i click to btn
Programming
Software Development
10 Years Ago
by Xiao_1
can i know in the listbox how to show out the adminNo
Re: having a error when i click to btn
Programming
Software Development
10 Years Ago
by Xiao_1
i have think about puting like this so that the adminNO will show out in listbox but have have error Private Sub cbbproject_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbbproject.SelectedIndexChanged Dim conn As New System.Data.OleDb.OleDbConnection() conn.…
Re: having a error when i click to btn
Programming
Software Development
10 Years Ago
by djjeavons
Hi I don't see in your code where you get AdminNo from. The error is basically stating that you are trying to access a field from the DataReader called AdminNo but the DataReader does not have this in it's collection, i.e. it is not in your SELECT statement.
Re: having a error when i click to btn
Programming
Software Development
10 Years Ago
by Xiao_1
why textbox and listbox dose not show out Private Sub cbbproject_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cbbproject.SelectedIndexChanged Dim conn As New System.Data.OleDb.OleDbConnection() conn.ConnectionString = "Provider=Microsoft.ACE…
Re: having a error when i click to btn
Programming
Software Development
10 Years Ago
by Santanu.Das
Codes are quite right. But, you didn't mention the **AdminNo** in select Statement to get as output result, so how could you get it from **sqlReader**. Already you have the AdminNo incbbproject combobox. Take it from there. If sqlReader.HasRows Then sqlReader.Read() txtpn.Text = (sqlReader.Item("ProNm").ToString)…
Re: “Memo” btn proposal
Community Center
Meta DaniWeb
8 Years Ago
by diafol
I asked for the ignore list to be re-instated. I was told that it would be counter-productive at the time. I was a moderator on here, and I see the point of that. Now I'm no longer a moderator, I would really like that feature :) However, if there were such a facility, I reckon I'd see no new posts at all from the lack of activity on DW these days.
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC