QUESTIONS

answers  2
views  570
votes  0

[Question] UPDATE from SELECT in SQL Server  

How can I update/modify the contents of a table, by using a subset of data obtained from secondary SQL query statement?
Oct 13, 2016
Alaattin Snijder
{ 50 - 1 - 0 }
answers  2
views  431
votes  0

[Question] Let text field only accept numerical values using jQuery  

I have a following input text field: <p>Age: <input type="text" id="age"></p> I need that the user should be able to type only numeric characters 0-9 in this field. How is it possible using jQuery?
Oct 12, 2016
Klement Koranteng
{ 50 - 1 - 0 }
answers  2
views  200
votes  0

[Question] Enable and Disable the input text fields using JavaScript or jQuery  

Consider this piece of HTML code: <body> Name: <input type="text" id="name"><br> Email: <input type="text" id="email"><br> <input id="btnEnableAll" type="button" value="Enable All"/> <input id ...
Oct 03, 2016
Vanja Paterno
{ 50 - 1 - 0 }
answers  2
views  198
votes  0

[Question] Get text and value of selected drop-down list option using jQuery  

I have the following select element: <select id="countries"> <option value="AR">Argentina</option> <option value="AU">Australia</option> <option value="AT">Austria</option> <option value="AF"> ...
Oct 01, 2016
Ezio Mayur
{ 54 - 1 - 0 }
answers  2
views  175
votes  0

[Question] Scroll to Top using JavaScript/jQuery  

I have infinite scrolling implemented in a page. I need to provide a button or a simple link which when clicked lets the user scroll to the top of the page. How can I implement it using jQuery or plai ...
Sep 30, 2016
Marijo Jordan
{ 50 - 1 - 0 }
answers  2
views  184
votes  0

[Question] Change an element's id using jQuery  

Consider this HTML snippet... <div style="width:300px;" class="siblings"> <ul> <li>Rupee</li> <li>Pound</li> <li id="usaCurrency">Dollar</li> <li>Franc</li> </ul> </div> Is it po ...
Sep 28, 2016
Klement Koranteng
{ 50 - 1 - 0 }
answers  1
views  235
votes  0

[Question] Find element by index in jQuery  

I have the following HTML content <div> <ul> <li>USA</li> <li>UK</li> <li>France</li> <li>Russia</li> <li>Belgium</li> <li>India</li> </ul> </div> <input id="btnHighlight" ...
Sep 27, 2016
Marijo Jordan
{ 50 - 1 - 0 }
answers  1
views  127
votes  0

[Question] Capture Hover event using jQuery  

The default background color of a "p" element is aqua. How can I change it to coral color when the mouse pointer hovers over the element?
Sep 27, 2016
Giacobbe Baldassare
{ 50 - 1 - 0 }
answers  1
views  192
votes  0

[Question] Getting and Setting the value from an input text field with jQuery  

I have an input text field <input type="text" id="empName"/> I need to write a value to this field and retrieve the existing value using jQuery? How can I do that?
Sep 23, 2016
Vanja Paterno
{ 50 - 1 - 0 }
answers  0
views  121
votes  0

[Question] How do I prevent SQL injection in .NET?  

How do I prevent sql injection in .NET? I would like to know how to do this in two different data access technologies: ADO.NET Entity Framework Thanks.
Sep 21, 2016
Harkrishna Nair
{ 50 - 1 - 0 }
answers  0
views  165
votes  0

[Article] IO Streams in .NET - Part 2  

This is in continuation to IO Streams in .NET - Part 1 Streams I/O is an acronym for Input-Output. I/O involves the transfer of data between a program and any kind of I/O device. The I/O devices are r ...
Sep 19, 2016
Leonard Alex Smith
{ 50 - 1 - 0 }
answers  0
views  246
votes  0

[Article] IO Streams in .NET - Part 1  

Character Encoding Character Repertoire refers to a set of distinct characters. The characters include letters, numerals, and other symbols. Character Code refers to a mapping in tabular form. Each ch ...
Sep 19, 2016
Leonard Alex Smith
{ 50 - 1 - 0 }
answers  0
views  228
votes  0

[Article] JavaScript runtime: Call Stack and Event Queue - Part 5  

This is in continuation to JavaScript runtime: Call Stack and Event Queue - Part 4 <!DOCTYPE html> <html> <head> <title>Stack-Queue</title> <link href="assets/css/bootstrap.css" rel="stylesh ...
Sep 12, 2016
Raman Dhingra
{ 80 - 2 - 0 }
answers  0
views  291
votes  0

[Article] JavaScript runtime: Call Stack and Event Queue - Part 4  

This is in continuation to JavaScript runtime: Call Stack and Event Queue - Part 3 The setTimeout() is the JavaScript's asynchronous function. It accepts two arguments: a callback function and a time ...
Sep 12, 2016
Raman Dhingra
{ 80 - 2 - 0 }
answers  0
views  249
votes  0

[Article] JavaScript runtime: Call Stack and Event Queue - Part 3  

Registering callbacks in the Event Table This is in continuation to JavaScript runtime: Call Stack and Event Queue - Part 2 When the following code is executed, btn.addEventListener('click', functio ...
Sep 12, 2016
Raman Dhingra
{ 80 - 2 - 0 }
99  posts
You may also like
When to use 'ref' and 'out' keywords - specifically with strings?
Visual Studio 2015 F10 Debugger key not working
Horizontally centering a <div> inside another <div>
How to Encrypt and Decrypt a string in C#
Server Side Rendering in JavaScript?
Curlybrackets Software
The source code for Curlybrackets (C#/.NET/SQL Server) is available for purchase here. Start your own Q+A site now!

Easily create custom post types: messages, ideas, questions, tickets, whatever.

The Software Pack is a great place to start your corporate Q+A customer support site.