Unnamed: 0 int64 302 6.03M | Id int64 303 6.03M | Title stringlengths 12 149 | input stringlengths 25 3.08k | output stringclasses 181
values | Tag_Number stringclasses 181
values |
|---|---|---|---|---|---|
3,674,613 | 3,674,614 | Focus on div element | <p>I have a web page. It has too much height; in that page I have a div in the bottom of the page. I want to display the div in the center portion of the page. It’s appearing in the center of the page at the bottom position as in a way i like , but scrolling is needed. Is it possible to set focus on that div without sc... | php javascript | [2, 3] |
602,297 | 602,298 | ASP.Net, Copy image from clipboard using javascript for IE | <p>How to copy clipboard image to web browser.
Consider below sample. On button click , I would like to copy the clipboard image to div id , but this does not work. If I paste text from clipboard it works, Pls suggest.</p>
function PasteFromClipBoard() {
var _selection = document.getElementById('p... | javascript asp.net | [3, 9] |
835,383 | 835,384 | FileUploder get file full path using jquery | <p>I use below code for getting full file path </p>
<p>My problem is using file.value in firefox only get my file name but in ie it get file full path </p>
<pre><code> function setImage(file) {
document.getElementById('prevImage').src = file.value;
}
<asp:FileUpload ID="fup" runat="server... | javascript jquery asp.net | [3, 5, 9] |
1,544,672 | 1,544,673 | passing parameter from aspx to javascript issue | <p>I write code in asp.net backend to pass parameter, however, I found that it does not work if the parameter is so long.
In the backend:</p>
<pre><code>folderList.InnerHtml += "<span onclick='AttachId(" + folder.Id + ")'>" + folder.DisplayName + "</span>";
</code></pre>
<p>In the frontend:</p>
<pre><cod... | c# javascript asp.net | [0, 3, 9] |
3,635,745 | 3,635,746 | Javascript take script server side | <p>How can I take this code</p>
<pre><code><script>
var arr = [<%= myArray %>+<%= my2Array %>];
var sorted_arr = arr.sort();
var results = [];
for (var i = 0; i < arr.length - 1; i += 1) {
if (sorted_arr[i + 1] == sorted_arr[i]) {
results.push(sorted_arr[i]);
... | asp.net javascript | [9, 3] |
1,642,361 | 1,642,362 | What is the purpose of $.fn.foo.Constructor = Foo in Twitter Bootstrap JS | <p>All of the jQuery plugins for Twitter Bootstrap follow the same basic pattern of defining a class that controls the behavior of the plugin. Near the end, they do this:</p>
<pre><code>$.fn.alert.Constructor = Alert
</code></pre>
<p>What is this doing?</p>
<p>I assume that this is defining a prototype constructor, ... | javascript jquery | [3, 5] |
3,569,677 | 3,569,678 | Question marks in string due to character encoding in Request.Form | <p>I have a textarea where I type some unicode characters which become question marks by the time the string reaches the server.
On the input I typed the following:</p>
<blockquote>
<p>Don’t “quote” me on that.</p>
</blockquote>
<p>On the server I checked <code>Request.Form["fieldID"]</code> in <code>Page_Load()</c... | c# asp.net | [0, 9] |
1,717,795 | 1,717,796 | How to call an event handler dynamically and get its return value in javascript? | <p>I asked a question yesterday, I accepted the answer, but sometime later, I came to know that the solution was not complete. The question is :-</p>
<p><a href="http://stackoverflow.com/questions/6996830/insert-a-jquery-click-handler-that-executes-before-the-ones-already-registered">Insert a JQuery click handler that... | javascript jquery | [3, 5] |
2,785,120 | 2,785,121 | display div according to scrolbar location | <p>I want to display a pop up window (div) using jquery animate ('top' and 'left' according to the user loaction )</p>
<p>I want this popup (top position) to be display according to the user location in the page(if the user scroll down the page ,the poup will be display in the user's location on this page)</p>
<p>I ... | javascript jquery | [3, 5] |
5,163,409 | 5,163,410 | How to run a .py (Python) file in ASP.NET? | <p>I have a GetList.py file which consumes Web Service and saves the output in XML on the server.</p>
<p>How do I invoke GetList.py so it saves the output in XML on the server before displaying the XML output in .ASPX page?</p>
| asp.net python | [9, 7] |
5,935,873 | 5,935,874 | how to open screen on full screen | <p>how i can open my asp.net program on full screen (like i press F11)</p>
<p>Through C# code ?</p>
<p>thanks</p>
| c# asp.net | [0, 9] |
5,436,850 | 5,436,851 | Multi-line string insert using jQuery | <pre><code>$("#addSelect").click(function() {
$("#optionsForm").after("Hello world.");
} );
</code></pre>
<p>This works.</p>
<pre><code>$("#addSelect").click(function() {
$("#optionsForm").after("<tr>
<td><input type="text" class="optionField" value="Options" /></td>
&l... | javascript jquery | [3, 5] |
2,463,090 | 2,463,091 | using jquery for Calculate total images in <id> | <p>I have one div and inside it I have some images for example <code><img src= etc</code></p>
<p>I want to calculate total number of images in that div. Also I want to save these images ID into mysql using PHP...</p>
<p>Thanks</p>
| php jquery | [2, 5] |
2,496,959 | 2,496,960 | Getting total for a column in ListView | <p>I need to get a sum for all items in a column within a listview. I put in the following code in the itemdatabound event, but realized after testing it that it will only be getting what is bound, oops.</p>
<p>So I was looking for a little help converting this to show a total for my column from all items bound to the... | c# asp.net | [0, 9] |
3,701,375 | 3,701,376 | multiple jquery html() assignment not working | <p>I want to show the user a "loader" before and during the ajax call. Here's the code (simplified version...)</p>
<pre><code>$(document).ready(function() {
$("#btn").click(function(){
$("#log").html("loading ajax call...");
anotherFunc();
});
});
function anotherFunc(){
$.ajax({
... | javascript jquery | [3, 5] |
2,015,313 | 2,015,314 | How to use the addChild method of javascript to add a node to my div? | <p>Hello I have a div as follows</p>
<pre><code><div id="test" class="test2">
<p> <a href=""> <a> </p>
<p> <a href=""> <a> </p>
<p> <a href=""> <a> </p>
<p> <a href=""> <a> </p>
</div>
</code></pre>
<p>(I have ... | php javascript | [2, 3] |
2,202,350 | 2,202,351 | Files accessed by aspx webforms and socket server. Lock file management issues | <p>I got a primitive website, where the aspx webform and socket server access flat files, which stores the data. The socket server writes the data to the file with File.Write calls and the aspx webform uses File.Readln calls to read the data from the file. Both the web form and socketserver will be accessing the same e... | c# asp.net | [0, 9] |
5,483,388 | 5,483,389 | Need image validation in php | <p>i'm trying to put validations on image upload code. but not properly working. so please give easy validation code for image upload in following.. image extension validation & image size limit validation. i'm putting on my upload code as..</p>
<pre><code><form action="<?php $_SERVER['PHP_SELF'];?>" meth... | php javascript | [2, 3] |
1,404,523 | 1,404,524 | Sorting in drop down list in jquery | <p>I am little bit confuse on how to apply sorting on dropdownlist in jquery</p>
<p>e.g apple,cat,truck,APPLE,CAT,TRUCK</p>
<p>it should be like in drop down list....
apple
APPLE
cat
CAT
truck
TRUCK</p>
<p>how to achieve this in jquery so that it could see the uppercase and lowercase as well.</p>
| javascript jquery | [3, 5] |
1,909,718 | 1,909,719 | How to lock focus in a specific div using javascript/jquery | <p>I am developping some kind of modal popup using jQuery and I have some problems with the focus.</p>
<p>What happens right now, is that when I press the tab key, the focus goes to the controls hidden behind the popup.</p>
<p>Is there a way to force the focus to remain only on the controls in the popup window ?</p>
| javascript jquery | [3, 5] |
3,772,266 | 3,772,267 | recursively collect paths of a given root dir, when tens of millions files expected | <p>I need to create a list/lists of file paths under a given root directory,
when I expect the number of files under this directory to be tens of millions.</p>
<p>What would be a good and efficient way to do this?</p>
<p>I currently run a python script which runs os.walk multithreaded.</p>
<p>Any better way to achi... | java python | [1, 7] |
1,071,948 | 1,071,949 | Adding onclick Attribute to <a> tag using JQuery | <p>I have a link button that I want to change it <code>onclick</code> callback function when clicked:</p>
<p>I am using <code>.attr()</code> to change the <code>onclick</code> event but it simply doesn't work.</p>
<pre><code>$('#' + test).text('Unlike');
$('#' + test).attr("onclick", "return deleteLikeComment('"
... | javascript jquery | [3, 5] |
714,266 | 714,267 | Javascript/Jquery- "$ is not defined- $function()" Error | <p>I am trying to run a javascript/jquery function that is triggered by clicking an option in the select box. While debugging for some reason firebug finds the error: "$ is not defined $(function()". The javascript is placed inside a file called core.js and referenced on index.php. Why is the script is not running at a... | javascript jquery | [3, 5] |
2,998,763 | 2,998,764 | Model not showing when creating a controller class | <p>For some reason the add controller class dialog isn't picking up on the Movies, and MovieDBContext classing. I'm new to ASP.NET and Visual Studio 2010, is there something which I should do for the classes to show here?</p>
<p><img src="http://imgur.com/Ylnmn.png" alt="Screenshot"></p>
| c# asp.net | [0, 9] |
3,940,635 | 3,940,636 | jQuery help: How can i hide divisions? | <pre><code><div id="rightside">
<div id="rightsideone" >
<div class="class_color_title" ></div>
<div id="id_color_archive" ></div>
</div>
<div id="rightsidetwo">
<div class="class_color_title" ></div>
<div id=... | javascript jquery | [3, 5] |
2,016,509 | 2,016,510 | conflict mulitple .load() events of jquery | <p>i have load the data with the <code>$('#result').load('test.php')</code> file, that is completely working properly. </p>
<p>here is the <code>test.php</code> screenshoot
<img src="http://i.stack.imgur.com/adgb7.jpg" alt="enter image description here"></p>
<p>now here is my loaded file in lightbox:
<img src="http:... | javascript jquery | [3, 5] |
1,728,298 | 1,728,299 | Does an alternative to .closest() exist? | <p>this is a snippet from my code:</p>
<pre><code>$("#myid").append($("p:contains('text')").closest("div").clone());
</code></pre>
<p>I tried to get the first closest ancestor div-element of p containing 'text'.</p>
<p>I'm looking for an alternative to .closest() because I have to use j... | javascript jquery | [3, 5] |
277,933 | 277,934 | Maintain return URL in live id integration | <p>I am creating an application in which I am using Live Id authentication. When the user tries to access an authenticated page, I am redirecting the user to Live Id sign in page. Is it possible to return the user to the previously asked page (from which he was redirected). Some thing like return URL.</p>
<p>Actually ... | c# asp.net | [0, 9] |
2,607,768 | 2,607,769 | Control where typing starts in input field | <p>Is it possible to control where in an input typing starts on focus?</p>
<p>e.g. </p>
<pre><code><input type="text" value="(+44)" id="phone_number" />
</code></pre>
<p>I need the user's typing to begin after the existing value, but leave the option to backspace and delete.</p>
<p>Something like:</p>
<pre>... | javascript jquery | [3, 5] |
684,269 | 684,270 | Use URL on Android throws IOException: Malformed ipv6 address | <p>I want to send the data on the android emulator to the local host web, and get some results.</p>
<pre><code>String temp = "http://10.0.2.2:8888/json/rec?user_data=" + user_data + "&friends=" + friends;
URL url = new URL(temp);
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
urlConne... | java android | [1, 4] |
4,769,054 | 4,769,055 | How can I grab an element inside of an <li> in jQuery? | <p>I have the following <code><li></code> - there are many of these, but this is just one example:</p>
<pre><code><li class="ui-li ui-li-static ui-body-d ui-li-has-icon io-sidebar-link io-sidebar-link-standard" data-theme="d" io-sidebar-section="0aa210f2-e811-4bae-aac0-649bf87fb240" io-object-view="/cms?url=u... | javascript jquery | [3, 5] |
4,423,241 | 4,423,242 | Bind formview to datatable programmatically in C# | <p>I'm new to C# and I want to know how to bind a FormView from the code behind with a datatable. Thanks. </p>
| c# asp.net | [0, 9] |
134,544 | 134,545 | Is there any opensource “MSWord doc to PDF” convert library available | <p>I am trying to convert word(.doc/.docx format) into PDF on android device. Is there an opensource solution where I can use as a java library or something?.
Thanks..</p>
| java android | [1, 4] |
2,372,765 | 2,372,766 | jQuery element.remove undo | <p>I have code(thanks to roosteronacid) which removes web page elements when user click on them. I need to add additional functionality to undo action - revert removed elements. Any idea how to do element.remove undo with jQuery?</p>
<p>Regards,
Tomas</p>
| javascript jquery | [3, 5] |
2,637,971 | 2,637,972 | IF File Exists Javascript | <p>Can anyone see anything wrong with this? It stops the image changing when the image is not here as I want but it does not change the image all the time when it does!</p>
<p>Cheers,
Shaun </p>
<pre><code>var myFile = "/_images/multi/" + productCode + "/" + imgCodeAlt + "_l.jpg";
if (myFile.exists()) {
$("#i... | php javascript | [2, 3] |
3,564,802 | 3,564,803 | Check presence of an element with jquery | <p>I have a page in which i need to check the presence of a HTML element dynamically.Therefore I need to know the correct way of doing this</p>
| javascript jquery | [3, 5] |
5,130,746 | 5,130,747 | Set the value of an input tag with type="password" using C# and ASP.Net | <p>So I have this input tag:</p>
<pre><code><input type="password" id="password" name="password" runat="server" />
</code></pre>
<p>I'm trying to set its value using C# and ASP.Net before the page loads, but I can't get it to work.</p>
| c# asp.net | [0, 9] |
4,954,233 | 4,954,234 | unable to get tooltip to work when usingjQuery load() content | <p>I am having problem getting my tooltip to work when using the jQuery load() function. The tooltip works fine if i don't use load() to load external dynamic data. </p>
<p>I googled and found the i may need to use live(), but I can't figure how to get it to work. Any suggestion?</p>
<p>thank you!!</p>
<p>Here is my... | javascript jquery | [3, 5] |
2,998,378 | 2,998,379 | Cannot allow duplicate enty in textboxes using jquery | <p>i have a text boxes in every row with same name like this</p>
<pre><code> <tr>
<g:textField name ="point" value = "" class = "destination_points" id ="point_0" />
<input type ="hidden" value ="" name ="pointDistanceMapping.point.id" id ="point_id_0" class="point_id"/>
</tr>
&l... | javascript jquery | [3, 5] |
2,439,392 | 2,439,393 | wordpress wp_enqueue_script() not working | <p>I'm trying to add this social-network button:</p>
<pre><code><a href="http://svejo.net/submit/?url=[your url]"
data-url="[your url]"
data-type="compact"
id="svejo-button">Add in Svejo</a>
<script type="text/javascript" src="http://svejo.net/javascripts/svejo-button.js"></script&g... | php javascript | [2, 3] |
4,801,179 | 4,801,180 | Getting system Mydocument path using C#.net(Web based Application) | <p>Am using C#.net(Web based) and Am trying to get Mydocument file path using following code </p>
<pre><code> Label1.Text = System.Environment.GetEnvironmentVariable("USERPROFILE") +"\\My Documents\\";
or
Label1.Text = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
</code>... | c# asp.net | [0, 9] |
286,097 | 286,098 | Difference between $('selecttor')[0] ,$('selector').eq(index) in jquery | <p>What is the difference between <code>$('#div1 a')[0]</code> and <code>$('#div1 a').eq(0)</code> for the following markup</p>
<pre><code><div id="div1">
<a href="#">click</a>
</div>.
</code></pre>
<p>Please Help.</p>
| javascript jquery | [3, 5] |
4,778,060 | 4,778,061 | Jquery image scroller not switching to next image | <p>I have an image scroller that I am trying to implement. The image scrolling works, but it is moving vertically instead of horizontally. Here is what I got so far:</p>
<pre><code><a href = "#" id = "btnNext">Next Image</a>
$('#btnNext').click(function () {
//Calls new image with value true, meaning ... | javascript jquery | [3, 5] |
5,940,638 | 5,940,639 | Conditional image path using Eval | <p>I have two images progress.png and completed.png. Depending on the status in the db table (In Progress of Complete), I want to display the appropriate image. What is the correct syntax for the IIF() statement within asp.net? Thanks for your help.</p>
<pre><code>pseudocode:
<asp:image ImageUrl='<%# IIF(Eval("... | c# asp.net | [0, 9] |
2,355,213 | 2,355,214 | C# - how to retrieve items you ave added using Attributes.Add? | <p>I have a textbox which I have added an attribute to using the following code:</p>
<pre><code>TextBox1.Attributes.Add("type", "textbox");
</code></pre>
<p>I have searched on the net but couldn't find any examples. How can I retrieve the value stored for the "type" key?</p>
| c# asp.net | [0, 9] |
1,291,260 | 1,291,261 | Highlight zone to be completed | <p>In my drag and drop game there is a grid that is populated with words that are hidden from the user. The aim of the game is to spell these words with the aid of a sound and a picture. The user spells a word by dragging and dropping the relevant letters onto the grid. </p>
<p>At the moment the user can drag and drop... | javascript jquery | [3, 5] |
4,409,973 | 4,409,974 | selectors via jquery | <p>Is there any way to write the following code working with innerHTML in the compact platform-independent way (probably using jquery)?</p>
<p>The point is that IE names tags in different case in innerHTML, so I need two if clauses to handle that. toLowerCase does not help when it comes to quotes.</p>
<pre><code>var ... | javascript jquery | [3, 5] |
3,571,216 | 3,571,217 | Passing Looped Array Values From PHP to JavaScript & JQuery | <p>I am trying to make a search box in my web application, and I used ajax post to make a request to my server. My question is:</p>
<p>Is it possible to send looped array values from PHP to my JavaScript?
I want to get all of the results from my server.</p>
<p>CLIENT SIDE: Ajax POST request</p>
<pre><code><script... | php jquery | [2, 5] |
838,967 | 838,968 | Creating DOM 'option' elements with 'selected' attribute | <p>Why does this code would work fine in jQuery 1.5 and not in jQuery 1.6? Was there a known change to how jquery creates DOM nodes between these two versions?</p>
<pre><code>var birth = new Date(),
current = new Date().getFullYear() - 13,
year = $('select#year'),
i = 0;
birth.setFullYear(1992, 10, 3);
whi... | javascript jquery | [3, 5] |
3,364,110 | 3,364,111 | Converting image to text using ocr in c# asp.net | <p>I am trying to convert a image to text using OCR library with the source code provided on below link</p>
<p><a href="http://www.codeproject.com/Articles/41709/How-To-Use-Office-2007-OCR-Using-C" rel="nofollow">Converting image to text using ocr</a></p>
<p>But i get the below annoying exception every time i do</p>
... | c# asp.net | [0, 9] |
2,619,141 | 2,619,142 | How To Send Data From One Page To Another Such That Page Do Not Navigate C# Web Application | <p>i want to navigate only data from one page to another i am using this code to navigate data to another page that is,</p>
<pre><code>FROM FIRST PAGE
Response.Redirect("testing.aspx?Parameter=" + txtCommission.Text);
To SECOND PAGE
txtCommission.Text = Request.QueryString["Parameter"].ToString();
</code></pre>
<p>b... | c# asp.net | [0, 9] |
929,150 | 929,151 | How can get length on checked checkbox array javascript | <pre><code><form name='form1' >
<input type=checkbox name='cbox[]' />
</form>
<script>
var checkbox = document.getElementsByName('ckbox[]')
var ln = checkbox.length
alert(ln)
</script>
</code></pre>
<p>How can I count only the checked checkboxes with javascript or jQuery?</p>... | javascript jquery | [3, 5] |
3,062,419 | 3,062,420 | Sending variable to PHP through jQuery and back | <p>I am trying to create a kind of request where registered members see posts of other registered members. They might choose to connect with them before they can be able to comment on the post. What I want is to use jQuery to send the request to PHP which in turn inserts into the database with a status <code>connection... | php jquery | [2, 5] |
3,607,481 | 3,607,482 | add class to the children if parent has a "translate" class and remove "translate" class of the parent after | <p>have any idea for this?</p>
<p>example code:</p>
<pre><code><td>
<div class="translate">
<p><span>Hello world</span></p>
<p><strong>hellow <span>there</span></strong</p>
</div>
</td>
</code></pre>
<p>the output should be... | javascript jquery | [3, 5] |
2,885,541 | 2,885,542 | Setting minimum date to date picked in previous datepicker | <p>I have two date pickers. A <code>startdate</code> and an <code>enddate</code>.</p>
<p>The way I have the code set up is that the second datepicker won't be initiated until the first one has been changed. The <code>enddate</code> datepicker is initialized with the current date on <code>startdate</code>. The only pro... | javascript jquery | [3, 5] |
1,435,010 | 1,435,011 | How do I limit the number of selected option tags within a select tag in jQuery and javascript? | <p>I am trying to use jQuery to limit the number of selected option tags in jQuery to 100. What am I doing wrong? The select tag looks like this:</p>
<pre>
<select name="order">
<option value="1" selected>Order Name</option> ...
</pre>
<p>after a user selects one or more option tags... Still not ... | javascript jquery | [3, 5] |
195,976 | 195,977 | What is the equivalent of Java's SimpleDateFormat class in C#? | <p>Anyone knows an equivalent class of Java's SimpleDateFormat in C#? I wonder if i can convert the following java code using Custom Date and Time Format Strings in C#</p>
<pre><code> SimpleDateFormat format = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss z", Locale.US);
TimeZone tz = TimeZone.getDefault();
format... | c# java | [0, 1] |
1,583,745 | 1,583,746 | if statement within jQuery timepicker | <p>I'm pretty new to javascript and jQuery, but I managed to get Trent Richardson's jQuery Timepicker, <a href="http://trentrichardson.com/examples/timepicker/" rel="nofollow">http://trentrichardson.com/examples/timepicker/</a>.</p>
<p>I added constraints for limiting dates the user can select, but I now need to chang... | javascript jquery | [3, 5] |
4,071,334 | 4,071,335 | Links and on click in ListView? | <p>i used <code>android:autoLink="web"</code> in textview inside a listView, the problem when the listview have a link, it looks like the <code>android:autoLink="web</code>" override the on click function for that listview .
What i need is to be able to click the link and able to click on the listview that contains the... | java android | [1, 4] |
4,657,259 | 4,657,260 | ASP.Net error responses are empty | <p>After transferring from a web site to a web application project we've run into some issues regarding exceptions.</p>
<p>When an exception occurs first of all the debugger doesn't pick it up. Doesn't break, just continues. Breakpoints are triggered!</p>
<p>The result to the browser is literally blank, no result at ... | c# asp.net | [0, 9] |
2,615,484 | 2,615,485 | JQuery Progress Circle + fade page? | <p>Using JQuery how would I make the page dim / fade and display a progress circle in the center which is animated? I'd like to do this when the user fills out a form and clicks submit and is awaiting a response.</p>
| javascript jquery | [3, 5] |
3,157,663 | 3,157,664 | Slide divs like a slideshow, only one at a time should be visible | <p>I want to create a div slider that would have "n" number of images in it which would keep sliding in every few seconds, lets say 3 seconds, automatically. I am not very fluent with javascript. So please a detailed explanation would be very helpful. The below code also to be honest I have copied from google. I am ver... | javascript jquery | [3, 5] |
4,253,650 | 4,253,651 | Facebox plugin fill the box with data and run also code behind | <p>I want to write something in my facebox tag while do something when clicked. It is not possible to do it with href because I am using onClick(==href="__doPostBack()") event.</p>
<p>I tried other ways too like changing the code of facebox plugin, usung faceboxHtml(as below) but nothing! </p>
<pre><code> $('a[rel*... | javascript jquery asp.net | [3, 5, 9] |
5,207,298 | 5,207,299 | jquery append not working in IE/Firefox | <p>I have the following HTML and subsequent jQuery which appends the related HTML elements after the JSON request has been retrieved. </p>
<p>This implementation works in Google Chrome + Android browser + Safari, but is not populating the data in Firefox or Internet Explorer 9. </p>
<p>*<em>*</em> Works in Chrome, A... | javascript jquery | [3, 5] |
4,457,707 | 4,457,708 | Inserting content into iframe javascript | <p>How can we insert the content of 1 iframe into another. Is this possible?</p>
| javascript jquery | [3, 5] |
405,728 | 405,729 | login page in sql server 2005 | <p>Am running asp.net applications with c#.I have developed a login page and gave database connection with sql server 2005.Now I want to check the usename and password in my databse.Only if that both matches my page have to redirects to the next page.Can some suggests the code?</p>
| c# asp.net | [0, 9] |
1,703,577 | 1,703,578 | Using JQuery, what is the best way to set onclick event listeners for radio buttons? | <p>For the following HTML:</p>
<pre><code><form name="myForm">
<label>One<input name="area" type="radio" value="S" /></label>
<label>Two<input name="area" type="radio" value="R" /></label>
<label>Three<input name="area" type="radio" value="O" /></label... | javascript jquery | [3, 5] |
59,310 | 59,311 | how to pass form name dynamically into jquery for validation | <p>i'm using jquery for form validation, where when i click save button, the code is as below</p>
<pre><code><input type="submit" value="Save" id="button" name="Save" onClick="save(this,'/Web/controller',this.form);">
</code></pre>
<p>and the javascript is as below</p>
<pre><code>function save(ele,servlet,form... | javascript jquery | [3, 5] |
467,355 | 467,356 | Javascript (jQuery) flasher effect: how to do that? | <p>I want to make a flasher effect: when hover on some specified field there shows anything (yellow icon in my case) and when mouseout it disappeares.</p>
<p>The problem that there are a lot of such similar fields (they will be the comments in future) so I've tried to do all this in one for cycle. But it's not working... | javascript jquery | [3, 5] |
807,744 | 807,745 | Process a file when user exits page? | <p>this is my code so far, what I'm trying to do is process the io_up.php file when the user leaves the page. It was also be great if i could pause the page load for 3sec after file is processed.</p>
<pre><code><script type="text/javascript">
function setConfirmUnload(on) {
Window.onbeforeunload = (on) ? un... | javascript jquery | [3, 5] |
4,863,350 | 4,863,351 | How to insert first image if no others selected | <p>I am trying to figure out a way to insert the first image of a jquery gallery once it's loaded basically. </p>
<p>I've searched everywhere and can't seem to find anything. I have pasted the code that works so far below. I think I have to put something like: </p>
<pre><code>$(function() {
$(".image").click(funct... | javascript jquery | [3, 5] |
2,696,289 | 2,696,290 | OnKeyUp event with timer? | <p>JQuery is kind of new to me and I set up a search suggestions system using ajax that works great but works pretty slow due to the onKeyUp limitation. After some reading I found that I can set a timer on the event. So what I am trying to do is set a timer on the 'prod-name-input' input field onKeyUp event, so that i... | javascript jquery | [3, 5] |
2,012,990 | 2,012,991 | How can I force a web user to read and check an NDA before proceeding? | <p>Every time a user registers to our site we need to show a NDA (non-disclosure agreement). In order to continue the user has to accept it. My issue is that I have the NDA in all one page and the user does not really read it and accept (like we all do). </p>
<p>What I want is to make sure the user reads the NDA and a... | javascript jquery | [3, 5] |
1,250,877 | 1,250,878 | Create an Event Handler whenever a new Node is added in treeview | <p>I want to write a custom class in which whenevr I add a node to treeview it should call an event. so that I can run it recursively.</p>
| c# asp.net | [0, 9] |
829,990 | 829,991 | access post vars JS or PHP? | <p>I am using jquery to post vars to a php script.</p>
<p>Is it possible to access these vars once the script has posted? If I post the data to the php script, is the only way to access it in the html/js that i posted it from, to send it back from the php script as json?</p>
<p>I cant seem to do it in JS, but even ph... | php jquery | [2, 5] |
2,760,962 | 2,760,963 | Autocomplete text input in reference to the value of another text input | <p>I have two fields, one of which has the <a href="http://www.mix26.com/demo/ajax-autocomplete/test.php" rel="nofollow">jQuery autoComplete plugin</a>.</p>
<pre><code><input type='text' name='primary_diagnosis' id='icd1-diagnosis'/>
<input type='text' name='ICD_No1' id='icd1-num' />
$(document).ready(fun... | php javascript jquery | [2, 3, 5] |
5,362,464 | 5,362,465 | open a file before uploding through file uploder in asp.net | <p>I want to upload an exe to web server from client system through file up-loader and want to run/open that exe before uploading .how can i run/open that exe before uploading it.</p>
| c# asp.net | [0, 9] |
534,246 | 534,247 | How does supersized jQuery plugin generate Image mark up | <p>The other day i was trying to understand how the supersized plugin works, and I was looking forward to using it.</p>
<p>I have downloaded the plugin from the following URL:</p>
<p><a href="http://buildinternet.com/project/supersized/" rel="nofollow">http://buildinternet.com/project/supersized/</a></p>
<p>I was de... | javascript jquery | [3, 5] |
5,156,618 | 5,156,619 | Clicking a Dynamically Generated div that opens another dynamically generated Div | <p>ok, Im going to pass on submitting how I would do this...because I dont want a patch to an otherwise crappy piece of code. Heres what Im trying to do: I use php to output some divs. A corresponding set of divs is generated with the first divs. The whole idea is that when the first div is clicked, the corresponding... | php jquery | [2, 5] |
4,998,372 | 4,998,373 | How to check if a user is holding a key down while he pushes another key? | <p>I have a function that directs a user to another page if the user pushes the right or left key on the keyboard. I need it to check if the user is holding down the CTRL key at the same time, while he pushes left or right, to redirect him. How can i do this?</p>
<p>My code:</p>
<pre><code>$(document).keydown(functio... | javascript jquery | [3, 5] |
285,270 | 285,271 | want to match only whole words in javascript for error | <p>So I am trying to create a little form validation on entering a Name
I want to not allow certain characters, already created names, and internally reserved words. The problem is say when I want to put "posts" in a name it says that it is matching "pos" and fails.</p>
<pre><code>var badchar = new Array('"', "," , "'... | javascript jquery | [3, 5] |
3,629,921 | 3,629,922 | How can I tweet in twitter account from an android imulator? | <p>Here, I have an edit text and a button, I want to tweet what i write something in edit text after clicking the button.</p>
| java android | [1, 4] |
4,657,466 | 4,657,467 | count the number of element of same class in a div? | <p>I have a main div in my page with a specific id. Now some input elements of same class are present in this div. so how can I count the number of these elements of same class in this div using jquery?</p>
| javascript jquery | [3, 5] |
5,437,243 | 5,437,244 | SQLiteConstraintException cause stopping Activity. How can I avoid it? | <p>I have an application which can insert records into a table. The table has a primary key. (licensePlace). I get a SQLiteConstraintException when I try to insert a record whose licensePlace is already exist in the database.</p>
<p>I want to handle this exception in the following way:
In this case the user should get... | java android | [1, 4] |
5,754,516 | 5,754,517 | How to get window "right"? | <p>I'm trying to position a floating tooltip on my webpage, and I want it so that if the tooltip is going to hang over the right edge of the window, it should flip it around the other way. Here's what I've got:</p>
<pre><code>$('[data-tooltip]').mousemove(function(e) {
var left = e.pageX + 1;
if(left + $kewtip... | javascript jquery | [3, 5] |
4,809,857 | 4,809,858 | How to hide a DIV that is produced by an AJAX call? | <p>I have a simple script that closes a DIV. An example is here: <a href="http://jsfiddle.net/22fTm/3/" rel="nofollow">http://jsfiddle.net/22fTm/3/</a></p>
<p>My problem however, is that the DIV "box" is only produced after an ajax call, which is part of a search php script. </p>
<p>Any idea what I need to make this ... | javascript jquery | [3, 5] |
5,230,781 | 5,230,782 | Embedded HTML contains JavaScript function not getting called | <p>In my scenario i am making an ajax request to get some data and then passing its result to some function you can see the code.</p>
<pre><code> $.ajaxSetup({ cache: false });
$.ajax({
url: chartUrl,
type: 'GET',
dataType: 'text',
success: function(result){
UpdateCha... | javascript jquery asp.net | [3, 5, 9] |
955,244 | 955,245 | Is there a way to call Java from JavaScript in Webview? | <p>Is there any way to call Java from JavaScript in Webview like this </p>
<blockquote>
<p><a href="https://github.com/ochameau/NativeBridge" rel="nofollow">https://github.com/ochameau/NativeBridge</a></p>
</blockquote>
<p>in Android?</p>
| javascript android | [3, 4] |
5,449,729 | 5,449,730 | How to kill session in jQuery function when I redirect to the logout page through jQuery? | <p>Hi all,
I have gone through this example to end session when user was inactive for some amount of time which works fine</p>
<p><a href="http://www.philpalmieri.com/js_sandbox/timedLogout/" rel="nofollow">http://www.philpalmieri.com/js_sandbox/timedLogout/</a></p>
<p>But when it redirects back to <code>logout</code... | jquery asp.net | [5, 9] |
521,282 | 521,283 | How to pass js code to string gracefully? | <p>There is my code </p>
<pre><code><input type="radio" name="category" id="elementary" value="elementary" /> 1
<input type="radio" name="category" id="junior" value="junior" /> 2
<input type="radio" name="category" id="senior" value="senior" /> 3
<input type="radio" name="category" id="university... | javascript jquery | [3, 5] |
5,584,023 | 5,584,024 | PHP variable to Javascript variable | <p>I am currently working on making a simple php script to edit certain aspects of a game in JavaScript. When attempting to pass variables from the script to the game using forms, the variable data does not seem to transfer. As of now, the script is meant to edit the RDG value of one player in the game. The code is as ... | php javascript | [2, 3] |
2,381,688 | 2,381,689 | Get minus (-)double value upto 6 point | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/6554569/using-double-up-to-two-decimal-places">Using double up to two decimal places</a> </p>
</blockquote>
<p>Hi i want to convert double value upto 6 point something like if value is ... | java android | [1, 4] |
2,241,169 | 2,241,170 | How to fix this single quotes? | <p>Hi i want this code to be implemented...</p>
<pre><code>var clone = $('<div><p>Email:'+email+'</p><div class="clear"></div>'+s+'<div class="clear"></div>Name: '+username+'</div>');
</code></pre>
<p>and my second string is this </p>
<pre><code><a href="javascript:... | javascript jquery | [3, 5] |
3,342,091 | 3,342,092 | Enter keyword in search box of any website using php script | <p>I am a beginner and i was wondering can we write a code in PHP by which we can enter keyword in search box of any website and submit.</p>
<p>so there will be 2 inputs to this php function:</p>
<pre><code>function enter_keyword($website_url, $keyword)
{
}
function enter_keyword($website_url, $keyword) { }
</code>... | php javascript | [2, 3] |
440,590 | 440,591 | jquery tabs query | <p>how do the tabs on <a href="http://biblia.com/" rel="nofollow">http://biblia.com/</a> work? each click alters the page without any need for page navigation. does anyone know of any jquery plugin that can accomplish the same thing?</p>
<p>many thanks and God bless!</p>
| php jquery | [2, 5] |
3,929,367 | 3,929,368 | How to get Screw Default Buttons plugin working with dynamically added checkboxes? | <p>Here is a cool plugin that let's one easily change the appereance of a radio/checkbox:</p>
<p><a href="http://www.screwdefaultbuttons.com/" rel="nofollow">http://www.screwdefaultbuttons.com/</a></p>
<p>My problem is, that it doesnt work on checkboxes that are dynamically added.</p>
<p>Here is my code:</p>
<pre><... | javascript jquery | [3, 5] |
1,572,748 | 1,572,749 | SelectedIndexChanged | <p>Problem:</p>
<p>SelectedIndexchanged does not fire. I tried investigating with a breakpoint but it does not even get to the event.
I made the event by double clicking on the combobox. But it did not help.
Please advice.</p>
<p>Here is the code:</p>
<pre><code> protected void nav_dd_parent_edit_SelectedIndexCha... | c# javascript asp.net | [0, 3, 9] |
3,716,446 | 3,716,447 | Session and Thread in ASP.NET | <p>I have a ASP.NET website where a thread is responible for doing some code retrived from a database queue.</p>
<p>Is it possible to get access to the Session or pass that as a parameter ?</p>
<p>My current code looks a follows:</p>
<pre><code>MediaJob nextJob = GetNextJobFromDB();
CreateMedia media = new CreateMe... | c# asp.net | [0, 9] |
2,906,524 | 2,906,525 | auto page scroll when page reached 70% of page height using jquery | <p>I have a page that displays users feeds. I've setup 20 feeds per page and after that users can click on "see more" and it will again display 10 more feeds.</p>
<p>But I want to make it like facebook and twitter where pages are automatically scrolled when we go to the bottom. I have modified my javascript to do the ... | javascript jquery | [3, 5] |
323,889 | 323,890 | setTimeout delay not functioning - what have I done wrong? | <p>I've put together a piece of code for a drop-down menu, bound to <code>.hover()</code>, however unfortunately the delay on <code>setTimeout()</code> doesn't seem to work and as soon as the mouse is moved from <code>.button</code>, it sets the display property of <code>#sub-nav</code> to <code>none</code>.</p>
<p>Dr... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.