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 |
|---|---|---|---|---|---|
2,753,004 | 2,753,005 | Correct usage for Page.ClientScript.RegisterForEventValidation | <p>i have the following method in a usercontrol</p>
<pre><code> protected override void Render(HtmlTextWriter writer)
{
base.Render(writer);
Page.ClientScript.RegisterForEventValidation(DataList1.UniqueID);
if (DataList1.Items.Count > 0)
{
foreach (DataListItem it... | c# asp.net | [0, 9] |
3,025,740 | 3,025,741 | Convert JSON into uri-encoded string | <p>I got a JSON/javascript object which I would like to get <code>x-www-form-urlencoded</code>.</p>
<p>Something like <code>$('#myform').serialize()</code> but for objects.</p>
<p>The following object:</p>
<pre><code>{
firstName: "Jonas",
lastName: "Gauffin"
}
</code></pre>
<p>would get encoded to:</p>
<p>... | javascript jquery | [3, 5] |
6,017,370 | 6,017,371 | call future javascript function compatibility on all browsers? | <p>let say i have function like below</p>
<pre><code>function doSomethingNow(){
callSomethingInFutureNotExistNow();
}
</code></pre>
<p>at the moment doSometingNow() is created callSomethingInFutureNotExistNow() not exist yet. It will be created in the future, on firefox, this doesn't show any error on firebug. Wi... | javascript jquery | [3, 5] |
442,620 | 442,621 | I need to have 2 symbols after dot | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/149055/how-can-i-format-numbers-as-money-in-javascript">How can I format numbers as money in JavaScript?</a><br>
<a href="http://stackoverflow.com/questions/6134039/format-number-to-always-show-2-decimal-places">F... | php javascript | [2, 3] |
820,658 | 820,659 | Deleting appended element with jQuery | <p>I'm trying to develop a simple todo-application but the elements who been created with jQuery, can't be deleted with the shortkey I've setup. The shortkey I've made works on the first element (and other elements that are on the page from the beginning) but elements that came into the DOM via jQuery, can't be deleted... | javascript jquery | [3, 5] |
4,662,292 | 4,662,293 | how to set an object into C++ from C# | <p>I want to configure a C++ project from C#.</p>
<p>E.g: If I have this class in C#:</p>
<pre><code>public class Person
{
public Person(){}
public string FirstName
{get; set;}
public string LastName
{get; set;}
public int Age
{get; set;}
}
</code></pre>
<p>Then I have a list of person... | c# c++ | [0, 6] |
5,728,253 | 5,728,254 | How do I select a row's cells and get their value through JavaScript? | <p>I am working on the hotel reservation system and I want to select a cell from a table.</p>
<p>Given this table:</p>
<pre class="lang-none prettyprint-override"><code> Today 2/Jan/2012
Date 2/jan 3/jan 4/jan 5/jan 6/jan
room 200 ||||||||||||||||
room 201
</code></pre>
<p>Room no 200 is booked for 3 da... | javascript asp.net | [3, 9] |
3,548,319 | 3,548,320 | Send value on onsubmit | <p>I want to send <code>document.getElementById('source').value</code> onsubmit. How can i send? thanks
this value <code>document.getElementById('source').value</code> working fine. But I want to call this on submit. Because some time user could change the value.</p>
<pre><code>new AjaxUpload(btnUpload, {
acti... | javascript jquery | [3, 5] |
2,930,192 | 2,930,193 | .height() only making DIV scrollable after window resize | <p>The intent of this script is to make a DIV that is 100% of the page height minus the top section.</p>
<p>Here's the page:</p>
<p><a href="http://nerdi.net/playground/kev/indexNEW.html" rel="nofollow">http://nerdi.net/playground/kev/indexNEW.html</a></p>
<p>Here it is stripped down on jsFiddle, where it appears to... | javascript jquery | [3, 5] |
4,969,275 | 4,969,276 | Passing an HTML string to jQuery function | <p>I'm working on an application which retrieves some HTML code from a record in a database. That strings then gets taken and inserted inside of a specific div. Right now I'm accomplishing this by passing the variable from Java and printing it within the div in the JSP. Now I'm trying to use an external jQuery function... | java javascript jquery | [1, 3, 5] |
5,727,338 | 5,727,339 | Disabling Back button of Browser on Logout click like Yahoo,Gmail etc for Security | <p>First, I am setting the session variable as Session["SessionId"] in the globle.asax file as below:-</p>
<pre><code>void Session_Start(object sender, EventArgs e)
{
// Code that runs when a new session is started
string sessionId = Session.SessionID;
Session["SessionId"] = "true";
}
</code></pre>
<p>I am usi... | c# asp.net | [0, 9] |
4,546,921 | 4,546,922 | what is the problem with itemdatabound event in listview? | <p>i am getting the following error during itemdataboundevent of a listview.</p>
<p><strong>Description:</strong> An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.</p>
<p><strong>Compi... | c# asp.net | [0, 9] |
1,912,208 | 1,912,209 | How to create div tag rotation like polyvore.com | <p>Example Link: <a href="http://www.polyvore.com/cgi/app" rel="nofollow">http://www.polyvore.com/cgi/app</a></p>
| javascript jquery | [3, 5] |
510,668 | 510,669 | Signed script to do cross-domain queries | <p>I read <a href="http://developer.yahoo.com/javascript/howto-proxy.html" rel="nofollow">this article</a> which said:</p>
<blockquote>
<p>Digitally sign your scripts. In Firefox you can apply a digital signature to your script and those scripts will then be considered "trusted" by the browser. Firefox will then let... | javascript jquery | [3, 5] |
2,157,550 | 2,157,551 | this code is producing an error.."System.InvalidCastException: Specified cast is not valid." | <pre><code>cmd1.CommandText = "SELECT distinct MbrBtch from Member where MbrStrm='"+DrpDwnStrm .SelectedItem .Text +"'";
cmd1.Connection = con;
DataTable Table1;
Table1 = new DataTable("mbr");
DataRow Row1;
DataColumn MbrBatch = new DataColumn("MbrBatch");
... | c# asp.net | [0, 9] |
1,173,175 | 1,173,176 | Hiding divs when clicking outside an image | <p>I have a webpage with several hidden divs. I have them set up so that when an image is clicked, they will display and if the image is clicked again, they hide. The problem is, I need to hide them if they're visible and any part of the page is clicked. I've searched high and low and have found some suggestions but... | javascript jquery | [3, 5] |
5,146,685 | 5,146,686 | ASP.NET dynamically insert code into head | <p>I'm working inside of a Web User Control (.ascx) that is going to be included in a regular web form (.aspx), but I need to be able to dynamically insert code into the head of the document from the User Control. In my Coldfusion days <cfhtmlhead> would do the trick. Is there an equivalent of this in ASP.NET or... | c# asp.net | [0, 9] |
4,296,009 | 4,296,010 | Which programming language to scrape data from web and do api calls at the same time? | <p>My project deals with scraping a lot of data from sites that don't have API or calling APIs if there is one. Using multiple threads to improve speed and work real time. Which would be the better programming language for this? I'm comfortable with Python. But, threading is an issue. Thus, thinking of using JS in node... | javascript python | [3, 7] |
2,311,252 | 2,311,253 | Is it safe to call jQuery's resize() function to execute my own resize handler? | <p>I am defining a resize handler that positions some elements on the screen, like this:</p>
<pre><code>$(window).resize(function() {
// Position elements
}
</code></pre>
<p>I also want to execute this functionality when the page first loads, so I just add the following right after the above code:</p>
<pre><code... | javascript jquery | [3, 5] |
3,389,175 | 3,389,176 | How to show the Birthdate in mm/dd/yyyy format if year is separated from it? | <p>I have a modalpopup inside it I have checkboxes,when I check the checkboxes and save the changes there is a dynamically created table with dynamically generated labels.I have a checkbox Birthdate inside the modal popup which shows the mm/dd only.And another checkbox below it that will show the year only, and will b... | c# asp.net | [0, 9] |
5,560,155 | 5,560,156 | waiting until two values have changed in jquery | <p>I have two form fields and would like to post those values using jquery only when both have a value. I have tried this but there must be a better way. I think this way could lead to errors</p>
<pre><code>$('#RFID').change(function(e){
if($(this).val() != '' && $('#STATION_ID').val() != ''){ ... | javascript jquery | [3, 5] |
4,528,685 | 4,528,686 | How to create effecient stack implementation in javascript? | <p>I need a good stack implementation in JS. Pref jquery</p>
<p>Please help</p>
| javascript jquery | [3, 5] |
519,337 | 519,338 | How to restrict the TextBox to accept only one dot in decimal number in keypress event in C# | <p>I am developing a windows mobile application, in this i want to restrict the asp.net textbox to accept only one dot in decimal number (C#) so please suggest me how to do this.</p>
<p>Thanks in advance.</p>
| c# asp.net | [0, 9] |
3,394,108 | 3,394,109 | Casting ArrayList<SomeClass> to ArrayList<SomeInterface> | <p>I have 3 classes representing 3 differents things:
<code>Article</code>,
<code>Photos</code>, and
<code>Videos</code></p>
<p>All 3 things have 2 properties in common:
A <code>title</code> and and <code>image</code>.</p>
<p>I have an <code>interface</code> called <code>ImageTitleListItem</code> that the 3 classes ... | java android | [1, 4] |
5,275,824 | 5,275,825 | How to load jQuery in JS Bin | <p>Is it possible to run jQuery code in jsbin.com? </p>
| javascript jquery | [3, 5] |
1,614,155 | 1,614,156 | Javascript, Jquery - break if statment | <p>I have this part of code:</p>
<pre><code>if(mess <= 0 || mess < -width) {
img_container.find('ul').animate({'margin-left' : mess + 'px' }, 1000);
}
</code></pre>
<p>I need this to stop working when <strong>mess</strong> is lesser the <strong>-width</strong>. How can I do this?</p>
| javascript jquery | [3, 5] |
1,758,407 | 1,758,408 | How to make the text bold using jquery | <p>I have this out put.</p>
<pre><code><option value="18277">Dollar Max Hospice~Mx</option>
<option value="12979">Routine Adult Physical Exam Visit Limit</option>
<option value="12841">Is Reverse Sterilization Covered Out of Network?</option>
<option value="12918">MD CDH PPO V... | javascript jquery | [3, 5] |
2,204,567 | 2,204,568 | Asp.Net, accessing variables from previous page a good approach? | <p>While redirecting from page to page generally i used to pass values as querystring but as you know query string is not a good approach as there are many security concerns and more over its having a maximum size is of 256 Bytes or ie length 2048 characters. So is it a good approach to access variables by setting prev... | c# asp.net | [0, 9] |
3,119,353 | 3,119,354 | Handling errors in jQuery(document).ready | <p>I'm developing JS that is used in a web framework, and is frequently mixed in with other developers' (often error-prone) jQuery code. Unfortunately errors in their jQuery(document).ready blocks prevent mine from executing. Take the following simple sample:</p>
<pre><code><script type="text/javascript">
jQ... | javascript jquery | [3, 5] |
3,341,982 | 3,341,983 | I want to bind a arraylist to grid in asp.net c#? | <pre><code>nsecashservice serviceofgainers = new nsecashservice();
int idd = serviceofgainers.maxID();
System.Collections.ArrayList copygrid = new System.Collections.ArrayList();
System.Collections.ArrayList grid = new System.Collections.ArrayList();
grid = serviceofgainers.getdata(idd);
copygrid = grid;
System.Collect... | c# asp.net | [0, 9] |
1,374,242 | 1,374,243 | Translating .htaccess to web.config | <p>I am hosting a php application on my virtual Windows server running IIS. </p>
<p>The person who wrote the php website for me asked me to put this piece of codes in a .htaccess:</p>
<pre><code><IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FIL... | php asp.net | [2, 9] |
4,904,313 | 4,904,314 | Why does jQuery.ready run when the page isnt ready? | <p>so often i put jquery document ready functions at the bottom of my html, just to have it run before all the elements of the page are loaded. i'm tired of my functions not working because resources arent finished loading on the page, jquery.ready keeps saying the elements are done loading when they arent! who wants t... | javascript jquery | [3, 5] |
1,725,389 | 1,725,390 | Store additional info with button | <p>How can I attach additional information to a button programmatically? I can mButton.setText("new text") to change the text but I want to be able to add a few more fields so that when you click the button you can grab those extra fields and use the data. How might I do that?</p>
| java android | [1, 4] |
3,014,333 | 3,014,334 | Working Around Closure in JQuery "ajax" Method | <p>I'm relatively new to javascript and although I know what's causing the bug, I'm not sure how to refactor this to make it work.</p>
<pre><code>for ( ... ) {
var variableQueryValue = i
addLink.bind('click', function() {
$.ajax({
type: 'POST',
url: '/example',
data... | javascript jquery | [3, 5] |
1,118,474 | 1,118,475 | How to find the control of textbox inside the grid | <p>I am using ASP.NET and I have one <code>GridView</code> that has a <code>TextBox</code> within an editTemplate, but I am not able to find the control; whenever I try to assign the value to <code>TextBox</code> of <code>GridView</code> I'm getting a <code>NullReferenceException</code>. </p>
<p>My code is as follows:... | c# asp.net | [0, 9] |
4,976,393 | 4,976,394 | How to find header Control In Repeater? | <p>I am finding Header control in Repeater in C#</p>
<pre><code>HtmlGenericControl nameposition = null;
nameposition = (HtmlGenericControl)Repeater1.Controls[0].Controls[0].FindControl("tweet-container");
</code></pre>
<p>I am getting Error How to use it?.Aspx Code</p>
<pre><code><div i... | c# javascript asp.net | [0, 3, 9] |
2,875,291 | 2,875,292 | Get part of URL using jquery | <p>I have been googling, a lot, and found quiet many similar issues around the www but not anything that nails my issue to the ground.</p>
<p>I have a jquery function that get the href attribute from an anchor tag, which is supposed to return this value - #SomeIDHere</p>
<p>On my development environment it works per... | javascript jquery | [3, 5] |
3,415,198 | 3,415,199 | static initialisation vs dynamic initialisation | <p>Why, in C++, do we prefer static initialization to dynamic initialization?
Whats the big deal?if static initialization is so performant then why do new languages like Java, C# use dynamic initialization?</p>
| java c++ | [1, 6] |
1,259,474 | 1,259,475 | Fade effect left to right on a image | <p>I have fade effect structure. With the following:</p>
<pre><code> <img src='firstStar.jpg' alt='star image' id='firstStar' />
var loopImages = function(){
$('#firstStar').fadeIn(1500, function(){
$('#firstStar').fadeOut(1500, loopImages);
});
}
l... | javascript jquery | [3, 5] |
4,358,765 | 4,358,766 | Accessing email inbox through content provider | <p>I'm trying to access the core application email using a content provider. Is this possible?</p>
| java android | [1, 4] |
5,278,736 | 5,278,737 | javascript jQuery - Given a comma delimited list, how to determine if a value exsits | <p>given a list like:</p>
<pre><code>1,3,412,51213,djdd@asdasd.net, blahblah, 123123123123
</code></pre>
<p>which lives inside of a input type"text" as a value:</p>
<pre><code><input type="text" value="1,3,412,51213,djdd@asdasd.net, blahblah, 123123123123, wow@wow.com" />
</code></pre>
<p>How can I determine ... | javascript jquery | [3, 5] |
3,891,248 | 3,891,249 | Android Emulator: Write file to local file system? | <p>I am wondering if its possible to get my android application to save a file to a windows file system or is there a simple work around I can adopt?</p>
<p>I am using the android emulator to do tests and I need it to write to the local hard drive so I can do further processing on the file.</p>
<p>I hope this is poss... | java android | [1, 4] |
60,116 | 60,117 | Maven plugin for Java code obfuscation | <p>Is there a maven plugin for obfuscating Java code (Java SE, Java EE or Android)?</p>
| java android | [1, 4] |
1,736,462 | 1,736,463 | How to unpack Javascript in Python | <p>I would like to retrieve the contents of a javascript script instead of executing it upon requesting it. </p>
<p>EDIT: I understand that Python is not executing the javascript code. The issue is that when I request this online JS script it gets executed. I'm unable to retrieve the contents of the script. Maybe what... | javascript python | [3, 7] |
730,023 | 730,024 | JS variable contains PDF or DOC File. How I can pass this file for user? | <p>jQuery. Inside:</p>
<pre><code>xxx.bind('submit',function() {
...
oSignedData.Content - contains decrypted PDF, DOC, JPG or other file
}
</code></pre>
<p>How I can pass this file for user?</p>
<p>When I use <code>document.getElementById('invoice_encoded_data').value = oSignedData.Content</code>
resultant file... | javascript jquery | [3, 5] |
5,997,931 | 5,997,932 | ASP.NET C# Dynamically create table with postback button on each row | <p>I am trying to display a table dynamically loaded from database with dynamically created button in the first cell of each row. Each button has assigned ROW_ID value that uniquely identifies the button in one "generic" method handler.</p>
<p>As far as I can understand the only way I can do this is by loading data an... | c# asp.net | [0, 9] |
4,035,114 | 4,035,115 | loading js function from another file | <p>i have a javascript like that</p>
<pre><code>$.fn.hasBorder = function() {
if ((this.outerWidth() - this.innerWidth() > 0) || (this.outerHeight() - this.innerHeight() > 0)){
return true;
}
else{
return false;
}
};
function removeImage(){
$(document).ready(function() {
var ... | javascript jquery | [3, 5] |
2,084,553 | 2,084,554 | Jquery dropdown active and show hide issue | <p>Demo Link: <a href="http://bit.ly/NRWoHw" rel="nofollow">http://bit.ly/NRWoHw</a>. Unable to add class (inpage) for anchor (Menu Item 1). When you roll out of the div containing border that div is hiding. But for (Menu Item 1) submenu should always show. It's visible only for first time you visit.</p>
| javascript jquery | [3, 5] |
4,983,832 | 4,983,833 | How to dynamically load jQuery in a javascript function, call another function, and return that function's return value? | <p>I have a function which uses jQuery. I need to dynamically inject jQuery with JavaScript and have that function return that function’s return value. I would like to do something like</p>
<pre><code>(function(){
var jQueryLoaded = false;
var returnValue;
if (!window.jQuery) {
var script = documen... | javascript jquery | [3, 5] |
5,577,908 | 5,577,909 | How do you access an asp.net code behind session object member variable in javascript? | <p>I have a class that handles all of my session variables in my asp.net application. Moreover, I sometimes store objects in the session variables so as to allow me to code very similar to a normal .net application.</p>
<p>For example, here is an object in a session variable:</p>
<pre><code>public cUser User
{
ge... | c# javascript asp.net | [0, 3, 9] |
1,237,096 | 1,237,097 | Re-using a variable inside jquery.ajax | <p>I have the following function. This function is called with a setTimeout upon a form submit. </p>
<pre><code>function get_progress( fileID, filename) {
$.ajax({
url: filename,
type: 'HEAD',
success: function() {
$.ajax({
type: 'POST',
url: 'read_file.php',
dat... | javascript jquery | [3, 5] |
4,781,630 | 4,781,631 | Placing a icon to display text onmouseover | <p>I have developed an e-commerce site. For user form input box, i want to put a question mark icon as help tool. When user takes mouse on that icon it should display the help text. I am not getting how to do it. Please someone help me in doing this .</p>
<p>Thanks</p>
| javascript jquery | [3, 5] |
1,363,064 | 1,363,065 | Calling a JS fucntion on a button click refreshes the page | <p>I have a ASP page which has a JS function that is being called on a HTML input button click, but every time on the button click the page is reloaded and goes back to the initial state.</p>
<p>I have disabled caching both on server and client side, using these tags</p>
<pre><code><%
Response.Cache.SetExpires(Dat... | javascript asp.net | [3, 9] |
2,928,077 | 2,928,078 | Jquery background for a dropdown list | <p>I have a dropdown list and I would like to make a specific item in the list have a background color of yellow and I'm not sure of the jquery code for this.</p>
<p>Here's the script:</p>
<pre><code><script language="text/Javascript">
$(function(){
$('select[id="ddlParticipants"]'.rows[2].bgColor =... | jquery asp.net | [5, 9] |
1,092,699 | 1,092,700 | creating simple cookies in asp.net c# | <p>My application needs to store cookies. When a user logs on I want to make sure that if the cookie does not exist create it and store value, but if it does modify it.</p>
<pre><code>if(cookieExist)
{
cookiename = "value";
}
else
{
create a new cookie
then store the value;
}
</code></pre>
<p>Thanks fo... | c# asp.net | [0, 9] |
1,039,328 | 1,039,329 | Google map is not open properly | <p>I am working on a task wherein user need to search hotel in my project. In the search result list there is an option to see the map of that particular hotel. Now what happens is when i click to see the map the map doesn't load properly.
Now i have marked something else. If i close the dialogbox and click again to s... | php jquery | [2, 5] |
3,005,831 | 3,005,832 | JQuery - Dynamic Text Trimming - Iphone issue | <p>We are implementing a mobile version of a clients website. A store page has a long list of store information with links to further info an example of one store HTML block is as follows - </p>
<pre><code> <div class="overlayContent">
<h2>Bagot Opticians</h2>
<div>
10 Library Road
<br>
... | jquery iphone | [5, 8] |
456,498 | 456,499 | Trigger an Asp.net menu click in code | <p>How can I trigger a Asp.net menu click in code behind? (it's a Webcontrol.Menu)</p>
<p>Ideally I don't want to do this but it is embedded in a horrible Sharepoint webpart that I am trying to add a feature to and don't have time to rewrite it.</p>
<p>The click on the menu item sets the index of a MultiView control ... | c# asp.net | [0, 9] |
919,187 | 919,188 | Object doesn't support property or method 'Toggle' in IE9 and IE8 | <p>I am getting JavaScript error like:</p>
<blockquote>
<p>Object doesn't support property or method 'Toggle'</p>
</blockquote>
<p>The <code>slideToggle</code> is working fine in IE. But i am getting this JavaScript error in IE. How can I resolve this. need to add any plugin or change anything. </p>
<pre><code> $(... | javascript jquery | [3, 5] |
5,457,286 | 5,457,287 | XMLVM EXEC error Could not find or load main class org.xmlvm.Main | <p>Please excuse the ignorance if I missed anything.</p>
<p>I am trying to build the CSharp Fireworks (Visual Studio 2008) example that was included in the packaged downloaded via SVN. However, after building the project successfully, there is a post-build that takes place, but throws an error. I've listed the error... | c# java iphone | [0, 1, 8] |
366,702 | 366,703 | How does an Interface implement functionality? | <p>In ASP.net Generic handler files (.ashx)
Sessions are by default not enabled, the sessions collection is empty no matter what.</p>
<p>But by simply implementing the "ISessionHandler", sessions are suddenly accessable though the sessions collection..</p>
<p>I really dont understand that, becuase in my head interfac... | c# asp.net | [0, 9] |
3,442,415 | 3,442,416 | how to access xml data in TextView in Android | <p>I would like to access xml data which contains Questions ans there 4 objective type answers
and I want to access them in 5 textViews which access each question and there related answer on every next button click.
its like an online examination.</p>
| java android | [1, 4] |
4,267,732 | 4,267,733 | Jquery - Get element by id constructing the id in string | <p>I have a trouble using an element with jquery. I am constructing the name in a var such as:</p>
<pre><code>var myId = "#" + myGotId;
$(myId).attr("title", "changed");
</code></pre>
<p>$(myId) is returning empty. I would want to get my element by id but constructing my Id dynamically joining strings.</p>
<p><em>e... | javascript jquery | [3, 5] |
4,107,577 | 4,107,578 | Android support for Torch Mode | <p>I've tried looking around for a particular answer to this question but can't find it. Hopefully someone here can help!</p>
<p>I'm trying to get Torch mode to work on all phones (The main problems seem to be Droid X, LG Ally etc.) but can't get it to work for everyone.</p>
<p>I set the Torch mode like this:</p>
<p... | java android | [1, 4] |
4,183,094 | 4,183,095 | How to set replace command if dynamic target in anchor tag | <p>This is my Html</p>
<pre><code>desc=<a target="_blank" href="http://www.taxmann.com/corporatelaws/fileopencontainer.aspx?Page=CIRNO&amp;id=27000000000000002519&amp;search=">A. P. (DIR Series) Circular No. 46 dated June 14, 2005</a>
String k = replace ( desc, "<a target=\"_blank\" href=\"ht... | java android | [1, 4] |
5,899,163 | 5,899,164 | Maximum Length of a filename on Win7 | <p>I have a web application which allows users to download a file. In doing so it asks users to provide the name to it in textbox. The upper limit of this text box is 200 characters. When i try to download a file on my Win7 system while accessing this application i do not get the whole 200 characters, instead i get onl... | c# asp.net | [0, 9] |
3,865,654 | 3,865,655 | selecting proper value of spinner accroding to my Class | <p>i am making an edit Screen of my Account.</p>
<p>My account class has some properties. Now i want to show these properties and then edit them.
I Have made a spinner that shows the account type.</p>
<p>Right now i am using this code</p>
<pre><code> ArrayAdapter<CharSequence> typeOfAccountAdapter = ArrayAdapt... | java android | [1, 4] |
1,329,797 | 1,329,798 | why using eval and parsonJson together? | <p>I think jquery $.parseJSON can convert jsons string to JavaScript object, why someone still use eval($.parseJSON) together?</p>
| javascript jquery | [3, 5] |
4,088,860 | 4,088,861 | Selective div hiding with IDs | <p>I have four columns detailing the changelogs of a game and I'd like to add an option allowing users to simply click a button and only have them view the most recent updates. Each update has it's own div. Would I be able to do so through JQuery by adding an id to these most recent update divs such as "current" and on... | javascript jquery | [3, 5] |
2,163,715 | 2,163,716 | ASP.Net/Jquery find client event after Response.End() | <p>I have a button that is generating a PDF file on the server and then setting the response header information to the client for the file to be downloaded.</p>
<p>I would like to display a "Please Wait..." message during the postback because it could be time intensive. I'm able to display a div with no problem when t... | jquery asp.net | [5, 9] |
2,461,281 | 2,461,282 | get a value with javascript from a element with a link/button | <p>When i click on the link which has the id bob i want it to close the chat but also give the value of the hidden input shown below.</p>
<pre><code><div id="chat" class="chat">
<div id="ch" class="ch">
<label id="name1">bob</label>
<a id="bob" onclick="closechat(this.id... | javascript jquery | [3, 5] |
3,644,196 | 3,644,197 | Auto click input from other page | <p>Hy for example if on page Y (not my website) page contents next button :</p>
<pre><code><input class="xxx" type="submit" id="xxx_play" value="Play">
</code></pre>
<p>And i want with the help of php or jquery to autopress this input after x Seconds is this possible ?</p>
| php javascript jquery | [2, 3, 5] |
2,987,261 | 2,987,262 | Remove all other list items except the one that is clicked using jQuery | <p>I have list of this kind</p>
<pre><code><ul>
<li><div class="pname">Name1</div><div class="pid">ID1</div>...</li>
<li><div class="pname">Name2</div><div class="pid">ID2</div>...</li>
<li><div class="pname">Name3</div><... | javascript jquery | [3, 5] |
2,320,569 | 2,320,570 | event for when dialog is fully loaded | <p>I am trying to add a jscrollpane to a dialog once the dialog is loaded. I tried using the <code>dialogopen</code> and <code>dialogfocus</code> events but it seems these trigger too early. Is there an event I can subscribe to that tells me the dialog is fully loaded and displayed and its safe to call jscrollpane? R... | javascript jquery | [3, 5] |
5,913,256 | 5,913,257 | Globalization/CultureInfo in Android | <p>It is possible to set the culture (for let's say en-Us) for the entire application? I know that in C# this is possible.</p>
<p>thanks advanced.</p>
| java android | [1, 4] |
1,648,153 | 1,648,154 | Jquery adding and removing items from listbox | <p>I've created this <a href="http://jsfiddle.net/j2ctG/" rel="nofollow">fiddle</a>, it allows the user to click on either art or video, dynamically populating the the second listbox with the list associated with those selections. There are two buttons, one to add the selection to the box, the other which removes the s... | javascript jquery | [3, 5] |
3,615,074 | 3,615,075 | help with convert in java for android | <p>I have this code in C#, I have tried to convert him to Java for android, but I get an error in doing so. </p>
<p>This is the C# code:</p>
<pre><code>sum = "";
string Num = "123ABC";
int i, j;
string TmpOT;
for (i = 0; i < Num.Length; i++)
{
TmpOT = Num.Substring(i, 1);
j = Convert.ToChar(TmpOT);
j =... | c# java android | [0, 1, 4] |
4,705,549 | 4,705,550 | how to add text on 5 span that uses same id | <p>How do i add a text to all 5 spans that share the same id.</p>
<p>the html goes:</p>
<pre><code><div class="body">
<form>
<span id = "test" ></span>
<span id = "test" ></span>
<span id = "test" ></span>
<span id = "test" ></span>
<span id = "test" >... | javascript jquery | [3, 5] |
3,058,429 | 3,058,430 | replacing php form with new content on submit using jquery | <p>I have a poll with the following action</p>
<pre><code>echo("\t<form class=\"vote\" method=\"post\" action=\"" . $url . "vote.php\">\r\n");
</code></pre>
<p>vote.php calls several validating functions and finally displays the poll results</p>
<p>What I want is when the submit button is pressed, using jQuery... | php jquery | [2, 5] |
3,259,809 | 3,259,810 | need a beginners android project to work on | <p>I have an itch to do development on android. I know some JAVA (just learned it) and I want to develop a simple android app for my phone or for an android tablet that I have (simple Chinese 7" tablet that I purchased off eBay).</p>
<p>Is there a simple tutorial that I can follow that will get me up to speed?</p>
| java android | [1, 4] |
2,182,475 | 2,182,476 | Passing a textbox value to javascript on key up function | <p>Here i have passed the text control to the java script function but i just want to pass the value of the text box to the java script function instead on onkeyup. </p>
<pre><code>function Changed(textControl) {
var _txtEmpName = document.getElementById('<%=txtEmpName.ClientID%>');
var _EnteredString =... | javascript asp.net | [3, 9] |
2,533,560 | 2,533,561 | capture tabpage close event | <p>i'm using this control <a href="http://www.codeproject.com/KB/tabs/NewCustomTabControl.aspx" rel="nofollow">http://www.codeproject.com/KB/tabs/NewCustomTabControl.aspx</a>, the one with the close red X ( like chrome ) on every tabs.
I need in my project to capture if a tab is close by the red X.. How can I do it?
Th... | c# asp.net | [0, 9] |
5,830,039 | 5,830,040 | Adding To Calendar Date ... Not accurate? | <p>Can anyone please help.
I am geting current date from Calendar.
I then would like to set a string to a new date by adding number of months..
When i use the following code it works when i add 12 months to date,
But when i try to add 1 month, then next date is January (+2 Months)
When i try to add 3 months, next date ... | java android | [1, 4] |
2,185,171 | 2,185,172 | Javascript function call to ASP.NET | <p>My Javascript function calling a sever side callback function.
This is working fine when I give alert(). If I comment alert() then the browser throw a warning ..</p>
<p>My function is </p>
<pre><code> function callMe(){
var input = 'input parameter list';
var val= <%=gridCtrlUsers.ClientID%>.callbac... | c# asp.net javascript | [0, 9, 3] |
1,556,288 | 1,556,289 | Is it OK to create multiple threadpools (ExecutorService)? | <p>I created multiple ExecutorService instances in my code, usually each UI page has one ExecutorService instance. Each ExecutorService instance will execute some http get request threads.</p>
<pre><code>private ExecutorService m_threadPool = Executors.newCachedThreadPool();
</code></pre>
<p>Is it OK to do that?</p>
... | java android | [1, 4] |
4,217,383 | 4,217,384 | asp.net page "page is loading" | <p>How can I display the circular swirl image, that is usually seen in asp.net pages, while a page is loading (retrieving data etc)?</p>
| c# asp.net | [0, 9] |
208,916 | 208,917 | How can I tell if a variable is wrapped in jQuery or not? | <p>I have a function that has the signature of:</p>
<pre><code>function(id,target){
//do stuff
}
</code></pre>
<p>The target parameter is assumed to be a jQuery wrapped object however it is possible that it could be a dom element in which case I'd like to wrap it in jQuery before I do operations on it. How can I te... | javascript jquery | [3, 5] |
3,833,996 | 3,833,997 | Launch app from dialer | <p>This is what I have so far but nothing happens when I input this combination in dialer</p>
<pre><code>public class DialReceiver extends BroadcastReceiver
{
@Override
public void onReceive(Context context, final Intent intent) {
if (intent.getAction().equals(android.content.Intent.ACTION_NEW_OUTGOING_CALL... | java android | [1, 4] |
3,314,903 | 3,314,904 | How to add a background theme and/or background wallpaper to my app? | <p>How to add a background theme and/or background wallpaper to my app? Right now my app background is plane.</p>
| java android | [1, 4] |
1,069,111 | 1,069,112 | C# ASP.NET Korzh Query Builder Custom Value Editor | <p>I would like to find out from someone if they have worked with <a href="http://devtools.korzh.com/" rel="nofollow">Korzh Query Builder</a> before.</p>
<p>If so, have you tried implementing a Custom Value Editor, and if so, how did you do this, and if possible do you have any links/documentation.</p>
<p>The provide... | c# asp.net | [0, 9] |
4,526,475 | 4,526,476 | Why do I get syntax errors when constructing selectors | <p>This is follow up question.</p>
<p>The first selector which is fully typed out finds the value all the others give a syntax error even though they "look" identical.</p>
<pre><code> $(".smoothie").on("mouseover", function(event) {
// .. other code
// first
value = $(".row_2... | javascript jquery | [3, 5] |
5,282,128 | 5,282,129 | Determine if Link is valid upon user clicking on it | <p>I offer a widget where a user can store their links that they have created.</p>
<p>So in other words They:</p>
<ol>
<li>Click Add Link</li>
<li>Modal Pops up and they enter information: Link Title, Link URL, Order</li>
<li>Saves that to the DB via AJAX and then refreshes the widget to display all of the users link... | javascript jquery asp.net | [3, 5, 9] |
1,877,809 | 1,877,810 | I need PDF file print in server side | <p>I need PDF file print in to server side using asp.net C# code,
If is possible?</p>
<p>If is it possible mean how to print the PDF file in server side</p>
| c# asp.net | [0, 9] |
2,003,562 | 2,003,563 | Passing data between PHP webpages from a dynamically generated list | <p>I have a PHP code which generates a dynamic list inside a form like the following, note that the list is built dynamically from database:</p>
<pre><code>echo '<form name="List" action="checkList.php" method="post">';
while($rows=mysqli_fetch_array($sql))
{
echo "<input type='password' name='code' id='code'... | php javascript jquery | [2, 3, 5] |
376,316 | 376,317 | Animate OnComplete firing too early | <p>I'm implementing a progress bar (for timing a background task, I already know the exact time it will take) - but I'm having trouble with the oncomplete event firing early.</p>
<pre><code>$("#go").on("click", function(event){
event.preventDefault();
$('#report-loader .bar').animate({
width: 500
... | javascript jquery | [3, 5] |
415,442 | 415,443 | Sum of numeric field checkboxes in gridview | <p>I am having difficulties in assigning double value (for example 124.00) of label text in asp.net. This label is in content page of .net master page.</p>
<p>But I am having the following two problems:</p>
<pre><code><script type="text/javascript">
var totalAmount = 0; //Defined global variable;
function a... | javascript jquery asp.net | [3, 5, 9] |
769,935 | 769,936 | PHP session variable is retrieved in Javascript but becomes undefined | <p>I have two session variables that I retrieve in a Javascript code. This is how the code is set up:</p>
<pre><code><html>
<head>
</head>
<body>
<p><?php echo $_SESSION['userid'] ?></p> --> This works and value is shown
<p><?php echo $_... | php javascript | [2, 3] |
5,475,577 | 5,475,578 | jQuery find not working | <p>This is my HTML:</p>
<pre><code> <p class="first">blah blah <a href="" class="more">read more</a></p>
<div class="read_more">
<p>more text</p>
</div>
</code></pre>
<p>And javascript:</p>
<pre><code>$(document).ready(function(){
$... | javascript jquery | [3, 5] |
5,227,109 | 5,227,110 | What is the fastest way to work with ajax request? | <p>I am a little bit confused about what is the fastest and the friendly way with the server to request POST or GET from server by AJAX, is it jQuery (<code>$.load()</code>, <code>$.get()</code>, <code>$.post()</code>, <code>$.ajax()</code>) or Javascript like XMLHttpRequest? </p>
<p>I need to make a function or class... | javascript jquery | [3, 5] |
3,297,896 | 3,297,897 | Invoke a function after right click paste in jQuery | <p>I know we can use bind paste event as below:</p>
<pre><code>$('#id').bind('paste', function(e) {
alert('pasting!')
});
</code></pre>
<p>But the problem is, that it will call before the pasted text paste. I want a function to be triggered <em>after the</em> right click -> paste text pasted on the input field,... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.