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 |
|---|---|---|---|---|---|
1,463,415 | 1,463,416 | Javascript SyntaxError: Unexpected EOF -webkit browsers only | <p>I have a function (show below) that totals up all the hours on the page onBlur of the ".total" input fields. This function works perfectly in FF but in Chrome and Safari I am getting this error: SyntaxError: Unexpected EOF ---I did some research but I am lost as to what might be causing this. </p>
<p>thanks for any... | javascript jquery | [3, 5] |
4,546,488 | 4,546,489 | UI handler in android | <p>Is there a dedicated UI handler for android application? how can i intercept the messages before they get handled ? im using java to write my android application. My goal is to capture UI generated events and log them.</p>
| java android | [1, 4] |
2,450,546 | 2,450,547 | jQuery not pulling hidden field value on content page | <p>I am running this script within a content page on my ASP.net site.</p>
<pre><code><script>
$(document).ready(function () {
var satShifts = $('#hidSat').val();
alert("Sat: " + satShifts);
});
</script>
</code></pre>
<p>On the page_Load event on the server I ... | javascript jquery asp.net | [3, 5, 9] |
2,886,700 | 2,886,701 | jQuery fadeOut / fadeIn scroll issue in Chrome | <p>I am using jQuery fadeOut & fadeIn to dynamically change the content on a page, inside a div. All browsers work great, except Chrome for Mac. In Chrome for Mac, on the first page, if you scroll down, fadeOut and then fadeIn the newly faded in content is "off the screen" - in other words, missing. If you don't sc... | javascript jquery | [3, 5] |
5,453,856 | 5,453,857 | Get value of HTML element without ID? | <p>This is a sample of how it looks like:</p>
<pre><code>"<span class="value">7,611</span>"
</code></pre>
<p>I need to get it's value (7,661, no need to convert it to number) in C#.</p>
| c# asp.net | [0, 9] |
4,476,575 | 4,476,576 | What is Background Processing in Asp.net? | <p>How I can implement Background Processing in asp.net. Can anyone give a small and easy sample or provide me a useful link.</p>
<p>thanks.</p>
| c# asp.net | [0, 9] |
2,498,666 | 2,498,667 | jQuery: How to scope event listeners on form elements to their own forms? | <p>So I have multiple forms on a page. Each form is identical except for the data they may contain. I am listening for changes to a specific elements that should modify other elements within its same form, but I am having trouble figuring out how to scope those actions within its own form. Here's what I've got so far:<... | javascript jquery | [3, 5] |
4,029,310 | 4,029,311 | How to display images from a folder in a gridview? | <p>How to display images from a folder in a gridview whose path is stored in ms sql database?</p>
| c# asp.net | [0, 9] |
30,429 | 30,430 | Enter is not working in Internet explorer and Firefox | <p>This function is not working in Internet Explorer and Firefox. In Firefox, it returns the following error:</p>
<blockquote>
<p>TypeError: e is undefined<br>
[Break On This Error]<br>
...e.which == "number") ? e.which : e.keyCode; keyCodeEntered = (e.which) ? e.which... </p>
</blockquote>
<p>The function:</p>... | javascript jquery | [3, 5] |
5,428,859 | 5,428,860 | open a fancybox on pageload | <p>The situation is to open a fancy box on the page load,</p>
<p></p>
<p>Please find the below html, and the code behind I am using but with no success.</p>
<pre><code>protected void Page_Load(object sender, EventArgs e)
{
if (SessionController.CurrentMember != null)
{
... | c# jquery asp.net | [0, 5, 9] |
1,407,420 | 1,407,421 | Is there any api which give suggestion words? | <p>I want to ask is there any api which return list of suggestions of words on giving input in any text control in any platform.</p>
<p>For example when we type in EditText in android through soft keyboard , keyboard returns some suggestions so my question is that is there any api which gives the suggestions of corr... | iphone android | [8, 4] |
1,722,206 | 1,722,207 | Zooming the image of particular portion through jQuery | <p>I have the image of gray scale of 150 dpi. The problem is that I am scanning the document online and saving it to data base the in the <code>tiff</code> format and then after I am showing the image the document like form and identity proof in which the font of the row is very small so that after scanning the image n... | c# jquery asp.net | [0, 5, 9] |
3,500,461 | 3,500,462 | applying same function to many elements (in order) | <p>any better way to do that (assuming I have 10 <code>a</code> elements, for instance)?</p>
<pre><code>$('#id > a:nth-child(1)').click(function() { changeP(1); return false; });
$('#id > a:nth-child(2)').click(function() { changeP(2); return false; });
$('#id > a:nth-child(3)').click(function() { changeP(3);... | javascript jquery | [3, 5] |
1,076,001 | 1,076,002 | Redirecting new tab OR browser on button click.(Response.Redirect) in asp.net C# | <p>Can anybody suggest how we can open the page in new window or New Browser using Response.Redirect in c#.
I have used :
Response.Redirect("page1a.aspx");</p>
<p>but it's open in existing tab.</p>
| c# asp.net | [0, 9] |
2,894,074 | 2,894,075 | Using JavaScript to get different behavior depending on page size | <p>I'm trying to activate different settings for different screen/browser resolutions based on a bit of JavaScript that offers zoom functionality. I've included the below script within my HTML document but I don't think its working correctly. </p>
<p>What I'm saying is if the screen width is more than 1025px AND the w... | javascript jquery | [3, 5] |
2,049,681 | 2,049,682 | How to pass String from 2 activities to one? | <p>I have two activitys with lists.</p>
<p>One for tablet's and one for regular density phones.
When an item in the list is clicked it launches the same activity for either activity with list's.</p>
<p>The problem is when an item is clicked i have getter and setter class that gets the URL for a particular item and p... | java android | [1, 4] |
5,410,039 | 5,410,040 | Combining and Caching multiple JavaScript files in ASP.net | <p>Either I had a bad dream recently or I am just too stupid to google, but I remember that someone somewhere wrote that ASP.net has a Function which allows "merging" multiple JavaScript files automatically and only delivering one file to the client, thus reducing the number of HTTP Requests.</p>
<p>Server Side, you s... | asp.net javascript | [9, 3] |
3,932,683 | 3,932,684 | Get text value of input from FindControl | <p>I know now normally you can get the value of a text input using the following:</p>
<pre><code>txtName.Text
</code></pre>
<p>But because my input is inside of a LoginView I am using FindControl like this:</p>
<pre><code>LoginView1.FindControl("txtComment")
</code></pre>
<p>This successfully find the text input bu... | c# asp.net | [0, 9] |
3,510,504 | 3,510,505 | dynamic collection of text from text field | <p>this is html code</p>
<pre><code><div id="domTxtEntry">
<strong>Your Name:</strong>
<input type="text" name="txtdisplay" id="txtdisplay" value="" class="input" />
<br />
<br />
<div id="domPrv"></div>
</div>
</code></pre>
<p>this jquery cod... | javascript jquery | [3, 5] |
1,463,246 | 1,463,247 | RegisterStartupScript not behaving as expected with jQuery script | <p>I have a Page with an update panel, in this update panel I have a button that I want to show/hide by outputting JavaScript given some params, I am using for example:</p>
<pre><code>RegisterStartupScript(Me.Page, Me.GetType(),
"deleteHideScript", "$('.deleteButton').hide();", True)
</code></pre>
<p>I am able to ... | javascript asp.net | [3, 9] |
222,992 | 222,993 | what is the equivalent component in android like uiindicator in iphone | <p>can anybody tell what is the equivalent component in android like uiindicator in iphone give example</p>
<p>Thanks</p>
| iphone android | [8, 4] |
2,818,056 | 2,818,057 | Handling dynamically generated controls in asp.net | <p>What's the best way to handle data entered through dynamically generated controls in ASP.NET?</p>
<p>Currently, I have a group of controls that are generated in the Page_Load stage, and I need to access the data from them. It seems like it might be possible to just use a hidden field that's read and parsed on postb... | c# asp.net | [0, 9] |
4,287,769 | 4,287,770 | delete rows and change pagination counters? | <p>I want change <code>1 تا 6 از 36</code>=translator to EN=> <code>1 to 6 of 36</code> after delete row(s)(with click on link <strong>DELETE</strong>) in table.<br>
<strong>EXAMPLE:</strong> total rows is <code>36</code> if we delete <code>3</code> rows, this total row online change to <code>33</code> (like when that ... | javascript jquery | [3, 5] |
4,808,039 | 4,808,040 | On click with an element that has been added to the page? | <p>I add a delete button dynamically to the page once the user uploads an image.</p>
<pre><code>$('.galleryImage .delete').bind('click', function() {
//do delete
}
</code></pre>
<p>The above does not work.</p>
<p>As I understand it, it's because the delete button is added to the page after creation.</p>
<p>I've t... | javascript jquery | [3, 5] |
5,104,722 | 5,104,723 | Get handle of back click in java class | <p>In my android application my Home activity calls Async task which is placed in another java class.If the user press on back of device i would like to perform some action in async task called.How can i get access of user back click in my java class which doesnot extend Activity. </p>
<p>Please let me know if any su... | java android | [1, 4] |
1,915,517 | 1,915,518 | how to put focus back on textbox which fails validation ,inside gridview | <p>I have below <code>textbox</code> inside <code>itemtemplate of gridview.</code>.problem is when i click on <code>edit button of gridview</code>,and if i enter invalid value in <code>textbox</code> according to validation logic, <code>focus of textbox is lost</code> when i click on <code>update button</code>..if i am... | c# asp.net | [0, 9] |
2,728,508 | 2,728,509 | Can't convert values | <p>Im trying to convert the Id field to send it to the DB but in the DB the type is bigInt:</p>
<pre><code>var ID_Inscricao = (Label)row.FindControl("Label1");
</code></pre>
<p>How do I convert this to a type that is compatible with bigInt? I have tried cast and convert but neither worked.</p>
| c# asp.net | [0, 9] |
3,604,526 | 3,604,527 | find the value of psudo class variable in javascript | <p>hey every one I want to alert value of n from this string </p>
<pre><code>$('.orbit-bullets:has( > li.active:nth-child)');
</code></pre>
| javascript jquery | [3, 5] |
4,945,653 | 4,945,654 | JQuery,Passing Form POST/FILES data to PHP | <p>I have simple Image ulpoad HTML Form, The Idea is, I'm passing my Data to PHP script Via JQuery, Anyway, My script is not passing $_FILES Data
Code:</p>
<pre><code><script type="text/javascript">
$(document).ready(function(){
$('#addpic').live('submit', function(e) {
e.prev... | javascript jquery | [3, 5] |
6,010,618 | 6,010,619 | How to append an Object to a DOM Element with JQuery append(), add() or appendTo()? | <p>I can't seem to get this working, even though I have the idea it is perfectly correct. Consider the following code:</p>
<pre><code><script type="text/javascript>
ul = $(".qtrans_language_chooser");
parent = ul.parent();
activeLangLi = ul.children("li.active");
parent.prepend('... | javascript jquery | [3, 5] |
5,542,744 | 5,542,745 | change asp.net panel rendered tag from div to span | <p>I have an <code><asp:Panel></code> inside an <code>li</code>, so the problem is the html will not validate.</p>
<p>Any help in changing the rendered <code>div</code> to a <code>span</code>?</p>
<p>I'm doing this in a ASP.NET 4.0 website using c# code.</p>
| c# asp.net | [0, 9] |
923,503 | 923,504 | Tally xml creation from asp.net | <p>Is it possible to create a tally xml from asp.net. There should be multiple tallymessage tag in the xml. It means that I want to import a day book in tally with multiple debitnotes.</p>
| c# asp.net | [0, 9] |
3,882,248 | 3,882,249 | How are linked lists implemented without the use of pointer? | <p>It is easy to implement linked list in c++ where you have pointers. But how are they implemented in other languages (like java,python,etc). I don't want to use built-in class(which are supported in JAVA) for linked-list but what i want is how to replace pointers to create linked-list?</p>
| java c++ | [1, 6] |
2,753,011 | 2,753,012 | check if user is visiting pure root url | <p>I'd like to run a js script if a user is visiting my site's root url. I am using this code:</p>
<pre><code><script type="text/javascript">
if(location.pathname == "/") {
window.open ('#107','_self',false);
}
</script>
</code></pre>
<p>However <a href="http://example.com/?foo=bar#hash" r... | javascript jquery | [3, 5] |
531,949 | 531,950 | javascript - set var equal to data returned from a function | <pre><code>var ipAddress="unknown";
$.getJSON('http://jsonip.appspot.com/?callback=?',
function(data){
ipAddress=data.ip;});
document.getElementById('callbackForm').elements["callback_form.ipAddress"].value = ipAddress;
</code></pre>
<p>This javascript code sets the var ipAddress equal to 'unknown', then executes a ... | javascript jquery | [3, 5] |
2,942,594 | 2,942,595 | Jquery submits form but does not fade my div | <p>The title almost says it all. I have a jquery code i've written, im not good at it but this is what i achieved:</p>
<pre><code>$("#myForm").submit(function(){
//alert($(this).serialize());
$.post("submit.php", $(this).serialize(), function(data){
if(data == success) {
... | php jquery | [2, 5] |
2,721,853 | 2,721,854 | Javascript formatting for if condition | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/4728144/check-variable-equality-against-a-list-of-values">Check variable equality against a list of values</a><br>
<a href="http://stackoverflow.com/questions/13959064/javascript-comparing-single-value-against-mul... | javascript jquery | [3, 5] |
2,678,839 | 2,678,840 | class of a DOM and jQUery | <p>I sometimes see that there is something like this:</p>
<pre><code><input name="star2" type="radio" class="star 1"/>
<input name="star2" type="radio" class="star 2"/>
</code></pre>
<p>is it possible in jQuery to let one class to handle these two class? Because basically they have the same parent class... | javascript jquery | [3, 5] |
4,507,616 | 4,507,617 | <link rel="Stylesheet" type="text/css" href="<% ResolveUrl("~/Css/test.css") %>"/> | <pre><code>Error 5 ; expected
<link rel="Stylesheet" type="text/css" href="<% ***ResolveUrl("~/Css/test.css");*** %>"/>
</code></pre>
<p>Do i need to give <code>;</code> over here as my solution is not still working it starts giving some other error</p>
| c# asp.net | [0, 9] |
736,650 | 736,651 | Listview with image from the gallery | <p>I have a 'contacts' application within my app and I would like to be able to set an image against a persons name within the listview. </p>
<p>How can I select a picture from the gallery and set this as the image? I've seen loads of examples where the image is loaded into an array but I don't believe this is what I'... | java android | [1, 4] |
3,341,574 | 3,341,575 | Raw resources file with variable name in android | <p>My Current Code is </p>
<pre><code>dbfileRawCopy(myOutput,R.raw.dbaa);
dbfileRawCopy(myOutput,R.raw.dbab);
dbfileRawCopy(myOutput,R.raw.dbac);
dbfileRawCopy(myOutput,R.raw.dbad);
dbfileRawCopy(myOutput,R.raw.dbae);
dbfileRawCopy(myOutput,R.raw.dbaf);
dbfileRawCopy(myOutput,R.raw.dbag);
dbfileRawCopy(myOutput,R.raw.... | java android | [1, 4] |
753,147 | 753,148 | Call PHP on server via Javascript? | <p>I am attempting to make a dead simple webpage that does things when I click a button.</p>
<p>I am trying to use Javascript so I don't have to reload the main page or anything.</p>
<p>So I want a button that says "Shutdown", and I simply want to run shutDown.php that will shut down the server when I click on this.<... | php javascript | [2, 3] |
2,118,494 | 2,118,495 | assign a value from a foreach loop to an asp:button CommandArgument | <p>The code behind file creates a list of employees and the asp.net page loops through list.
Now, How do I assign the employeedID to the commandArgument of an asp:button?</p>
<pre><code> <%foreach(var employee in employeesList){%>
<tr>
<td><%=employee.firstName%></td>
<t... | c# asp.net | [0, 9] |
3,269,573 | 3,269,574 | RadioButtonList.SelectedIndex vs RadioButtonList.SelectedValue | <p>Out of curiosity, anyone knows the particulars of the internal implementation of </p>
<pre><code>ListControl.SelectedIndex = (int) <new valueIndex>
</code></pre>
<p>VS </p>
<pre><code>ListControl.SelectedValue = <new value>.ToString()
</code></pre>
<p>I'm having difficulties with a custom validation ... | c# asp.net | [0, 9] |
2,927,446 | 2,927,447 | how to get value from the previous hidden input from a span tag using jQuery | <p>how to get value from a hidden input previous to a span tag using jQuery</p>
<pre><code> <div>
<input type="hidden" value="<?php echo $activeTimeID; ?>" class="activeTimeId"
name="activeTimeID<?php echo $j;?>[]" />
<span class="closeTime">close</span>
</div>... | javascript jquery | [3, 5] |
284,321 | 284,322 | URL accesses based on login | <p>Hello everyone I have a question that I will describe as good as I can.
I have project that resides in the folder on my server the path for url is like</p>
<p>www.domain.com\project now what I am trying to achieve is to have a \project directory be only accessible if user is login. scenario would be the user opens ... | c# asp.net | [0, 9] |
123,845 | 123,846 | Setting Date Value selected on Date Picker | <p>I'm trying to get a date picker on my asp.net webpage. I've been able to run the same code using a master page
and it works, but now I'm trying to get it to work without a master pager and I'm getting error message:
Error: Unable to get value of the property 'aspnetForm.ctl00_txtDOB': object is null or undefined</p... | c# javascript asp.net | [0, 3, 9] |
5,489,238 | 5,489,239 | Set Objects Key Value | <p>I am using jQuery to iterate through a Javascript object and I would like to set the key value of one or more of the objects keys from within the loop.</p>
<pre><code>var children = $(clone).children();
$.each(obj, function(k, v) {
if(v == undefined) {
//Loop through data array and match.
... | javascript jquery | [3, 5] |
4,533,137 | 4,533,138 | Getting the value of option choosen by the user | <p>In my index file where the form and function are located, named:</p>
<p><strong>index.php</strong></p>
<pre><code>$(function() {
$.ajax({
type: "POST",
url: "invtype.php",
data: "getrevenuetype=true",
success: function(b){
$("#revenueType").html(b)
}
})
}... | php javascript jquery | [2, 3, 5] |
3,932,556 | 3,932,557 | Adding auto increment value to li element | <p>im a css/designer guy so please excuse my lameness in not knowing any .js</p>
<p>basically i want to know how to add an auto incremental id to a list item with javascript / jquery for something that i am trying to add some css to.</p>
<p>before</p>
<pre><code><li id=""><a href="">Item number 1</a&g... | javascript jquery | [3, 5] |
4,377,899 | 4,377,900 | Can't execute file via Server.Execute() | <p>I'd like to execute a file in a subsite. Both the parent and sub site are web apps. I don't want to redirect to the sub site file. I'm trying to execute the sub file using Server.Execute() but it isn't working.</p>
<p>The main URL is:
<a href="http://mysite.com/subsite" rel="nofollow">http://mysite.com/subsite</... | c# asp.net | [0, 9] |
2,864,955 | 2,864,956 | jQuery reset refreshing browser as well as resetting form | <p>I am trying to issue a form reset to clear the contents back to there initial state. What is happening however, is that the form clears but also the browser refreshes. I have also tried putting the code inside a document ready but still the same. Can someone explain to me why this is happening. Thanks</p>
<pre><cod... | javascript jquery | [3, 5] |
2,548,789 | 2,548,790 | exporting gridview to Ms Excel 2007 | <p>I am trying to export grid view data into excel 2007 i.e. xlsx format. but its giving error.</p>
<p>i am using following code</p>
<p>protected void Button1_Click(object sender, EventArgs e)</p>
<pre><code> {
Response.Clear();
Response.Buffer = true;
Response.AddHeader("content-dispositi... | c# asp.net | [0, 9] |
5,839,382 | 5,839,383 | how to avoid $ conflict in the callback function of jquery with prototype | <pre><code>jQuery.noConflict(); or $.noConflict();
(function($) {
$(document).ready( function() {
// Show menu when #input1 is clicked
$("#input1").contextMenu({
menu: 'myMenu'
},
function(action, el, pos) {
alert("clicked");
});
})(jQuery);
</code></p... | javascript jquery | [3, 5] |
2,854,564 | 2,854,565 | What does jQuery.fn mean? | <p>What does the 'fn' here mean?</p>
<pre><code>window.jQuery.fn.jquery
</code></pre>
| javascript jquery | [3, 5] |
5,772,263 | 5,772,264 | (Deep) copying an array using jQuery | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/122102/what-is-the-most-efficient-way-to-clone-a-javascript-object">What is the most efficient way to clone a JavaScript object?</a> </p>
</blockquote>
<p>I need to copy an (ordered, not associative) array of ob... | javascript jquery | [3, 5] |
2,779,511 | 2,779,512 | A quick question about keypress and jQuery | <p><code>$(document).keydown(function(e) {</code></p>
<p>Well, that's my code - I was wondering if it is possible to have something like:</p>
<p><code>$(document).not('#pinkElephant').keydown(function(e) {</code></p>
<p>(Except, that doesn't work...)</p>
<p>Any Ideas?</p>
<p>Thanks very much!</p>
<p>p.s. All that... | javascript jquery | [3, 5] |
4,262,408 | 4,262,409 | how to wait until Array is filled (asynchronous) | <p>I have an array which is filled asynchronous and contains 28 items. I want to wait until the array is filled with all items.</p>
<pre><code>function checkIfFinished(){
return(Results.length >= 28);
}
var isfinished = false;
while(isfinished){
if(checkIfFinished()){
returnResults();
isfin... | javascript jquery | [3, 5] |
2,926,198 | 2,926,199 | Ajax PopupControlExtender in Gridview | <p>I just want to get your opinion on what is the best approach in my gridview.
Sample Gridview Data.</p>
<pre><code>--------------------------------------------------------------------
| | UserID | First Name | Last Name | Last Loggedin|
--------------------------------------------------------... | c# asp.net | [0, 9] |
167,568 | 167,569 | IF IE neglect/hide div | <p>I have page like this</p>
<pre><code><html>
<head>
<div id="container">
Hello, this is NON-IE content.
</div>
</head>
</html>
</code></pre>
<p>What I want is to <strong>Stop</strong> Internet Explorer <strong>[ IE ]</strong> from <strong>loading OR Neglecting</strong> <code>&l... | javascript jquery | [3, 5] |
5,121,336 | 5,121,337 | Can I get the standard currency format to use a negative sign instead of parentheses? | <p>There are many places in my project where I try to display currency with the built-in <code>{0:C}</code> currency format. If the number is negative, it surrounds the value in parentheses. I want it to use a negative sign instead.</p>
<p>My web.config has culture set to <code>auto</code>, and it resolves to <code>... | c# asp.net | [0, 9] |
5,807,602 | 5,807,603 | PHP coding in Android | <p>I want to ask if I can run virtual server, MySQL, and a PHP editor on Android (4.1 for example)? I know my question is simple, but I didn't find anything helpful in my searches. </p>
| php android | [2, 4] |
1,560,737 | 1,560,738 | Is it possible to change javascript variable via iframe ? | <p>I am trying to change javascript variable when iframing that page. Not the same, but did some similar on pinterest</p>
<pre><code>if (top != self) {
$('body').html('<h1>Unauthorized</h1>')
}
</code></pre>
<p>Above is their code. I used this to cancel it</p>
<pre><code><iframe src="http://www.pinter... | javascript jquery | [3, 5] |
3,284,181 | 3,284,182 | How can I have hover effect on DIV's using the DIV ID in javascript? | <p>I want to have a different hover effects on each div using the div id. Is it possible? I have been searching on google for a while now and all I see is hover effect using classname and tags. I want to do this using javascript or jquery. Any help is appreciated, Thanks!</p>
| javascript jquery | [3, 5] |
3,748,639 | 3,748,640 | Div is jumpy with fadeIn jQuery | <p>When I roll over .comptext_rollover div it should hide the initial div on the page and show the minipage div. but it does but is sometimes really jumpy and also the minipage div sometimes shows below the initialpage div. any ideas? sorry i am new to coding! Thanks in advance.</p>
<pre><code>$(document).ready(functi... | javascript jquery | [3, 5] |
1,946,023 | 1,946,024 | "too much recursion" error with live handlers in jQuery 1.3.2 | <p>This question is similar to <a href="http://stackoverflow.com/questions/639862/too-much-recursion-error-in-jquery-1-3-2">my last question about "too much recursion" errors in jQuery</a>, but involving live handlers. I have one element within another. Both of them have custom event handlers with the same name. The ou... | javascript jquery | [3, 5] |
797,784 | 797,785 | Cant stop playing sound in other Activity with MediaPlayer in Android | <p>I'm trying to play a background sound in my Android application. I'm using a seperate class as a Soundmanager. And in my first activity, i start the sound and i want it to play through 2 other activitys. And in my third class i want it to stop and another sound should play.
But im having a problem stopping that so... | java android | [1, 4] |
3,073,133 | 3,073,134 | Check if asp Checkbox is checked in a row of a GridView with Javascript | <p>I have a grid view and I want to see if the checkbox in the first column is checked. If the check box is checked it opens a new window. I cannot figure out how to see if the checkbox is checked. Please help the function below is not working and I can't figure out why.</p>
<pre><code>function mapSelectedClick()
... | javascript asp.net | [3, 9] |
2,502,223 | 2,502,224 | asp.net login control with another panel | <p>How to use login and signup button, in which whenever user clicks on that link login and signup form will open in same window like in flipkart.com. How to do that task in my website?
I am making an ecommerce website...</p>
| c# jquery asp.net | [0, 5, 9] |
2,520,403 | 2,520,404 | Connecting App with PHP and mysql | <p>I am trying to access a database through a simple PHP code. But the constraints are that it is a remote database, accessed by a remote server from a real device.</p>
<p>here is a snippet of the code:-</p>
<pre><code>ArrayList<NameValuePair> postParameters = new ArrayList<NameValuePair>();
p... | php android | [2, 4] |
5,547,253 | 5,547,254 | jQuery.find() IE7 bug? | <p>I have a few lines of code where I use this function, but it seems to only find the 1st element in IE7. Works in IE8/FF/Chrome.</p>
<pre><code>$(document).find("#JobID").attr('checked', $('#CheckAll').is(':checked'));
</code></pre>
<p>I also have a similar line which only finds the first element.</p>
<pre><code>$... | javascript jquery | [3, 5] |
3,768,737 | 3,768,738 | jQuery stop append removing div | <p>I am copying a div into another div using append. However it removes the original. I tried to use clone but it seems to only work with appendTo. But appendTo breaks my layout so I have to use append with works fine.</p>
<p>I am wrong that clone will not work with .append and is there another way to stop the div rem... | javascript jquery | [3, 5] |
3,959,171 | 3,959,172 | how to count total number of divs with in a div using javascript | <p>how to count total number of divs with in a div using javascript</p>
| php javascript | [2, 3] |
2,470,060 | 2,470,061 | PHP variable to JS - over and over | <p>Sorry my Gods, but....</p>
<p>I have php, file, and in this php i set the language, and include the necessary lang file:</p>
<pre><code> ...
if ($lan=='ge') {$_SESSION['lang']='german';...}
if ($lan=='en') {$_SESSION['lang']='english'; ....}
}
if ($_SESSION['lang']=='english'){
include ..engli... | php javascript | [2, 3] |
2,540,904 | 2,540,905 | get dropdownlist selectedvalue on button click in ListView | <p>I have DropDownList and a button in ListView for each row. Now i want to get the selected value of the dropdownlist on Button click event. How can i get this.</p>
<p>Please guide me.</p>
<p>Thanks.</p>
| c# asp.net | [0, 9] |
835,436 | 835,437 | jQuery event binding with accessibility in mind - click and keypress | <p>Just a quick question, I seem to do this a lot:</p>
<pre><code>$saveBtn.bind("click keypress", function(e)
{
if (e.type != "keypress" || e.keyCode == 13)
{
// Do something...
return false;
}
});
</code></pre>
<p>Is there a quicker way to bind an 'action' listener to a button? I want to... | javascript jquery | [3, 5] |
4,562,731 | 4,562,732 | C# oncheckedchanged event handler of aspcheckbox does not fire when checkbox is unc | <p>Hey could you look at this code: I get this error:</p>
<blockquote>
<p>Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in ... | c# asp.net | [0, 9] |
2,681,924 | 2,681,925 | Removing default text from text box | <p>I got this Text box with default value as "First Name" ..Now when I click inside this text box to enter name , this value "First Name" keeps on displaying. What I want is to the text box to clear as soon as I click inside it. What property do I need to set in mt textbox tag ?</p>
<p><strong>[Edit]
ok anything from ... | c# asp.net | [0, 9] |
1,910,126 | 1,910,127 | jQuery override css hide on mouse out | <p>I have a hidden div that I show when the mouse hovers.</p>
<p>Then when I click the text changes and I want the div to be permanently shown. The problem is that it disappears again when the mouse moves off.</p>
<p>Is there a way in jQuery to override the mouse out hide in the css?</p>
<p>Thanks</p>
<p>CSS</p>
<... | javascript jquery | [3, 5] |
4,619,481 | 4,619,482 | Object reference not set to an instance of object, help needed | <p>I have the code below </p>
<p>It throws an error <strong>"Object reference not set to an instance of object"</strong></p>
<pre><code>TextBox rateCenterName = (TextBox)row.FindControl("txtRateCenterName");
cmd.Parameters.Add("@RateCenterName", OleDbType.VarChar).Value = rateCenterName.Text;
</code></pre>
| c# asp.net | [0, 9] |
5,765,251 | 5,765,252 | Porting c++ to python code | <p>I want to convert this C++ code to Python v2:</p>
<pre><code>static unsigned char asConvCode[3] = {0xFC, 0xCF, 0xAB};
void asConv(char* str, int size)
{
int i = 0;
for (i = 0; n< size; n++)
{
str[i] ^= asConvCode[n % 3];
}
}
</code></pre>
<p>tried to make like that:</p>
<pre><code>def... | c++ python | [6, 7] |
2,864,498 | 2,864,499 | Using jquery, how do you reorder rows in a table based on a TR attribute? | <p>I have a table with rows similar to the following. These rows get updated from time to time via jquery calls. Using jquery, how would I construct a function that reorders these table rows based on the myAttribute value putting the highest myAttribute value rows at the top and the lowest myAttribute value rows at the... | javascript jquery | [3, 5] |
3,122,583 | 3,122,584 | get query string into js/jquery | <p>i hae a link like ( domain.com/jsapi?key=123456 )</p>
<p>hov can i get this "key" into my JS code? i use jQuery and i don't know about its are easy way to get this "key" into JS variable.</p>
<p>tanks for all.</p>
| javascript jquery | [3, 5] |
1,394,959 | 1,394,960 | How to access a framework/opt class from framework/opt when compiling android 4.2? | <p>On Android 4.1 some java telephony related files where located inside android/framework/base, since google released Android 4.2.2 these classes moved to android/framework/opt.</p>
<p>"My problem is that I've a java class inside android/frameworks/base/core/java/android (and it MUST be there) tree that must import e... | java android | [1, 4] |
4,591,104 | 4,591,105 | How to open file upload prompt when text link is clicked? | <p>This works in FF6 and IE 7, 8 and 9, but not Chrome/Safari or Opera:</p>
<pre><code> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
$('#uploadFile').click(fu... | javascript jquery | [3, 5] |
1,809,505 | 1,809,506 | why "$(opener.document).ready()" is not working? | <p>I tried something like, below in popup-window, but not working...</p>
<p>any correction at line 3, please suggest.</p>
<pre><code>function closePopup() {
window.opener.history.go(0);
$(opener.document).ready(function(){
window.opener.some_function(some_variable);
self.close();
});
}
</code></pre>
| javascript jquery | [3, 5] |
871,716 | 871,717 | How to make hitTest, Collision Detection Functionality in Android | <p>I have three small ImageView on Screen/View. OnTouch and onTouchMove I have to detect that the Touch/Mouse has collide the ImageView.</p>
| java android | [1, 4] |
3,860,295 | 3,860,296 | How do I add click events to dynamically added elements in JQuery? | <p>I want to add <code>click</code> events do dynamically created elements. How do I do that using JQuery?</p>
<pre><code>$(function() {
$('.class').after('<a href="#" onclick="displayHideBox('1'); return false;">Text</a>');
});
</code></pre>
| javascript jquery | [3, 5] |
130,020 | 130,021 | asp.net POST HTTP | <p>I would like to do an HTTP POST using C# but I have not been able to find a good tutorial. Any ideas would be helpful.</p>
| c# asp.net | [0, 9] |
1,265,695 | 1,265,696 | FileUpload method for asp.net website | <p>net and am just wondering if there is a method for the
file upload tag in a library anywhere ?</p>
<p>Thanks guys heres my code</p>
<pre><code><asp:FileUpload ID="FileUpload1" runat="server" ForeColor="white" />
</code></pre>
| c# asp.net | [0, 9] |
5,721,567 | 5,721,568 | jQuery click on scrollbar not registering as in the element in IE? | <p>This is referring specifically to the jQuery dropkick plugin:</p>
<p><a href="http://jamielottering.github.com/DropKick/" rel="nofollow">http://jamielottering.github.com/DropKick/</a></p>
<p>Scroll to the second demo where the lists overflow and there is a scrollbar. In ever browser but IE, you can interact with t... | javascript jquery | [3, 5] |
4,573,454 | 4,573,455 | How to edit drawables in other APK's (SystemUI.apk) | <p>so my app has one function (for now), to change the background color of Notifications in android. I can easily determine which drawable needs to be changed, and my app works to send and can retrieve the color from Settings.System.ACCELEROMETER_ROTATION (I don't know how to make it send to a custom setting). All I ne... | java android | [1, 4] |
2,176,325 | 2,176,326 | is this an acceptable use of jquery data()? | <p>I'm using jquery data() to attach the name of a div I'd like to show when another div (<code>.panel_button</code>) is clicked. I'm doing the attaching of this div's id to the button when the document is ready. Is this an okay way to do this? Or is it too resource intensive and unprofessional-looking?</p>
<pre><code... | javascript jquery | [3, 5] |
2,410,464 | 2,410,465 | call jQuery function from code behind after postback | <p>I m trying to call a JQuery .click funtion after page postback from code behind. I m using ASP.NET with C#.</p>
<p>Any Help.!!!</p>
| c# asp.net | [0, 9] |
1,169,254 | 1,169,255 | Textbox Onclick = clear value , on exit from textbox set the default value? | <p>I have this in the </p>
<pre><code><asp:TextBox ID="svv" OnClick="this.value=''" runat="server">Hello...</asp:TextBox>
OnClick="this.value=''" // On mouse click in textbox it will deleted the text.
</code></pre>
<p>How can I set something like </p>
<p><code>Unclick"this.defautlvalue"; // something li... | c# asp.net | [0, 9] |
2,437,085 | 2,437,086 | tiny_mce affect all the text area in my page | <p>i downlaoded a tiny_mce folder and implemented it in my page. it's work fine, My problem is that all the textarea in my page looks like tiny mce , i want only one textarea looks like tiny mce and left of all in normal textarea . what will i do to do this???</p>
<p>Please replay urgently</p>
<p>Thanks in advance..... | php javascript | [2, 3] |
2,640,023 | 2,640,024 | How can I calculate the difference in text blocks via JavaScript / jQuery? | <p>I have 2 blocks of text.. I want to see what the difference percentage is between them. How can I do this?</p>
| javascript jquery | [3, 5] |
4,132,317 | 4,132,318 | Click checkbox based on label name | <p>I have two checkboxes with labels named Headline A and Headline B. I'm trying to come up with a way to activate the checkbox of Headline B if the checkbox of Headline A is checked - and vice versa. </p>
<pre><code><input type="checkbox">
<label>HEADLINE A</label>
<input type="checkbox">
<... | javascript jquery | [3, 5] |
5,205,596 | 5,205,597 | How to check existing of application on device? | <p>I have just made application which requires BarCode scanner on device. How can I programatically check existing of this application into device? I know package name for BC scanner. </p>
| java android | [1, 4] |
3,606,118 | 3,606,119 | difference between '$(<%= DDL.ID %>) & $('<%= DDL.ID %>') | <p>I was trying to bind an event to drop down list since yesterday nothing helped went to JavaScript chat room no one was able to find a fix to my problem, but then I somehow tried to bind my drop down list as following </p>
<pre class="lang-js prettyprint-override"><code>$('<%= ddl.ID %>').bind('change',myfunct... | javascript jquery asp.net | [3, 5, 9] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.