Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
code
- Page 1
Re: python programming issue
Programming
11 Hours Ago
by GodMode9
I have faced similar issues before! Sometimes the problem is related to incorrect indentation. Python is very particular about spaces, so double-checking your
code
can help fix the issue.
python programming issue
Programming
1 Day Ago
by Ccrobinson001
…× Getting requirements to build wheel did not run successfully. │ exit
code
: 1 ╰─> [21 lines of output] Traceback (most recent …-packages\setuptools\build_meta.py", line 320, in run_setup exec(
code
, locals()) ~~~~^^^^^^^^^^^^^^^^ File "<string>", line 33, …
Re: How to Automate NAVIS
Programming
Software Development
6 Days Ago
by skynode
… is fully loaded by handling the DocumentCompleted event. In your
code
, you can navigate to the desired URL and then, within…
Benchmarking DeepSeek R1 for Text Classification and Summarization
Programming
Computer Science
1 Day Ago
by usmanmalik57
… in the sentiment, we can extract it using the following
code
. ```python last_word = output.strip().split("\n")[-1].strip…
Re: Show selected option id
Programming
Web Development
6 Days Ago
by Amonza
I understand that the original poster has marked this as solved. However, I will leave this here as it provides a more fexible and decoupled method to achieve the desired outcome. const selectElement = document.getElementById('managsel'); selectElement.addEventListener('change', function() { const xId = this.options[this.…
Re: python programming issue
Programming
1 Day Ago
by Reverend Jim
Can you please post the contents of requirements.txt? I don't know if this will make a difference, but when I install python I always put it in c:\python and install for all users. I find it much easier when trying to fix problems like this to have all the files in a top level folder rather than buried multiple levels down in appdata…
Re: How to Automate NAVIS
Programming
Software Development
5 Days Ago
by Mr.M
Thanks, as of using document complete I was using it and it is where I try to find the elements but it doesn't find any. You can try it on your end with the same url and see if you will be able to fill any of the fields automatically
Re: How To Send MYSQL Data To An Email
Programming
Web Development
4 Days Ago
by Davidmenk3
Looks like your email issue is causing more drama than a bad Wi-Fi connection! The problem is in $query["SELECT * FROM demo ORDER BY ID DESC LIMIT 1"];—this syntax is invalid. Fix it to $query = "SELECT * FROM demo ORDER BY ID DESC LIMIT 1";. Also, fetch the data properly and append it to $body like this: $row = …
C code for library management system
Programming
3 Weeks Ago
by Likitha M
C
code
for library management system
How do I establish an open connection to an open web browser in C#?
Programming
Software Development
4 Weeks Ago
by complete
… C#? In a Microsoft C# program using a Visual Studio
Code
I am using the following namespaces: using OpenQA.Selenium; using…/Direct/01.png) shows that the web browser that my
code
launches through selenium commands has a label on it, "… other than Chrome? How would I do that in C#
code
?
Show selected option id
Programming
Web Development
1 Week Ago
by Mr.M
… get selected option id, the problem with my
code
is that it is only showing or returning the…click other options it doesn't return them. Heres my
code
var xid = $('#managsel option:selected').attr('id'); alert… " + xid); Here is my select option
code
NB: The
code
is generated by php. <select class="form…
Re: Show selected option id
Programming
Web Development
1 Week Ago
by ohmyposh
The
code
listens for a change event on a <select> element and displays the value (ID) of the selected option in a paragraph. It updates dynamically when the user selects a different option.
Re: Show selected option id
Programming
Web Development
1 Week Ago
by Mr.M
What I mean is that I have a table that is dynamically generated with and each record generate the same select as you can see above. Now the problem is that the
code
only work with the first table record select, from the table.
Re: Show selected option id
Programming
Web Development
1 Week Ago
by Mr.M
I have many select with the same id and I need to get their options id when that particular select is changed. The
code
that I have only work or gets one select and does not work on the rest of the selects except the first one. I've also tried using a query select all but that doesn't even work with the first one as well.
Re: How do I establish an open connection to an open web browser in C#?
Programming
Software Development
1 Week Ago
by skynode
…., chrome.exe --remote-debugging-port=9222). Then, in your C#
code
, use ChromeOptions with the DebuggerAddress set to the same port…
Re: How To Send MYSQL Data To An Email
Programming
Web Development
1 Week Ago
by Dani
It's incredibly hard to read your
code
because it is not properly indented. That aside, a quick …/en/mysqli.real-escape-string.php) as so (my example
code
uses the MySQL instead of the MySQLi library, even though…
Re: I am back after a hiatus, I want to help!
Programming
Web Development
1 Week Ago
by Dani
Hello and welcome back!! You can post random
code
snippets by clicking on the [Contribute](https://www.daniweb.com/… and then under Topic Type, change it to "Reusable
Code
Snippet". You can also contribute new topics by using…
Re: I am having an issue with GMAIL SMTP in a C# program
Programming
Software Development
3 Weeks Ago
by vivetool
Make sure you're using the correct SMTP settings for Gmail in your C#
code
(smtp.gmail.com, port 587 for TLS or 465 for SSL). Ensure that "Less Secure Apps" is enabled or use an App Password if 2FA is on. Check if firewall/antivirus is blocking the connection and verify IMAP/SMTP is enabled in Gmail settings.
How To Send MYSQL Data To An Email
Programming
Web Development
2 Weeks Ago
by rasputin009
…; is not going as inline text. Please help me. Sample
code
is given below. ` <?php define('DB_NAME', 'XXXXXXX'); define('DB_USER…
Re: create table in ms access dynamically
Programming
Software Development
2 Weeks Ago
by Emil_9
i have this
code
worked for me. thanks for the idea. Sub createTblOnTheFly() Dim …
What are the key differences between var, let, and const in JavaScript?
Programming
Web Development
2 Weeks Ago
by VSURE
var is function-scoped and allows redeclaration, which can cause bugs. let is block-scoped and doesn't allow redeclaration, making it safer. const is also block-scoped but used for values that shouldn't change. Use let for variables that may change and const for constants. Avoid var in modern JavaScript for cleaner, predictable
code
.
I am back after a hiatus, I want to help!
Programming
Web Development
1 Week Ago
by PsychicTide
… a web developer. Is there a section to post random
code
snippets for tasks that may help others? I can't…
Re: I am back after a hiatus, I want to help!
Programming
Web Development
1 Week Ago
by PsychicTide
Thank you for the response! How do I view the "Reusable
Code
Snippet" section of things already posted? doesn't seem to be obvious.
Re: CSS / JavaScript (jQuery)... enable/disable scroll on popup
Programming
Web Development
2 Weeks Ago
by PsychicTide
… this was a classic case of looking at the same
code
too long and burned out my mind. I added the… are not scrollable. Below is the final result of the
code
which seems to work fine... The JS for clicking a…
Re: Why my created link is not updating as a backlinks?
Digital Media
Digital Marketing
Search Engine Strategies
3 Weeks Ago
by davidharris
… checking them through an extension or by reviewing the source
code
. If you're already building backlinks on indexable domains and…
Re: php runs a 3d object flashMovie?
Programming
Web Development
1 Week Ago
by hostbet
… that the Flash file (e.g., jet_copter.swf) has ActionScript
code
to handle the arrow keys and other inputs.
Re: Necessary tips for a Java programming learning application
Programming
1 Week Ago
by PabloRef
… puzzle!) or having students guess what will happen to the
code
before running it - it's like a detective game! You…
Re: Google Maps-checkbox php mysql query to display selected fields
Programming
Web Development
2 Weeks Ago
by hostbet
To display markers dynamically on a Google map based on selected area codes and a price range, you can use checkboxes for area codes and a dropdown for price selection. When the user selects filters, an AJAX request is sent to the server (e.g., fetchMarkers.php), which queries the database and returns the results in JSON format. The JavaScript then…
Re: Show selected option id
Programming
Web Development
1 Week Ago
by Mr.M
I've managed to use an alternative, instead of this approach I've changed and used a function call `onChange="Myfunction(this);"` and I then reference to the dom element returned to get it option selected id. It is now working accordingly.
Re: Show selected option id
Programming
Web Development
1 Week Ago
by gediminas.bukauskas.7
Multi-select would have multiple attribute <select ... multiple>. An example of retrieving all selected values is provided on site "https://stackoverflow.com/questions/5866169/how-to-get-all-selected-values-of-a-multiple-select-box". Read answer #85.
1
2
3
17
Next
Last
Search
Search
Forum Categories
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
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC