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 |
|---|---|---|---|---|---|
948,459 | 948,460 | How to hide a div if validation summary is available in javascript/Jquery | <p>How to hide a div if validation summary is available in javascript/Jquery.</p>
| c# asp.net javascript jquery | [0, 9, 3, 5] |
3,044,692 | 3,044,693 | Post from PHP page to Java program and output result | <p>I have a PHP page on one server, which asks for some login details from a user. </p>
<p>I then have a Java application on another server.</p>
<p>I am trying to POST the results from the login form to the Java application, then respond with a yes/no as to whether the details were correct. </p>
<p>Whats the simples... | java php | [1, 2] |
5,664,308 | 5,664,309 | Conversion of Date | <p>I am getting date in two different formats.<br>
1) <code>2012-01-05</code><br>
2) <code>05/01/2012</code><br>
But i want this to be in the below format. <code>"5 Jan 2011"</code> </p>
<p>Please help..
Now i'm having <code>String d1="2012-01-05"</code> and <code>String d2="2012-01-05".</code><br>
urgent..</... | java android | [1, 4] |
5,597,451 | 5,597,452 | Parsing remote JSON using Javascript? | <p>I am building an application using WorldBank API, but WorldBank API does not support JSONP. So is there a way to parse remote JSON using Javascript. Thank You</p>
| javascript jquery | [3, 5] |
2,711,244 | 2,711,245 | Re-usable asp.net web pages | <p>I want to build a re-usable asp.net invoice module. This means that I want to utilise this module from several web-sites. This invoice module wil be indipendant and will have its own business layer with its own business logic.</p>
<p>My question : How do I achieve this seperation with asp.net. The webiste that impl... | c# asp.net | [0, 9] |
4,201,018 | 4,201,019 | Trying to get checkbox label, but getting Object instead | <p>I am using a simple few lines of code to get the labels of checked checkboxes and alert the value. But for some reason the alert shows [object Object] for every checkbox instead of its label. What am I doing wrong?</p>
<pre><code>function validate(){
var interests="";
$('input[type=checkbox]').each(function... | javascript jquery | [3, 5] |
2,528,898 | 2,528,899 | how to stop a toggle script from ending when a link is clicked? | <p>I'm using the below code to show/hide a nav and its children. It is working as intended. When the nav shows, and I click on one of the child links, it closes, and then takes me to a new page.</p>
<pre><code> // swap classes for lower level nav
jQuery('.toggle').click(function() {
$(this).toggleClass('toggle');
... | javascript jquery | [3, 5] |
5,404,031 | 5,404,032 | Wait for animation to complete before continuing in jQuery | <p>Is there anyway to wait for a jQuery animation to finish before proceeding with another command?</p>
<p>For example, I want to fade out/slide up an element, change some items within the element and then fade them back in/slide back down.</p>
<p>If I put the statements one after another, you can see the items chang... | javascript jquery | [3, 5] |
3,661,937 | 3,661,938 | 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] |
3,397,598 | 3,397,599 | Alternative for children() and Slice() Methods in jquery | <p>I am using children() and slice() methods in my script. I need another alternative for that without using this methods.</p>
<p>This is what I have tried:</p>
<p><a href="http://jsfiddle.net/XVdfm/3/" rel="nofollow">http://jsfiddle.net/XVdfm/3/</a></p>
| javascript jquery | [3, 5] |
5,722,749 | 5,722,750 | How can I read this json response "2_1_details":{"latitude":"13.0","longitude":"18.38"} in jQuery | <p>I want to read a JSON response as name and value pairs in my jQuery code. Here is my sample JSON response:</p>
<pre><code>{
"2_1_details":
{"latitude":"13.0","longitude":"18.38"},
"2_4_details":
{"latitude":"13.0","longitude":"18.38"}
}
</code></pre>
| javascript jquery | [3, 5] |
1,694,108 | 1,694,109 | Convert InputStream to String with encoding given in stream data | <p>My input is a InputStream which contains an XML document. Encoding used in XML is unknown and it is defined in the first line of XML document.
From this InputStream, I want to have all document in a String.</p>
<p>To do this, I use a BufferedInputStream to mark the beginning of the file and start reading first line... | java android | [1, 4] |
3,534,296 | 3,534,297 | hover is not working as expected | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/5345892/how-to-get-a-hover-effect-with-jquery-its-not-working-for-me">how to get a hover effect with jQuery?? Its not working for me..</a> </p>
</blockquote>
<p>I was trying to modify a bit in my code. Instead o... | javascript jquery | [3, 5] |
4,823,670 | 4,823,671 | Reference from one .js file to another | <p>I use javascript bookmarklet with reference to extern path</p>
<pre><code>javascript:(function(){var s = document.createElement('script');s.src = 'http://192.168.0.100/my.js';document.body.appendChild(s);})();
</code></pre>
<p>How I can create reference to jQuery.js file that is located in the same directory that ... | javascript jquery | [3, 5] |
899,284 | 899,285 | How to re-label Object in array? | <p>Extending a previous question about JavaScript and jQuery, I'm trying to make an array and then look into it, but the array contains dimensions and I can't get it right..</p>
<pre><code>var markers = [];
$.getJSON('GetList', "id"= + data.id,
function(data){
$.each(data.list, function(index, data)... | javascript jquery | [3, 5] |
282,617 | 282,618 | jquery toggle visibility | <p>I'm tyring to show/hide the content of a link when it's clicked. much like what you see in FAQ pages. Basically I want to get the data-* of the clicked link and display it's content. This is what I've done but it still doesn't work :(.</p>
<p>My html is as follows:</p>
<pre><code><ul>
<li><a dat... | javascript jquery | [3, 5] |
13,247 | 13,248 | Re-setting field value with JQuery | <p>I have the following code:</p>
<pre><code>$('#name1').focus(function() {
if ($(this).val() == 'start value') {
console.log($(this).val()); // this prints "start value"
$(this).val() == ''
}
</code></pre>
<p>What I am trying to do is when a user focuses on the text input <code>#name1</code>,... | javascript jquery | [3, 5] |
3,521,634 | 3,521,635 | JQuery Sync 2 input fields...Can it be done? | <p>Can JQuery Sync or copy the text of one input field to another when input A is modified?</p>
<p>For example:</p>
<pre><code><input id="input_A" type="text" /> ...If I type something here
<input id="input_B" type="text" /> ... It will be copied here
</code></pre>
<p>Can JQuery Do this?</p>
| javascript jquery | [3, 5] |
3,587,295 | 3,587,296 | How to get the full file path | <p>When Im using a file field and browsing an image by its full path
say <code>F:\Images\me.gif</code>.</p>
<p>how can i fetch this full path while submitting the form containing it by using php or javascript?</p>
<p>Thanxx in advance..</p>
| php javascript | [2, 3] |
1,092,537 | 1,092,538 | using jquery, how do I check if an element is visible or not? | <p>I also need to find out all the elements inside a div, and check for their visibility. How to do it?</p>
| javascript jquery | [3, 5] |
5,105,753 | 5,105,754 | jQuery alternative for document.activeElement | <p>What I wanted to do is figure out whenever the user is engaged with an INPUT or TEXTAREA element and set a variable flag to true... and set that flag to false immediately after the user is no longer engaged with them (ie. they've clicked out of the INPUT/TEXTAREA elements). </p>
<p>I used jQuery's docuemnt.ready fu... | javascript jquery | [3, 5] |
3,257,647 | 3,257,648 | Changing the value of String.xml | <p>This Might be a stupid question but please forgive me as I am only a learner.</p>
<p>Is it possible to change the value of player in a method from class if so, please tell me how.</p>
<p><strong>This is part of my R.java</strong></p>
<pre><code> public static final class string {
public static final int pl... | java android | [1, 4] |
418,622 | 418,623 | Best practices for how to Layer a ASP.NET/C# web app | <p>I have been working on an ASP.NET/C# web app for some time and its size has gotten way to large for how it is being programmed. It has become very hard to maintain and getting harder quickly, something that used to take an 1hr to update now takes about 3-4hrs. </p>
<p>I believe that reworking the app to use differe... | c# asp.net | [0, 9] |
2,967,436 | 2,967,437 | How can I do client side text formatting on a Data-bound field inside a repeater? | <p>I have a repeater control with some html controls being populated from some server side DataSource. The code for these controls inside the repeater looks something like this..</p>
<pre><code><img src='<%# DataBinder.Eval(Container.DataItem, "Path")%>' title='<%# DataBinder.Eval(Container.DataItem, "Name... | c# asp.net javascript | [0, 9, 3] |
5,602,273 | 5,602,274 | Suggestions on making this bit of Javascript code sexier? | <p>I'm trying to make a way to add functions under a specific namespace (dpcom). This may be in dot notation depending on what the user did in their javascript file. So basically, what I want them to do is something like this:</p>
<pre><code>dpcom.library('something.foo.funcName', function() {
// Code goes here.
... | javascript jquery | [3, 5] |
3,764,063 | 3,764,064 | problem with inherits and src attributes of page directive | <p>I am having a problem with the page directive. The code behind file is CodeBehind.cs within the namespace <strong>aspnetian</strong>. </p>
<p>when i specify the inherit and src attribute like...</p>
<pre><code><%@ Page Language= "C#" src="~/CodeBehind.cs" inherits="aspnetian.CodeBehind.cs" %>
</code></pre>
... | c# asp.net | [0, 9] |
200,938 | 200,939 | Correctly inputed text changes image | <p>I have been developing a script that when a user types in correctly entered text the images will change the letter, letting the user know they entered it in correctly. </p>
<p>Preview here: Example word is "ate".
<a href="http://jsfiddle.net/wjx6b/2/" rel="nofollow">http://jsfiddle.net/wjx6b/2/</a> </p>
<p>I mad... | javascript jquery | [3, 5] |
1,605,672 | 1,605,673 | Does activity requires Handler in android? | <p>In an Android module, does an activity requires Handler to be defined ?</p>
| java android | [1, 4] |
4,751,579 | 4,751,580 | Jsoup library ,trying to make an Android app which reads data from HTML site | <p>I am facing with an problem which i couldnt fix it for whole day :S,
btw the problem is when I try to parse an html site and if there are data in that html site it works fine, but when there is no data that time it hangs and shows me an error in my LogCat where it says NullPointer, for ex: here we have two links one... | java android | [1, 4] |
1,972,083 | 1,972,084 | How to turn JSON to object literal using PHP and jquery | <p>Is there a concise neat way to turn an XML feed into an JavaScript object literal?</p>
<p>I have this XML feed</p>
<pre><code><jobs>
<industry>
<name>Technology</name>
<area>Refrigiration</area>
<area>Information Technology</area>
... | php javascript jquery | [2, 3, 5] |
715,355 | 715,356 | JQuery Toggle & Image | <p>I have a + icon and a - icon. When someone clicks the + icon a box appears and the icon changes to a - icon. If they click again the box disappears and the icon changes to a + icon. </p>
<p>Here is the code I tried but its not working...</p>
<pre><code>$("#box").toggle(function(e){
$("#icon").attr ("src","... | javascript jquery | [3, 5] |
4,513,517 | 4,513,518 | getElementById is not working in asp.net | <p>In my application i just want to alert the value in the text box using javascript .</p>
<p>aspx page code</p>
<pre><code><%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xh... | javascript asp.net | [3, 9] |
5,415,839 | 5,415,840 | how can I execute a javascript program 30 after page loads | <p>how can I execute a javascript program 30 after page loads, and I have to execute it repeatedly in 30 seconds. I would like to use jquery since I already included in my document</p>
<p>Thank you guys </p>
| javascript jquery | [3, 5] |
5,405,533 | 5,405,534 | ByteBuffer allocateDirect taking a really long time | <p>I'm using float buffers as direct byte buffers as required for opengl drawing in Android. The problem that is that upon creating the byte buffer, the GC goes crazy---as in 30s+ crazy. I'm creating a mesh of 40x40 vertices, or 1600 vertices, or 4800 floats. As per the profiler, the culprit that calls the GC is ByteBu... | java android | [1, 4] |
5,862,043 | 5,862,044 | using Change on an Input and then modifying the input's ATTR? | <p>Given:</p>
<p><strong>html</strong></p>
<pre><code><input checked="checked" class="list_completed_checkbox" id="list_item_completed" name="list_item[completed]" type="checkbox" value="1">
</code></pre>
<p><strong>jQuery:</strong></p>
<pre><code>$('.list_completed_checkbox').change(function() {
$(this).... | javascript jquery | [3, 5] |
1,502,411 | 1,502,412 | jquery trying to delete the highlighted element using keypress event | <p>I am using the following code to highlighting the element :</p>
<pre><code>$(".ss").live({
mouseenter: function () { HighLight(this) },
mouseleave: function () { OffLight(this); },
keypress: function () { KeyOperation(this); }
});
function HightLight(s)
{
$(s).css({border : "1px solid red"});
}
... | javascript jquery | [3, 5] |
3,502,468 | 3,502,469 | JQuery - Slide Example | <p>I want to perform a simple slide motion on an HTML element. JQuery is already available on the site in question so the next logical step for me was to look at their documentation. </p>
<p><a href="http://docs.jquery.com/UI/Effects/Slide" rel="nofollow">JQuery - Slide down</a></p>
<p>When I check out their demo how... | javascript jquery | [3, 5] |
1,341,364 | 1,341,365 | Using jquery to copy a portion of a table in the most optimized way | <p>I am using JQuery to manipulate a page which I do not have access to modify server-side. One of the main things I need to do is create a copy of just a sub-section of one of the tables on the page. More specifically, I need to create 2 tables, one which is a copy of just the first two rows of the table and another... | javascript jquery | [3, 5] |
362,208 | 362,209 | jQuery's .then() not executing onFailure function even though GET request encountered an error | <p>I am trying to convince <a href="http://api.jquery.com/deferred.then/" rel="nofollow">.then()</a> to execute it's failure condition.</p>
<p>I have the following. Note that taskID has been replaced with -1 to induce failure.</p>
<pre><code>load: function (taskID) {
$.when(
$('#OrderDetails').load('../..... | javascript jquery | [3, 5] |
5,119,762 | 5,119,763 | How to get the version name/code on server side using PHP | <p>One of my previous versions is now not supported by the back-end. So, I want to get the version code/name of the application that calls the server, so that the server can respond accordingly.</p>
<p>In later version I will use a header to achieve this. Like this:</p>
<pre><code>httppost = new HttpPost(url);
httppo... | php android | [2, 4] |
1,891,319 | 1,891,320 | Modify object using jQuery.map? | <p>I have a key-value pair like</p>
<p><code>var classes = { red: 'Red', green: 'Green' };</code></p>
<p>How can I prepend each of the keys with a specific value? Could this be done using jQuery.map?</p>
<p>The final result I'm looking for is</p>
<p><code>classes = { 'a-red': 'Red', 'a-green': 'Green' };</code></p>... | javascript jquery | [3, 5] |
5,448,642 | 5,448,643 | ASP button Colors not shown in the Mobile? | <p>I am using ASP and MySQL in my project. I am trying to make Mobile Software works in WiFi. I have put MySQL in Server. And Asp.Net Deployment Package in System IIS. </p>
<p>In that I have Created buttons in running time and gave colors to buttons. When I test it in System Browsers, Its perfectly Working. </p>
<p>... | c# asp.net | [0, 9] |
3,979,240 | 3,979,241 | How to add a new field each time a button is clicked | <p>I want to create a new fileupload field each time i click on a button.
i have a form in a page and i want to add the fields to that form.
i tried to save an array of fileupload fields in a session but it deosnt seem to work.</p>
<pre><code>protected void Page_Load(object sender, EventArgs e)
{
if (!this.IsPostB... | c# asp.net | [0, 9] |
5,369,850 | 5,369,851 | jquery asp.net listview | <p>I have a asp.net webapp and I am using Jquery. I wanted to know how can I pull data out of created table on the client side. I tried a few different ways but known work. I just want to be able to say when click alert the data in the row from a hidden class i got with a UID. Please note this is asp.net not regular ht... | jquery asp.net | [5, 9] |
1,127,684 | 1,127,685 | Creating a key/pair object using jQuery and some inputs | <p>I have a cart on my website and I need to let users easily change the quantity of items they have in their cart at a moment.</p>
<p>Here is the javascript code I have so far:</p>
<pre><code><script type="text/javascript" language="javascript">
$(document).ready(function () {
var items = [];
... | javascript jquery | [3, 5] |
1,394,116 | 1,394,117 | Response.End () doesn't abort current thread | <p>Anybody know why ASP.NET might not abort the current thread with a Response.End()?</p>
<p>Update: Reason being that there is code, albeit not well written, that is getting executed after Response.End(). I've never seen a case where Response.End () didn't stop the current thread from executing.</p>
<pre><code>
pro... | c# asp.net | [0, 9] |
4,412,730 | 4,412,731 | Export a jquery div as a picture | <p>I found a very nice jquery polaroid running in a div.</p>
<p><a href="http://www.marcofolio.net/webdesign/the_polaroid_photo_viewer_non-full_screen.html" rel="nofollow">http://www.marcofolio.net/webdesign/the_polaroid_photo_viewer_non-full_screen.html</a></p>
<p>Is it possible to save the result in a single image?... | java javascript python | [1, 3, 7] |
4,698,917 | 4,698,918 | Does Android application memory limit apply to entire app or per process of app? | <p>I am having an issue hitting the memory limit of my application. My question is if I break my application into a few processes will this allow each process to get a 24mb limit or will all processes add up to hit the 24mb limit?</p>
| java android | [1, 4] |
3,550,812 | 3,550,813 | Download and save image from HTML source | <p>In our application, based on some input data, an image will be rendered. The images are some charts. As part of our test automation I need to download those charts.</p>
<p>I just have image source url. How can I download the image from the source and save it to disk. </p>
<p>I tried of using different methods and ... | c# asp.net | [0, 9] |
1,897,018 | 1,897,019 | The variable name '@Param' has already been declared | <p>I'm geting the following error message for given code when user clicks on search button more than two times. Could some one please help what i'm doing wrong.</p>
<blockquote>
<p>The variable name '@Param' has already
been declared. Variable names must be
unique within a query batch or stored
procedure.</p>
... | c# asp.net | [0, 9] |
88,270 | 88,271 | How to target a div with a class and an inner p tag | <p>I have a structure that looks like this..</p>
<pre><code><div class="infobubble">
<a href="#" class="btn-closebubble"></a>
<p>
PLACE CONTENT HERE
</p>
</div>
</code></pre>
<p>How do I use jquery to target the in <p> tags?</p>
<p>I tried this but did not work.</p>
<pre>... | javascript jquery | [3, 5] |
3,812,399 | 3,812,400 | How to get the $load respond and print it out | <pre><code>var $respond=$("#sql").load("sql/loaduser.php);
</code></pre>
<p>I want to alert the $respond it only gives me object object, how can I see the info, I echo something in php in it, so I want to see that.</p>
| php javascript jquery | [2, 3, 5] |
5,880,738 | 5,880,739 | Is this possible to get full client path in <asp:FileUpload> button? | <p>I have to upload one file from client using Button.I have to get the full client path.for example,</p>
<p>suppose, user uploaded a file from this local machines "d:\my files\docs\test.xml".So, now i want to get the same path("d:\my files\docs\test.xml") to proceed further.how do i get it?</p>
<p>i have used File... | javascript asp.net | [3, 9] |
1,609,544 | 1,609,545 | ASP.Net - How to Encrypt password before login while using Login Control | <p>I'm using the ASP.Net Login control to login a web application. When the user submits the form, I want to call a function to encrypt the password before ASP.Net sends the information for authentication.</p>
<p>I tried to add a Customer Validator on the password field and if the password is not empty, the Password.T... | c# asp.net | [0, 9] |
915,185 | 915,186 | Repeating code block problem | <p>I have the following code in a jQuery JavaScript document running on a page (<b>THIS IS CURRENT</b>):</p>
<pre><code>$(window).resize(function(){
detectscreen();
});
function windowWidth() {
if(!window.innerWidth) {
// user is being a git, using ie
return document.documentElement.clientWidth;
... | javascript jquery | [3, 5] |
43,802 | 43,803 | C# extension methods in a "site.master" template thats wrapped in a namespace quandary | <p>The question is this, why do I need to add an "import" directive on my <strong>Site.Master</strong> file to get Intellisense when the html helpers work without it.</p>
<p>Using a simple C# string extension method without a namespace == no problem. However, I wanted to put this extension in a namespace to be a good ... | c# asp.net | [0, 9] |
3,674,571 | 3,674,572 | jQUery .slideToggle() & .text replace | <p>I've got the following problem (test version available <a href="http://jsfiddle.net/qmP8R/2/" rel="nofollow">http://jsfiddle.net/qmP8R/2/</a>):</p>
<p>I have two <code><div></code> containing two versions of text and a third <code><div></code> used as a "container".</p>
<p>On load the container is popu... | javascript jquery | [3, 5] |
3,370,222 | 3,370,223 | kangamodeling and displaying graphs fails | <p>`Have you any idea why the following code snip I use doesn't produce the expected graph on the browser ?</p>
<p>I have added script tag pointing to latest jquery and kangamodeling's js scripts already.</p>
<p><a href="http://jsfiddle.net/y94Qy/" rel="nofollow">http://jsfiddle.net/y94Qy/</a></p>
<p>Thank you for a... | c# javascript jquery asp.net | [0, 3, 5, 9] |
4,210,341 | 4,210,342 | how to set attributes by jquery and access them by c# | <p>I wanna change or add custom attributes in client side by jquery and check them in server side by c#</p>
<p>(for example add a custom attributed named "Loaded=1" to an image HTML element when the image is loaded successfully and in server side I access to this attribute through Image control Attributes Collection)<... | c# jquery asp.net | [0, 5, 9] |
1,726,558 | 1,726,559 | Finish empty activity | <p>I'm trying to turn screen on using an activity.
I reached my goal, but the activity stays alive.
If I use finish method, it doesn't get closed.</p>
<p>Note: it doesn't work even if I setContentView(...my xml...);</p>
<pre><code>package it.android.smartscreenon;
import android.app.Activity;
import android.os.Bundl... | java android | [1, 4] |
4,352,732 | 4,352,733 | Where to register RegisterClientScriptBlock in ASP.NET? | <p>Where is the best part of asp.net page or code behind to register <code>RegisterClientScriptBlock</code>.</p>
| asp.net javascript | [9, 3] |
4,282,414 | 4,282,415 | generate random numbers(1 TO 90) | <p>Can any one help me...</p>
<p>I want to generate random numbers from (1 to 90) with out <strong>any repeated number</strong>
when loop is end,program should Stops.</p>
<p>Can some one help me,creating with java Script or in java page..!
This is for BINGO GAME..!</p>
| java javascript | [1, 3] |
1,071,886 | 1,071,887 | Referencing Embedded resources from other resources in c# | <p>In my web application I include all of my JavaScripts as js files that are embedded resources in the assembly, and add them to the page using <code>ClientScriptManager.GetWebResourceUrl()</code>. However, in some of my js files, I have references to other static assets like image urls. I would like to make those ass... | c# asp.net javascript | [0, 9, 3] |
4,648,128 | 4,648,129 | Return matched elements' attribute ar array using jQuery | <p>In jQuery, it is easy to select elements as array.</p>
<blockquote>
<p>$("a"); // return as elements array of anchors</p>
</blockquote>
<p>But is it possible to select <strong>matched elements' attributes</strong> as array?</p>
<p>Currently I need to do something like...</p>
<blockquote>
<p>links = [ ]; </p... | javascript jquery | [3, 5] |
3,160,042 | 3,160,043 | How can DOM DocumentFragments help in optimizing dom manipulation? | <p>We are thinking of using <code>DOMDocumentFragments</code> as a candidate for optimizing the dom manipulation code . What do you guys think ?</p>
| javascript jquery | [3, 5] |
2,194,587 | 2,194,588 | Callback after loading scripts works when preceded by alert and doesn't when I delete the alert | <p>First, I load some scripts. Then, once they're loaded, I bind those scripts to the relevant objects. Everything works great when I have the alert() statement there, and fails (i.e. jEditable does not bind) when I don't.</p>
<pre><code>// Load two scripts, execute editor_callback when both are loaded
$(document).r... | javascript jquery | [3, 5] |
1,835,039 | 1,835,040 | Disable upload button after uploading image http://valums.com/ajax-upload/ | <p>I am using this, valums ajax fileupload: <a href="http://valums.com/ajax-upload/" rel="nofollow">http://valums.com/ajax-upload/</a> , It is working fine for me. I want to disable the upload button as I upload an image and want add 2 more buttons beside it "Delete" and "View". How would I do this using existing JS ... | javascript jquery | [3, 5] |
688,720 | 688,721 | Adding functionality to an imageButton in a gridview | <p>I have an ImageButton control as part of a GridView control that is displayed as an ItemTemplate and in the same GridView. I have a regular Button control to which I added some code like this</p>
<pre><code>if (e.CommandName == "addToSession")
{
int index = Convert.ToInt32(e.CommandArgument);
GridViewRow s... | c# asp.net | [0, 9] |
2,819,942 | 2,819,943 | Two equal jQuery scripts with different behavior | <p>I have an script that when click a button do many things and also rename some elements, so at first I use first script and I see sometimes work, sometimes not, so change it to second script and all time worked perfectly, but there is a question. is this two scripts do same? what is the difference, rather than all of... | javascript jquery | [3, 5] |
2,600,521 | 2,600,522 | Arrow animation in jquery | <p>Is it possible to make an animation of this picture[1] to this picture[2] in jquery?. I would like to get "a growing arrow effect". I must admit that after some searching i found nothing and simple </p>
<p><code>$('#img').animate({width: '109px',height: '109px'});</code> </p>
<p>is not enough effect for me. Maybe ... | javascript jquery | [3, 5] |
921,804 | 921,805 | Nested loop in JavaScript/jQuery not working | <p>Im calling a for loop inside a for loop and its not working, here's the code : </p>
<pre><code>function PopulateMonths() {
for (var m = 0; m < 12; m++) {
var $month = $('.d-month').clone();
$month.find('.d-header').text(m);
$month = PopulateDays($month);
$month.appendTo('#diary').show();
$mo... | javascript jquery | [3, 5] |
4,158,157 | 4,158,158 | jQuery to load text file data | <p>I'm trying to load data from a text file on my server using the $.get() function in an external script file. My code is as follows:</p>
<pre><code> /*
* Load sample date
*/
var stringData;
$.get("http://localhost/webpath/graphing/sample_data.txt", function(data){
stringData = data;
//alert(... | javascript jquery | [3, 5] |
4,315,921 | 4,315,922 | looping through javascript array each time starting at new index | <p>i have a javascript array like this:</p>
<pre><code> array = [
{"Command": "SetDuration","QuestionId": "2","NewDuration": "1"},
{"Command": "SetDuration","QuestionId": "2","NewDuration": "1"},
{"Command": "SetDuration","QuestionId": "7","NewDuration": "7"},
{"Command": "SetDuration","QuestionId": "6","NewDu... | javascript jquery | [3, 5] |
1,336,618 | 1,336,619 | Switching from Java to C++: asking advice | <p>I am intermediate to advanced Java developer, working on migrating some Java components to C++. Working on some simple C++ projects in Eclipse has been a humbling experience! I am reading my way through <em>Thinking in C++</em>, and have <em>Effective C++</em> next on my list to read. </p>
<p>There are some basic... | java c++ | [1, 6] |
1,602,793 | 1,602,794 | Jquery radio buttonset() not styling in asp.net | <p>I'm simply trying to get a RadioButtonList to work with Jquery buttonset() styling in ASP.Net, 2010 C#.</p>
<p>When I use the code below, the radio buttons do turn into jquery buttons, but with a white background and no font change. The buttons can be clicked and the values are correct, but appearance of the butto... | jquery asp.net | [5, 9] |
2,455,823 | 2,455,824 | OnClick event for whole page except a div | <p>I'm working on an own combobox control for ASP.Net which should behave like a selectbox, I'm using a textbox, a button and a div as a selectbox replacement. It works fine and looks like this <a href="http://www.indiwa.de/technik/screenshots/combobox%5F20090921.gif" rel="nofollow">Image</a>:</p>
<p>My problem now is... | asp.net javascript | [9, 3] |
2,450,884 | 2,450,885 | asp:imagebutton, change image from javascript / jquery | <p>How can i change the image of an image button clientside, on click.</p>
<p>I have tried this:</p>
<pre><code>function changetoDownload(theId) {
$(theId.id).delay(2000)
.queue(function (next) { $(theId).attr("ImageURL", "Images/Apps/free.png"); next(); });
}
<asp:ImageButton ID="ImageButton1" OnClick="But... | javascript jquery asp.net | [3, 5, 9] |
4,138,700 | 4,138,701 | Trying to start with google translate API and using ready() | <p>I have this code:</p>
<pre><code><script language="javascript" src="http://www.google.com/jsapi"></script>
<script language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.js"></script>
<script language="javascript">
$(document).ready(function() {
} );
... | javascript jquery | [3, 5] |
2,096,467 | 2,096,468 | How to replace a td with elements with empty td | <p>Hi i have a structure like </p>
<pre><code><td valign="top" style="width:150px;" >
<img alt="<recipetitle/>" src="http://<rootweburl/>/photos/recipes/Large/<recipephotoname/>" alt="logo" style="float:left;"/>
</td>
</code></pre>
<p>Where <code><recipetitle/></code> ... | c# asp.net | [0, 9] |
1,447,953 | 1,447,954 | Dynamic Editable Checkbox | <p>I'm trying to build an android activity screen which displays a table with the last column as editable checkbox. Can someone help get started on this?</p>
<p>Also I was wondering if there was a tool like <code>ArrayAdapter</code>, <code>Listadapter</code> which displays your data from an array, except what I want i... | java android | [1, 4] |
5,401,755 | 5,401,756 | How to combine click and hover function together | <p>Hi all i am doing an example for showing <code>tool tip</code> when <code>hover and click</code>. I found many examples but i choose the below to do</p>
<p><a href="http://ara-abcarians.com/jquery/atooltip/#demos" rel="nofollow">http://ara-abcarians.com/jquery/atooltip/#demos</a></p>
<p>Now my question i would lik... | jquery asp.net | [5, 9] |
2,448,252 | 2,448,253 | Restrict user to enter HTML TAGS into a textarea using jquery | <p>I have a textarea field and I want the user to be not able to enter HTML TAGS it to textarea.</p>
<p>Is that possible?</p>
<p><strong>EXAMPLE</strong></p>
<pre><code> <textarea rows="4" cols="30" id="textareadescription"></textarea>
</code></pre>
<p>In this user not able to enter HTML TAGS like</p... | javascript jquery | [3, 5] |
4,298,484 | 4,298,485 | End of Page Slide out jQuery effect | <p>I'm trying to implement Page Slideout jQuery effect by Mary Lou at <a href="http://tympanus.net/codrops/2010/04/13/end-of-page-slide-out-box/" rel="nofollow">http://tympanus.net/codrops/2010/04/13/end-of-page-slide-out-box/</a>
Everything was fine until I tried to open it on Firefox19/Mountain Lion OSX and FF19/Win... | javascript jquery | [3, 5] |
5,197,128 | 5,197,129 | asp.net C# generate pdf files | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/6119561/generate-pdf-file-in-asp-net">Generate PDF file in asp.net</a> </p>
</blockquote>
<p>Whats is a good and easy-to-use library (Third party software) in order to create a fillable pdf file? Im using asp.ne... | c# asp.net | [0, 9] |
1,166,480 | 1,166,481 | What's the best way to grab the number in this url string with jQuery or vanilla javascript? | <pre><code>"/organizations/1/media/videos/11"
</code></pre>
<p>I would like to just grab that <code>1</code> . Not sure how to exactly do that.</p>
<p>Any ideas?</p>
| javascript jquery | [3, 5] |
1,784,148 | 1,784,149 | Android Limit EditText to Integer input only | <p>I am trying to apply some kind of verification to an edittext. A user should only be able to enter integers between 1 and 60. I am wondering whether I should let them type whatever they like and when they focus off of the edittext check the contents and if it is out of bounds change the value to a default, say 0.</p... | java android | [1, 4] |
5,189,683 | 5,189,684 | Make sound cut itself off rather than play over itself | <p>My 1st app is an audio sampler. A button starts an audio loop and other buttons play different sounds over the top.</p>
<p>If I hit a button multiple times, the sound will play over itself.
I want the last click to cut off any audio still playing from the same button. But I don't want it to interfere with any audio... | java android | [1, 4] |
5,265,102 | 5,265,103 | javascript elements is undefined | <p>When I load vote.php on my web browser instead of index.php, I was able to vote and display user statistic. However I decided to implement the poll system by adding include('vote.php') to index.php, my document.forms[0] from vote.js can detect how many radio buttons in vote.php but I having problem getting this code... | php javascript | [2, 3] |
2,180,551 | 2,180,552 | Reset all checkboxes on page without looping | <p>I was wondering if it was possible to reset all the checkboxes (mark them unchecked) on the page without looping using jQuery?</p>
| javascript jquery | [3, 5] |
2,870,574 | 2,870,575 | How can I hook up to a parent's event? | <p>I've got an aspx file, and rendered within it is an ascx control.</p>
<p>The aspx file has a button, that, when clicked, fires an event.</p>
<p>I've got a button in the ascx control that I'd like to hook up to that same event...but I'm not clear on how to do it. I'm obviously missing something fairly elementary.<... | c# asp.net | [0, 9] |
3,788,217 | 3,788,218 | Error message Nullable object must have a value | <p>I have a null error on my DTO object at runtime:</p>
<p><img src="http://i.stack.imgur.com/XSsbH.png" alt="enter image description here"></p>
<p>I didn't understand because column is nullable: </p>
<pre><code>[DataContract]
public class SearchParametersCompanyDTO
{
public SearchParametersCompanyDTO();
[D... | c# asp.net | [0, 9] |
1,385,228 | 1,385,229 | Implement a short pause before jquery animation | <p>Im writing a simple jquery menu system that shows / hides a DIV on mouse over a text link.</p>
<p>I want to implement a short pause before the slide happens, so that the menue doesnt drop down if the mouse just flies over the menu link.</p>
<p>this is how i currently activate the menu:</p>
<pre><code><script t... | javascript jquery | [3, 5] |
3,483,998 | 3,483,999 | Convert string to Date in java | <p>I'm trying to parse a string to a date field in an android application but I can't seem to get it correct. Here is the string I'm trying to convert to a date "03/26/2012 11:49:00 AM". The function I'm using is:</p>
<pre><code>private Date ConvertToDate(String dateString){
SimpleDateFormat dateFormat = new Simpl... | java android | [1, 4] |
2,540,370 | 2,540,371 | Does jQuery do any initial processing? | <p>Simple question. If you include jQuery in a page of HTML, is there any initialization overhead before one uses any jQuery functions.</p>
| javascript jquery | [3, 5] |
1,032,718 | 1,032,719 | How can I preselect a radio button using javascript or jquery? | <p>I know this is probably easy, but I just can't figure it out.</p>
<p>I am working with a SAAS shopping cart solution so I can't adjust the form code or use PHP, so I need to use javascript or jquery. </p>
<p>In this cart, I have a form.... </p>
<pre><code><form method="post" action="cart.php" id="productDeta... | javascript jquery | [3, 5] |
1,316,248 | 1,316,249 | JQuery get input text when using .each() function | <p>I am using JQuery .each() on a list and am wondering how to retrieve the text from an input field within the list item, the code looks like:</p>
<pre><code><ul id="foo">
<li id="1">
<input type="text" />
</li>
<li id="2">
<input type="text" />
</li>
</ul&... | javascript jquery | [3, 5] |
3,615,339 | 3,615,340 | put content of div1 into div2 onclick event | <p>I have two divs as follows: </p>
<pre><code><div id='div1'>
<p>Hello world!</p>
</div>
<div id='div2'>
</div>
<a id='test' href='javascript:void()'>Click me to fill in div2</a>
</code></pre>
<p>I have been wondering what should be the best way to fill in div2 ... | javascript jquery | [3, 5] |
758,064 | 758,065 | c# display doc/docs in exactly format in website | <p>Below is my code to read a doc/docs file. </p>
<p>it can read, but the output format not exactly as in the docs, if that any way to display exactly format in aspx?</p>
<pre><code>protected void Button2_Click(object sender, EventArgs e)
{
var wordApp = new Microsoft.Office.Interop.Word.ApplicationClass();
... | c# asp.net | [0, 9] |
724,060 | 724,061 | Adding Back button for web page loaded within another web page | <p>I have an <code>index.php</code> with two major sections: the <code>navbar</code> and the <code>main-content</code>. The <code>navbar</code> contains links which will load another webpage to the <code>main-content</code> through this <code>jQuery</code> code:</p>
<pre><code>jQuery('#main-content').load('sampleurl')... | php javascript jquery | [2, 3, 5] |
13,233 | 13,234 | Javascript disabling my postback | <p>I have an ASP.NET checkbox, and I want to run some javascript before it posts back.</p>
<p>Something like:</p>
<pre><code><asp:CheckBox ID="chkSelected" runat="server" AutoPostBack="True" OnCheckedChanged="chkSelected_CheckedChanged" />
</code></pre>
<p>but I want to run a JS confirm dialog when the user cl... | asp.net javascript | [9, 3] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.