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 |
|---|---|---|---|---|---|
4,537,074 | 4,537,075 | Run JS function from parent window in child window? | <p>Want to run javascript function from parent window in child window </p>
<p><strong>Example</strong> </p>
<p>I have to different websites let's say <code>site1.com</code> and <code>site2.com</code></p>
<p>I want from <code>site1.com</code> to open new window of URL <code>site2.com</code></p>
<pre><code>new_window... | javascript jquery | [3, 5] |
8,004 | 8,005 | Calling Ajax and returning response | <p>I have search for so many questions but didnt get the right answer. I have made the following function from what my research i understand that ajax call is async so on its done passing a value to global variable and returning that but i get a blank or undefined value.i can do it with $('#someid').html in response o... | php javascript jquery | [2, 3, 5] |
438,740 | 438,741 | Append object to a existing file in android | <p>i have append an object to a existing file but i can not read it ,i can read the first object and this is my code
What is the problem ??</p>
<pre><code>try{
FileOutputStream fos = openFileOutput("f.txt",MODE_PRIVATE | MODE_APPEND );
ObjectOutputStream oos = new ObjectOutputStream(fos);
Stri... | java android | [1, 4] |
616,266 | 616,267 | Checking all checkboxes in list by single checkbox click | <p>On my webpage, I have a CheckBoxList and a single checkbox. When I click on the check box, all the Check Boxes in the CheckBoxList should get checked. My CheckBoxList has to be under Bodycontent placeholder because that's how the layout of webpage is, and I kept the script in the same placeholder.</p>
<pre><code>&l... | c# javascript asp.net | [0, 3, 9] |
1,916,906 | 1,916,907 | How can I download scaled down version of an image? | <p>I need to download images that are very large 5mb+.</p>
<p>I am aware of scaling the image before displaying it to save phone memory but the problem of downloading a large image still remains.</p>
<p>How can I download, say, a 50% scaled down version of an image rather than downloading a full image then scaling it... | java android | [1, 4] |
2,107,122 | 2,107,123 | FindControl in MasterPage, first click generates empty string | <p>My web site uses a master page, where I've placed two controls, a TextBox and an ImageButton, they are intended to be viewed and accessible on all content sites. Here's the aspx code in <strong>Site.Master</strong>:</p>
<pre><code><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:ImageBut... | c# asp.net | [0, 9] |
2,220,965 | 2,220,966 | jquery trigger action on option add | <p>I have an select field which is on a jsp page and I add options to it through an external js library. Now is there a way on my jsp to trigger an action when an option is added? </p>
<p>Its because I need to get some value from backend and its not possible to do everything on an external js page.</p>
<p>I used .cha... | javascript jquery | [3, 5] |
4,685,170 | 4,685,171 | java.lang.ArrayIndexOutOfBoundsException on android input form | <p>I have an input form that has 38 fields
I know it's too much but my boss want it to be like that</p>
<p>There are 4 edit texts and spinners as the rest and 1 imageView that'll be uploaded to server using http client</p>
<p>I use AsyncTask to send the data like this :</p>
<pre><code>new asyncTask().execute(array, ... | java android | [1, 4] |
4,375,314 | 4,375,315 | Add selected values to a string | <p>Trying to iterate through ListItems in lstViolations. Only the first selected value is added to the messagebody and can't figure out why this code won't work </p>
<pre><code>foreach (ListItem item in lstViolations.Items)
{
if (item.Selected)
{
messageBody += item.Value + Environment.NewLine;
}
... | c# asp.net | [0, 9] |
5,595,398 | 5,595,399 | why does loading jquery after mootools causes conflicts | <p>I was wondering what is the reason for the conflict when jquery is loaded after mootools.
Anyone has a nice explaination since the web gives me shady answers.
Thanks</p>
| javascript jquery | [3, 5] |
1,772,927 | 1,772,928 | Search array for object property then hide first occurence of found object | <p>I have an array of objects that I've created using Javascript. The objects are map layers and have various properties associated. Upon creation they are pushed into an array. Below is a simplified example</p>
<pre><code>var activeLayers = [];
var mapLayer1 = new mapLayer();
mapLayer1.name = 'roads';
mapLayer1.cl... | javascript jquery | [3, 5] |
3,619,740 | 3,619,741 | Get value of asp:textbox with javascript .net 4 framework | <p>I thought I heard that in .net 4 we would be able to reference asp:textbox's by id and not have to use clientid to get the value. I can't find this documented anywhere. Just wondering if anyone knows if this works and what the syntax is? </p>
| javascript asp.net | [3, 9] |
4,822,615 | 4,822,616 | jQuery/javascript - Wire up event handler only when its not already assigned | <p>I'm assigning an onclick handler to a checkbox. Sometimes javascript that does the binding of event runs more than once (on partial postbacks) and the handler gets assigned twice. How can I prevent the handler from being assigned multiple times? </p>
<p>Okay thanks for responses. I wrote something up to figure out... | javascript jquery | [3, 5] |
1,734,207 | 1,734,208 | Can't get JavaScript increment ++ to work | <p>I'm trying to count the number of times jQuery uses its $.get function.</p>
<p>I have a simple variable: <code>var max = 0;</code>.</p>
<p>When the <code>$.get</code> is passed I then have <code>max++</code> in the appropriate region but this does not work because when I alert max later it still shows up as 0. I e... | javascript jquery | [3, 5] |
2,007,752 | 2,007,753 | Javascript issue | <p>I have a question regarding my button disappear</p>
<p>I've put an image as my button</p>
<pre><code><div id="button1">
<a href="javascript:example_animate('-=200px')">
<img src="images/button1.jpeg">
</a>
</div>
</code></pre>
<p>that is animated with this function</p>
<... | javascript jquery | [3, 5] |
4,283,639 | 4,283,640 | Android How to listen for Volume Button events? | <p>I know you guys are probably tired of these kinds of posts, but why doesn't anything happen when I press volume down? I'm just trying to make a simple code, but apparently it's not working.</p>
<pre><code>package com.cakemansapps.lightwriter;
import android.app.Activity;
import android.os.Bundle;
import android.vie... | java android | [1, 4] |
2,561,551 | 2,561,552 | Response.Redirect doesn't work after 2 minutes subroutine | <p>I've bound an asp button to a subroutine that generates an xls file through these steps:</p>
<ol>
<li>Executes some sql queries (successfully)</li>
<li>Builds the excel file with the resulting data sets (successfully, 2MB)</li>
<li>Redirects the current page to a "DownloadPage.aspx?filename=" with the standard oper... | c# asp.net | [0, 9] |
3,539,587 | 3,539,588 | How can I add a delay to a change of .css state | <p>I have the following:</p>
<pre><code> $(document)
.ajaxStart(function () {
$(this).css({ 'cursor': 'progress !important' })
})
.ajaxStop(function () {
$(this).css({ 'cursor': 'default !important' })
});
</code></pre>
<p>Is there a way that I can prolong the cursor progress state by... | javascript jquery | [3, 5] |
327,911 | 327,912 | String extraction with javascript | <p>I'm using jquery and have an entire html page stored in <code>var page</code></p>
<pre><code>var page = '<html>...<div id="start">......</div><!-- start -->....</html>';
</code></pre>
<p>How can I extract only the section that starts with <code><div id="start"></code> all the wa... | javascript jquery | [3, 5] |
967,674 | 967,675 | how i am get current time in PST in php and javascript? | <p>how i am get current time in PST in php and javascript ?</p>
| php javascript | [2, 3] |
2,449,953 | 2,449,954 | PHP read Javascript array | <p>I am passing an array from Javascript to PHP page, as below.</p>
<pre><code>var arrF1 = [{"Item":"item1no",
"Desc":"item1desc",
"Remarks":"item1note"},
{"Item":"item2no",
"Desc":"item2desc",
"Remarks":"item2note"}
];
$.ajax({
type: "POST",
url: "http://www.mydo... | php javascript | [2, 3] |
1,135,052 | 1,135,053 | Error parsing attribute 'enableEventValidation': Type 'System.Web.UI.Page' does not have a public property named 'enableEventValidation' | <p>Not seen this error discussed previously here (see subject line), maybe someone has run into the same problem.
I have <code>enableEventValidation = "False"</code> set for the <code><page></code> tag in my web.config file.
As I try to build my web app project on VS2010, I receive this error , rendering me unabl... | c# asp.net | [0, 9] |
3,424,964 | 3,424,965 | Passing a string in javascript and retrieving it through php file | <p>I am passing a string to a javascript through call by reference. The string is a text retrieved from a textarea field. The problem is that a single word is retrieved properly, but when i send multiple text it shows a problem. the sample code is like this in a php file,</p>
<pre><code><input type=button onclick="... | php javascript | [2, 3] |
3,597,197 | 3,597,198 | jQuery Disable Link until page load | <p>I have a jquery pop-up window attached to a link. If the page is not fully loaded (i.e. the .js files) when the link is clicked it opens in the browser window rather than a pop-up.</p>
<p>I was thinking of disabling/hiding the link until the page was loaded.</p>
<p>What would best practice be for handling this sc... | javascript jquery | [3, 5] |
284,296 | 284,297 | How to format this date + time got from JavaScript? (+jsFiddle) | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1536516/how-to-display-a-date-as-2-25-2007-format-in-javascript-if-i-have-date-object">how to display a date as 2/25/2007 format in javascript, if i have date object</a> </p>
</blockquote>
<p>How can I format th... | javascript jquery | [3, 5] |
619,667 | 619,668 | Increment a clock counter | <p>Hello I have a clock counter which I need to increment by 1, the counter can be found at:</p>
<p><a href="http://carbonexpert.lu12.com/private.php" rel="nofollow">http://carbonexpert.lu12.com/private.php</a></p>
<p>So from: 6,204,988,466 to: 7,204,988,466 (but it still needs to count in the current manner)</p>
<p... | javascript jquery | [3, 5] |
4,361,625 | 4,361,626 | android inline class | <p>This might be a dumb question, but I've been thinking about it for some time and I have no idea what it's really called.</p>
<p>So for Android, for OnClickListeners, OnTouchListeners, etc., you're allowed to do the following:</p>
<pre><code> bio.setOnCancelListener(new OnCancelListener() {
public void ... | java android | [1, 4] |
1,756,542 | 1,756,543 | Change CSS class based on bound value? | <p>I have an item template in a grid view:</p>
<pre><code> <asp:TemplateField HeaderText="Name" SortExpression="GroupDescription">
<ItemTemplate>
<asp:Label ID="lblName" CssClass="edit" runat="server" Text='<%# Bind("GroupDescription") %>'></asp:Label>
... | c# asp.net | [0, 9] |
3,778,165 | 3,778,166 | Error handling in javascript | <p>I was wondering how to handle errors inside a script that is meant to be used as a "parser". Basically I need a way to handle parsing errors.</p>
<p>Since the text that this script parses should be provided in the HTML, I guess throwing the error in the javascript console is not an option, right? The user of the sc... | javascript jquery | [3, 5] |
2,768,404 | 2,768,405 | How to pass arguments inside function? | <p>I started to learn Jquery and but I am having trouble understanding function parameters:(
If you look my <b>first</b> code and run it: my script <b>WILL work</b> <i>(WITHOUT parameters)</i>. And if you look my <b>second</b> code <br/><i>(WITH parameters)</i> and run it: <b>second script</b> <i>WILL ALSO WORK!!</i><b... | javascript jquery | [3, 5] |
3,455,386 | 3,455,387 | Jquery Javascript syntax | <p>Can someone please explain the following syntax</p>
<pre><code>$(function(){
$(".myPage").live("click", myHandler); // NOT THIS BIT!!
});
</code></pre>
<p>It looks globally defined, if that makes any difference?</p>
| javascript jquery | [3, 5] |
1,163,754 | 1,163,755 | jquery grid bind to sql server throuh page.aspx.vb | <p>I am trying to bind jquery grid to sqldata through .aspx page but i cant</p>
<p>Iam having one jquery grid and one jquery chart so i have to bind the grid and chart to sql server
using asp.net and vb</p>
<p>Alredy im get the data in aspx.vb page and the data in datatable </p>
<p>so frnds help me how to bind that... | jquery asp.net | [5, 9] |
5,321,381 | 5,321,382 | select box manipulation | <p>I would like to dynamically change the option value of a select tag. Is this possible? When I say value, I mean the "Change Me" portion. If this is possible, can someone please show me how?</p>
<pre><code><option value="0">Change Me</option>
</code></pre>
| javascript jquery | [3, 5] |
5,979,320 | 5,979,321 | Is there any way we can stop the animate in Jquery (also stop the complete call back function) | <p>I think the issue is relative with queue in Jquery.
We can use clearQueue() to clear queue to stop any animate, however the clear queue cannot stop the call back function
consider this</p>
<pre><code>$("#sth").animate( { width:'100%' }, 2000, function() {
$("#sth").css("width","0%");
});
</code></pre>
<p>and</... | javascript jquery | [3, 5] |
5,252,240 | 5,252,241 | Is it better to use .delegate() performance wise? | <p>One of the developers I work with began to write all his code this way:</p>
<pre><code>$('.toggles').delegate('input', 'click', function() {
// do something
});
</code></pre>
<p>vs:</p>
<pre><code>$('.toggles').click(function() {
// do something
});
</code></pre>
<p>Are there any performance benefits... | javascript jquery | [3, 5] |
2,642,066 | 2,642,067 | An example of javascript__dopostback | <p>Please provide an example of calling the <code>__doPostBack</code> function.</p>
| c# javascript asp.net | [0, 3, 9] |
5,648,254 | 5,648,255 | Jquery autosuggest not working | <p>Hey guys, I'm using jQuery's autosuggest plugin by using php to get the data. But it doesn't seem to work since I always get: No Results Found, even though I'm sure there are results:</p>
<p>Here's the php code:</p>
<pre><code><?php
ini_set('display_errors', 'On');
error_reporting(E_ALL | E_STRICT);
$input = m... | php javascript jquery | [2, 3, 5] |
2,413,226 | 2,413,227 | Label that turns into textbox when clicked? | <p>Maybe there is a CSS style for this, but, I want my TextBox to look like a label. When it is focused, I want it to look like whatever CSS style is applied. I am using bootstrap so that would be the style.</p>
<p>Is there some way to do this?</p>
<p>I have a grid view that I want to allow the user to rename without... | c# asp.net | [0, 9] |
128,325 | 128,326 | add class current when slidetoggle | <p>i try to create simple accordion menu with simple code.</p>
<p>Here is my <a href="http://jsfiddle.net/aCaEG/" rel="nofollow">Jsfiddle</a></p>
<pre><code>$('li').click(function(ev) {
$(this).find('>ul').slideToggle();
ev.stopPropagation();
});
</code></pre>
<p>my problem is how to add class <code>curre... | javascript jquery | [3, 5] |
3,763,049 | 3,763,050 | run asp.net function when The page is closing | <p>I have an asp.net page
when Loading this page it creates a Thread to do some thing
My Question is :
How to kill this thread when the user close the page ?
I have tried with "onUnload" event
but it just works with javascript function (as I know)
and we can't use asp.net code in javascript function
Do You have a way ... | c# asp.net | [0, 9] |
5,944,068 | 5,944,069 | video streaming with php and javascript | <p>hello so i am uploading several files to my apache server through a php script using the following script</p>
<pre><code>$uploaddir = 'photos/';
$file = basename($_FILES['userfile']['name']);
$uploadfile = $uploaddir . $file;
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) else
</code></pre>
... | php javascript | [2, 3] |
3,238,497 | 3,238,498 | How can I get the index of non-sibling elements in jquery? | <p>HTML:</p>
<pre><code><ul>
<li>Help</li>
<li>me</li>
<li>Stack</li>
<li>Overflow!</li>
</ul>
<br>
<ul>
<li>Can</li>
<li>I</li>
<li>connect</li>
<li>these?</li>
<... | javascript jquery | [3, 5] |
1,187,951 | 1,187,952 | Interpolate or "tween" between two values (but not animating) | <p>I have a variable that is increasing let's say from 0 to 99.</p>
<p>Then I have a div that I want to move at the same rate of the increasing variable but I only want to define the two ends of the movement (for example moving from top to down, I only define the topmost position and the downmost position). The rest s... | javascript jquery | [3, 5] |
5,238,516 | 5,238,517 | Passing itself value into function | <p>I have the following and you can see I am trying to pass <code>this</code> through on the function is this possible in JavaScript\jQuery if so how? Can't seem to find anything I think I have the terminology wrong.</p>
<pre><code>function pageLoad(sender, args) {
if (args.get_isPartialLoad()) {
jQuery(".... | javascript jquery | [3, 5] |
699,808 | 699,809 | I cannot see my grid view when running the website | <p>In my asp.net website project, I need to use a grid view that fetches data from my access database. I though I knew how to do that. But apparently something is missing. I configured the AccessDataSource to my table in the database, and did a grid view to show the contents of this table. but still when I run the webs... | c# asp.net | [0, 9] |
4,203,058 | 4,203,059 | Convert UTC Time T0 Local Time In Java and c# | <p>In c#:</p>
<pre><code>DateTime dateTime = DateTime.Parse(text, CultureInfo.InvariantCulture);
string s = dateTime.ToLocalTime().ToString("s", CultureInfo.InvariantCulture));
</code></pre>
<p>The <code>text</code> is <code>2011-06-30T05:48:34Z</code>, and the <code>s</code> is <code>2011-6-30 13:48:34</code></p>
<... | c# java | [0, 1] |
2,582,901 | 2,582,902 | Stop page execution like the alert() function | <p>When I write <code>alert('Hello')</code>, the page execution stops and waits for approval to continue.</p>
<p>I have <strong>div</strong> setup to display as a fake alert, using HTML - this div has an 'OK' button.</p>
<p>I want the page to stop its execution (just like as in a real alert) until the user presses 'O... | javascript jquery | [3, 5] |
4,232,159 | 4,232,160 | Condensing a Javascript array | <p>I have a javascript array (from a <a href="http://pipes.yahoo.com/pipes/pipe.info?_id=dc16e694967418792beaa97d7bf1999a" rel="nofollow">yahoo pipe via JSONP</a>) in which I have a sub-array called 'moby'.</p>
<p>I'd like to change the current structure:</p>
<pre><code>value {
callback => blah,
generator =>... | javascript jquery | [3, 5] |
5,155,946 | 5,155,947 | jQuery ajax - Absolute URL's and error handling | <p>Is it possible to catch the HTTP errors (like 404, 500, 504 etc) when we call an external webservice by specifying an absolute url?. (like setting the <code>url:</code> attribute of <code>$.ajax</code> call to have a url value as <code>http://api.geonames.org/findNearbyPostalCodes</code>.</p>
<p>Right now I'm unabl... | javascript jquery | [3, 5] |
2,963,435 | 2,963,436 | Session Expire if i'm not in idle asp.net | <p>im getting problem with session, when i'm not idle and still using webpage thes session expires
I am using VS 2005</p>
<p>thanks in advance</p>
| c# asp.net | [0, 9] |
781,382 | 781,383 | How to utilize idle CPU cycles during WebService invocation | <p>I am invoking a web service, which displays the result in the UpdatePanel. The web sevice returns the result in approximately 30 sec. to 1 min. During this time interval I am currently displaying UpdateProgress Bar.</p>
<p>My goal is to utilize idle processor time & do some useful operation in foobar() method, ... | c# asp.net | [0, 9] |
1,966,597 | 1,966,598 | How would I go about expanding my PHP code library with Python code? | <p>I have a rather large API written in PHP that I've worked on for years. Some of the functionality needs to be upgraded to the extent where I should really just rewrite the classes. Since I need to scrap the old code anyway, I was thinking perhaps I could replace the old functionality with Python code.</p>
<p>I came... | php python | [2, 7] |
4,297,037 | 4,297,038 | FancyUpload with JQuery | <p>How to use FancyUpload in a JQuery based project? The page in which I will use FancyUpload is made of JQuery. How to use FancyUpload? Please mention every steps in details. Please</p>
| javascript jquery | [3, 5] |
4,249,936 | 4,249,937 | Bulk mailing using SMTP server in ASP.Net | <p>We are sending free newsletters to all users who have registered for this service. Since these newsletters are sent free of cost we expect at least 5000 subscribers within a month. I am worried whether bulk mailing using SMTP server concept will cause some issue. First we thought of developing a windows service whic... | c# asp.net | [0, 9] |
919,818 | 919,819 | How to pass parameter with a href and onclick function | <p>I want to pass parameter when I click in <code><a href></code>, first I have this and works fine:</p>
<pre><code> <a href="#" rel="like{{num}}"> I like </a>|
$("a[rel^='like']").click(function(){
$.ajax({
...
});
</code></pre>
<p>but I don't know how... | javascript jquery | [3, 5] |
1,005,202 | 1,005,203 | How to check if an input box contains only numbers or commas? | <p>Given:</p>
<pre><code> var input_val = $('#field').val();
</code></pre>
<p>How do I check whether input_val contains only numbers or commas? The solution must work in the 4 main browers.</p>
| javascript jquery | [3, 5] |
5,135,303 | 5,135,304 | Choosing between PHP or Java to use | <p>I'm having trouble choosing between PHP or Java to develop a fairly small web application for a school project.</p>
<p>Our project is to create a very crude/working/barebones ticket and events management system. Think of the basic functionality of Ticketmaster.</p>
<p>I have people in my team who are confident wit... | java php | [1, 2] |
1,619,684 | 1,619,685 | How to get a fraction from a float number? | <p>I have a floating point number:</p>
<pre><code>var f = 0.1457;
</code></pre>
<p>Or:</p>
<pre><code>var f = 4.7005
</code></pre>
<p>How do I get just the fraction remainder as integer?</p>
<p>I.e. in the first example I want to get:</p>
<pre><code>var remainder = 1457;
</code></pre>
<p>In the second example:</... | javascript jquery | [3, 5] |
5,681,842 | 5,681,843 | NullPointerException after disabling Wifi state and trying to enable again | <p>The first time I enable Wifi and then disable it everything is fine, but if I try to re-enable the Wifi after (either immediately or waiting for mobile data to connect again) it throws a NullPointerException and Force Closes.</p>
<pre><code>private void toggleWifi(){
if (wifi == 0){
wifiManager.setWifi... | java android | [1, 4] |
5,190,376 | 5,190,377 | What are the fundamental differences between ASP.net and PHP? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/606419/net-asp-vs-php">.NET & ASP vs PHP</a> </p>
</blockquote>
<p>Are there speed differences, performance issues, and what reasons do businesses have when they choose one or the other, is the learning cur... | php asp.net | [2, 9] |
5,068,588 | 5,068,589 | Get mouse relative position to dropped div | <p>I can get the absolute position of the mouse with:</p>
<pre><code>$(document).mousemove(function(e) {
window.x = e.pageX;
window.y = e.pageY;
});
</code></pre>
<p>How can I get this position relative to a specific div? </p>
| javascript jquery | [3, 5] |
5,100,944 | 5,100,945 | Suppose i have an HTML table. How do I use JQuery events on this? | <pre><code><table>
<tr class="myRow"><td class="col1"></td><td class="col2"></td></tr>
<tr class="myRow"><td class="col1"></td><td class="col2"></td></tr>
<tr class="myRow"><td class="col1"></td><td class="col... | javascript jquery | [3, 5] |
233,524 | 233,525 | jQuery 1.2.6 caching | <p>I'm doing quite a bit of DOM manipulation in my app, adding new nodes, and I've found that the children() function can get out of sync. I've got a tbody element with two rows, I use the children() function on this to do some manipulation with these rows. I then add two more rows to the tbody, when I use the children... | javascript jquery | [3, 5] |
2,521,009 | 2,521,010 | Javascript if/else | <p>Can someone please help me? I am not sure why this is not working. The else portion of the if/else does not execute.</p>
<pre><code>$.post("_inc/signupform.php", formdata,function(data){
console.log(data);
if(data.status == 1){
$('#frontpagevalid').append(data.message).show();
$("#frontpagen... | javascript jquery | [3, 5] |
893,017 | 893,018 | Show/hide div based on checkbox value | <p>When the user checks 'student'(check-1). The 2 checkbox values are supposed to disappear and reveal a text input div. As of right now I've got the input-reveal down. But I can't seem to get the checkboxes to disappear. </p>
<p>I've tried: </p>
<pre><code>$(function () {
$('#check-1').change(function () { ... | javascript jquery | [3, 5] |
4,432,146 | 4,432,147 | Different apk signatures in Android | <p>I have a little problem. I program in two different computers and when I change from one to the other and I try to run an aplication the adb return an error because the instaled apk and the new one have different signatures and I have to manually uninstall it.</p>
<p>Is there some way of avoiding that?</p>
<p>Than... | java android | [1, 4] |
607,537 | 607,538 | email form select llist menu | <p>i have a select list menu that i use in my email form:</p>
<pre><code><select name="orgSelect" class="orgSelect">
<option value="0">----Select product----</option>
<option value="1">Product 1</option>
<option value="2">Product 2</option>
<option value="3">Product 3<... | php javascript | [2, 3] |
3,698,445 | 3,698,446 | Dynamically created elements - How to make proper selector and access top objects | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1266604/jquery-selection-within-a-selection">Jquery: Selection within a selection</a> </p>
</blockquote>
<p>Consider this code:</p>
<pre><code>var $el = $('<div class="test"><div>Foor</div><... | javascript jquery | [3, 5] |
5,264,663 | 5,264,664 | AlertDialog style buttons for an Activity | <p>I have an activity with a Save and Cancel button at the bottom.</p>
<p>In AlertDialog, the buttons are displayed inside a styled container view of some sort. </p>
<p>How could I give the buttons in my Activity that same appearance? Specifically, how could I apply the style of the button container view in the Alert... | java android | [1, 4] |
189,598 | 189,599 | Escaping special characters | <p>Just a quick question. I want to send data from Javascript to a PHP script to store it in my database, then getting it back the same way (a script calls a PHP function, and data is sent back with JSON). </p>
<p>Which function should I use in the javascript ? I should never need to get the data only with PHP, so is ... | php javascript | [2, 3] |
716,116 | 716,117 | How to edit input file properties by using an android app? | <p>i want to make an app which can add the file properties of a song file that the user inputs. Like adding the Album name of the song.. i am still a newbie in android app development...
Thank you.</p>
| java android | [1, 4] |
3,557,178 | 3,557,179 | Oauth query - using access token and secret | <p>I am developing an application based on google Oauth. Now my all authentications are done. Even I have now the access token and secret. Now I dont know how to use this access token and secret.
Please I really need Help on this. I have already done the hard work which is getting access token and secret. Only need to... | c# java | [0, 1] |
4,203,346 | 4,203,347 | How to put a string into a text file | <p>I need to put a string into a text file with jQuery. When I press the button it must send the string in a text file. I tried to search but I can't find this specifically. This is my PHP code.</p>
<pre><code> <!doctype html>
<html lang="eng">
<head>
<meta charset="utf-8">
... | php jquery | [2, 5] |
2,255,936 | 2,255,937 | Given a ISO 8601 weeknumber, how would you get the dates within that week | <p>I got a weeknumber from a jquery datepicker, when a user selects a date. But now I want to get all the days within that week.</p>
<p>I could add a click event that loops through all the td's of the tr the selected date is in and graps it's value but I'm looking for a more reliable way.</p>
<p>So my question is, gi... | javascript jquery | [3, 5] |
3,806,837 | 3,806,838 | post back occurs javascript listbox items lost in asp.net | <p>i have 10 list boxes in my aspx page for all 10 list boxes same function is using for some buttons i want to add listbox data to grid can you help me my java script code shown below</p>
<p></p>
<pre><code>function MoveItem(ctrlSource, ctrlTarget) {
var Source = document.getElementById(ctrlSource);
var Tar... | c# javascript asp.net | [0, 3, 9] |
4,451,256 | 4,451,257 | Does anyone know how to access this function: GenerateNewWindowLightbox("Viewer.aspx?documentID=" + 21, null, true, ""); | <p>In the plugin below, the documentation says I should be able to call GenerateNewWindowLightbox as a global function - but when I try it says undefined. The documentation is in German - but I have feeling it has something to do with scope and maybe a smarter javascript person than I might know how to get quick and ... | javascript jquery | [3, 5] |
3,479,823 | 3,479,824 | How to convert the String to expected date format in javascript? | <p>I have the String 08082012, now i need to convert this into expected date format in js/jquery, for example the format is M/d/y. So result will be 08/08/2012.</p>
<p>Can you guys suggest me the possible ways to achieve?
Thanks in advance.</p>
| javascript jquery | [3, 5] |
1,224,615 | 1,224,616 | Save Data Into Table Before Deleting | <p>I have a detailview that has the Delete button; when user clicks the Delete button they get the delete confirmation dialog box. What kind of command do i need to use in the detailview before the data gets deleted? When user selects "Yes" i want to save the data in the detailview into some kind of variable first th... | c# asp.net | [0, 9] |
562,142 | 562,143 | Javascript detect when inner html has changed | <p>I have tried attaching the even onchange and change(with jquery) to an element that updates every couple seconds. Neither of these events are raised when the inner html is changed.
How can I detect with with javascript or jquery?</p>
| javascript jquery | [3, 5] |
946,656 | 946,657 | Moving from string array into datarow | <p>I have a problem with assigning string array into Datarow. Firstly, i have created the object for string array and put 2 values in the array out of 100(whole size). How many values should be placed in the array dependds on a different, which i am not showing here, though. </p>
<p>Then i tried converting into DataRo... | c# asp.net | [0, 9] |
3,526,210 | 3,526,211 | jQuery Selectable only select 1 and get a value? | <p>This might seem like an odd request but I'd like to use jQuery's Selectable tool to only select one item at a time and I'd like it to show me a value I'll have within each tag. At the very least I want the contents of that selection. Has anyone tried to do this? For some reason these little things seem to not be all... | asp.net jquery | [9, 5] |
3,266,232 | 3,266,233 | How to change non-default constructor in fragments to default constructor? | <p>Code:</p>
<pre><code>public PlacePickerFragment() {
this(null);
}
public PlacePickerFragment(Bundle args) {
super(GraphPlace.class, R.layout.com_facebook_placepickerfragment, args);
setPlacePickerSettingsFromBundle(args);
}
</code></pre>
<p>Hello, I want to remove deprecation warning from code above, i... | java android | [1, 4] |
873,384 | 873,385 | The content of the Intent in the BroadcastReceiver | <p>I am learning how to send SMS in android, have seen the code as below:</p>
<pre><code>public class SMSReceiver extends BroadcastReceiver
{
@Override
public void onReceive(Context context, Intent intent)
{
//---get the SMS message passed in---
Bundle bundle = intent.getExtras();
SmsMessage[] msgs =... | java android | [1, 4] |
4,970,511 | 4,970,512 | Script onload in IE | <p>I have script, which appends in the document:</p>
<pre><code>window.d = document
s = d.createElement('script')
s.setAttribute('type','text/javascript')
s.setAttribute('src',options.url)
d.getElementById(block_id).appendChild(s)
$(s).load(function() {
alert('')
})
</code></pre>
<p>In Opera, FF and Chro... | javascript jquery | [3, 5] |
811,174 | 811,175 | JavaScript equivalent of C#'s DynamicObject? | <p>Just to be clear, a class that inherits DynamicObject (in C# of course) is not the same concept as JavaScript's variables being dynamic. DynamicObject allows the implementer to programmatically determine what members an object has, including methods.</p>
<p><strong>Edit</strong>: I understand that JavaScript object... | c# javascript | [0, 3] |
4,106,429 | 4,106,430 | how we can assign single value of array to any variable in javascript | <pre><code><?php
$abc=array();
$abc = (abc, cde,fre);
?>
<script language="javascript" type="text/javascript">
for (var i = 0; i < 3; i++) {
var gdf = "<?php echo $lat['i'];?>";
alert("value ="+gdf);
}
</script>
</code></pre>
| php javascript | [2, 3] |
4,881,846 | 4,881,847 | Jquery scroller causing horizontal scrolling issue on all browsers | <p>I'm having horizontal scrolling issues and i'm thinking my jquery for the slider is causing the issue. Go to and you'll see the issue. It is difficult to show the code since I have no idea what to fix. Thanks :)</p>
| c# jquery | [0, 5] |
4,231,913 | 4,231,914 | Logging Javascript interactions with c# | <p>I was wondering if anyone might have any suggestions on how to log javascript interactions with a browser in C#. The reason behind it is I would like to design a web crawler that take note of any javascript interactions, which I would like to potentially sift through to find any sort of malicious calls of any kind. ... | c# javascript | [0, 3] |
686,618 | 686,619 | Help Me Understand This Comment Re Page Lifecycle | <p>I encountered this comment recently:</p>
<pre><code>protected void Page_PreRender(object sender, EventArgs e) {
// doing this at PreRender so we don't have to worry about when/if
// we should bind based on if it's a postback or callback and what not.
OrderList.DataSource = OrderItems;
OrderList.DataBind(); }
</cod... | c# asp.net | [0, 9] |
1,120,357 | 1,120,358 | How do I chain multiple selectors with filters in jQuery? | <p>I'm trying to select multiple elements which do not have the attribute 'disabled' but I'm not sure if there's an easier way to type this:</p>
<pre><code>$('input:not(:disabled), select:not(:disabled), textarea:not(:disabled)')
</code></pre>
<p>It seems a little wasteful to be typing multiple 'not(:disabled)'.</p>
| javascript jquery | [3, 5] |
4,619,110 | 4,619,111 | Efficient JQuery login script | <p>I have been able to create a login form using 2 different methods.</p>
<p>1) Use $.POST to send password to server PHP script which returns a success true flag. The form then needs to be submitted a second time so PHP 'header' can be called to load a new page (this has the ajax advantage that an error message can ... | php jquery | [2, 5] |
4,121,670 | 4,121,671 | textbox validation with jQuery, reject numbers | <p>With the help of stack overflow i got the below code for text box validation on conditions</p>
<ol>
<li><p>it must contain atleast 3 characters</p></li>
<li><p>it must contain atleast one vowel</p></li>
<li><p>it must contain only alphabets</p></li>
<li><p>submit button must be enabled only if above 3 condtions are... | javascript jquery | [3, 5] |
4,026,145 | 4,026,146 | learning Java, already know c++ | <blockquote>
<p><strong>Possible Duplicates:</strong><br>
<a href="http://stackoverflow.com/questions/307934/learning-java">Learning Java?</a><br>
<a href="http://stackoverflow.com/questions/1852003/java-jvm-for-c-programmer">Java/JVM for C++ programmer?</a> </p>
</blockquote>
<p>I have been learning c++ for ... | java c++ | [1, 6] |
3,293,494 | 3,293,495 | Best way to store a key=>value array in Javascript? | <p>What's the best way to store a key=>value array in javascript, and how can that be looped through?</p>
<p>The key of each element should be a tag, such as <code>{id}</code> or just <code>id</code> and the value should be the numerical value of the id.</p>
<p>It should either be the element of an existing javascrip... | javascript jquery | [3, 5] |
5,367,532 | 5,367,533 | Is it possible to access an html document from a different PHP script than the one that generated it? | <p>Here is the scenario:
I have a page that is logging data to MYSQL. I have another page that reads that data and allows it to be viewed. When a new piece of data is logged I would like to have the first script check and see if the viewing page is open in the browser, and if so append the newest data to the end of t... | php javascript | [2, 3] |
440,623 | 440,624 | Reloaded : Replace text into links using jquery | <p>I was searching so much over the net to convert text into links. I found one solution for that but now after testing that code i came up with problem. </p>
<p>Here is discussion regarding that : <a href="http://stackoverflow.com/questions/37684/how-to-replace-plain-urls-with-links">How to replace plain URLs with li... | javascript jquery | [3, 5] |
4,354,112 | 4,354,113 | Expired session on a website using callbacks | <p>I have an aspx.cs page that use only callback to connect to server side.</p>
<p>After the website starts running, if I work on this page for several minutes, the session has been expired. I have only used callback and I haven't used any postback.
I think the session has expired because it's not arising from the pos... | c# asp.net | [0, 9] |
5,981,527 | 5,981,528 | Toggle text on button tag | <p>I have a show hide table rows feature but would now like to change my text. </p>
<pre><code><script language="javascript" type="text/javascript">
function HideStuff(thisname) {
tr = document.getElementsByTagName('tr');
for (i = 0; i < tr.length; i++) {
if (tr[i].getAttribute('class... | javascript jquery | [3, 5] |
3,502,833 | 3,502,834 | correct way to display image from php onto page | <p>I am not getting my image correctly. I am unsure what is happening. First things first, the image is coming out of a mysql query. Little confused about how to make that image ready for a ajax call?</p>
<p>here is how I get the image out mysql</p>
<pre><code> if(mysql_query("insert into Personal_Photos (Email... | php jquery | [2, 5] |
1,904,636 | 1,904,637 | How to update details while pressing enter key on Grid view row editing in asp.net | <p>How to update details while pressing enter key on Grid view row editing in asp.net.</p>
<p>I got many references and i used the code in below link.</p>
<p><a href="http://stackoverflow.com/questions/152099/i-want-to-prevent-asp-net-gridview-from-reacting-to-the-enter-button">I want to prevent ASP.NET GridView from... | c# asp.net | [0, 9] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.