Unnamed: 0 int64 302 6.03M | Id int64 303 6.03M | Title stringlengths 12 149 | input stringlengths 25 3.08k | output stringclasses 181
values | Tag_Number stringclasses 181
values |
|---|---|---|---|---|---|
3,666,231 | 3,666,232 | Request for JSON from externel source using $.getjson. 200 success but where is it? | <p>I'm trying to get weather data from openweathermap. This url works with coordinates I put in, and I can download the JSON when I input the url the in the browser bar. I'm trying to get this working in my page. When I run this code, in Firebug I can see the HTTP request got the 200 success code, but it's not printing... | javascript jquery | [3, 5] |
2,512,814 | 2,512,815 | Multiple toggle-events with jquery on php-generated html | <p>I know the title isn't the best, I didn't know how to put this in one sentence.
Anyway, I've got some php code creating pairs of links and corresponding boxes which should toggle, when I hit the link. Now I was wondering how you do this in jQuery "the right way".</p>
<p>Until now I gave every link the class <code>t... | php jquery | [2, 5] |
5,829,520 | 5,829,521 | Gridview with DDl selected value | <p>I had gridview which in load it will get data from database .And I added option for user to filter this grid view by DDl I did my code and the grid get data when load but when I selected DDl it didnot get any data and I made break point I noticed that Gridview1.Databind() hadnot any action on grid.So please any one ... | c# asp.net | [0, 9] |
653,723 | 653,724 | How can I add elements to this object | <p>If I had this structure </p>
<pre><code>var data =
{
"people": [
{ "name" : "John", "id" : 1 },
{ "name" : "Marc", "id" : 2 }
]
}
</code></pre>
<p>I want to add more elements to this, in JavaScript, specifically in jQuery to then send it like this</p>
<pre><code>var dataString = JSON.strin... | javascript jquery | [3, 5] |
2,110,380 | 2,110,381 | Find the Direction travelled using Source and Destination (latitude & longtitude) | <p>I have two points say Source=(lat1,lon1) and destination=(lat2,lat3)</p>
<p>I want to know which way the source traveled,</p>
<p>ex: from NorthWest to Southeast (or)
SouthWest to Northeast etc....</p>
<p>Can any one help..</p>
<p>Thanks..</p>
| c# javascript | [0, 3] |
1,927,266 | 1,927,267 | Check and Uncheck Checkbox when Table Row is Clicked | <p>Right now I have my script setup so that when each checkbox inside a table row is checked it performs the functions required (addClass and some others). </p>
<p>I would also like the checkboxs to check/uncheck and perform the same functions when the individual table row is clicked.</p>
<p><strong>Here is my code f... | javascript jquery | [3, 5] |
593,890 | 593,891 | stop an looping animation on hover and click to start it again | <p>In the link below there are some bubbles wich animates from left to right in a loop. If you hover over one of them, it gets larger and stops animating. My problem is that the bubble doesnt stop for very long, I want it to stop permanently, until you click on it</p>
<p><a href="http://jsfiddle.net/jukke/SU4gJ/1/" re... | javascript jquery | [3, 5] |
1,277,764 | 1,277,765 | Resize image to specific width and fix height | <p>I want to resize big images to have a width of 150 pixels and the height will be fixed.
and then save the image into a folder in my website.</p>
<p>examples: (width,height)
if I resize an image 300px*300px I will get a resized image of 150px*150px.
if I resize an image 450px*300px I will get a resized image of 150p... | c# asp.net | [0, 9] |
3,877,906 | 3,877,907 | Jquery How to change url for every ajax respond | <pre><code>$(".blok").newWindow({
windowTitle:"Example1",
ajaxURL:"Action.php?task=BlokDuzenleFormGetirBlokId="+$(".blok").attr('id')
});
</code></pre>
<p>when first clicked on blok class a href, newWindow loads from data by <code>$(".blok").attr('id').</code> Then every action sen same url to ajax, with not change.... | javascript jquery | [3, 5] |
4,813,643 | 4,813,644 | Countdown clock in android | <p>i need to display a countdown clock ,
i calculated the difference between dates in miliseconds , how can i convert this to countown clock , like 20days 12hrs 12 min remaining ? i can get hrs remaining </p>
<p><code>(mili / 24 * 60 * 60 * 1000)</code></p>
<p>But This is the total hours remaining how can i convert ... | java android | [1, 4] |
1,420,470 | 1,420,471 | replace tag content using jquery | <p>In my html I have this code:</p>
<pre><code><div class="selfclear">
<h3><a id="lnkName" href="/dir/subdir/?id=577">Name</a></h3>
<address>
Street name, 3 <br />3222 City<br />Phone. : 0202 777 876
</address>
</div... | javascript jquery | [3, 5] |
3,583,415 | 3,583,416 | Javascript or Jquery - on Checkbox Click, how do I change the parent-element's background color? | <p><code>onclick</code>, I need to</p>
<ol>
<li>Locate the parent element</li>
<li>Change its background color to red</li>
</ol>
<p>I'm having particular difficulty with the first part.</p>
| javascript jquery asp.net | [3, 5, 9] |
1,461,800 | 1,461,801 | The javascript code from server side is not working in asp.net? | <p>i am developing an Asp.net application when i call javascript function from codebehind i found that for example:</p>
<ol>
<li>click event not fired</li>
<li>i have a javascript function that fill the dropdown list with items using ajax but when page loaded i found dropdown list empty</li>
</ol>
<p>i am using Regi... | javascript asp.net | [3, 9] |
2,233,820 | 2,233,821 | Dividers disappear in PullToRefreshListView | <p>I want to use Pull-To-Refresh Library in my App that is already developed and the source is <a href="https://github.com/chrisbanes/Android-PullToRefresh" rel="nofollow">here</a>.</p>
<p>I am running the launcher sample on Android 2.3.5.</p>
<p>The problem is when we add the <code>PullToRefreshListView</code> to ou... | java android | [1, 4] |
4,547,539 | 4,547,540 | Android: Access mysql database, forbidden files | <p>I'm trying to open a connection between my android emulator and server (currently testing on local.)</p>
<p>I'm following this <a href="http://www.helloandroid.com/tutorials/connecting-mysql-database" rel="nofollow">tutorial</a></p>
<p>The problem arises when trying to read the php file itself.</p>
<p>I have inte... | php android | [2, 4] |
2,442,374 | 2,442,375 | how to render a .htm page into .aspx page | <p>i have aspx page which has to render .htm page how can it be done</p>
<p>if possible then i want added feature that is
i want to call a JavaScript after that .htm page is rendered</p>
<p>pls help</p>
| javascript asp.net | [3, 9] |
1,644,520 | 1,644,521 | How do you get the user defined "Device Name" in android? | <p>I am trying to get the user defined device name that is set in settings. I've tried several options and so far nothing. </p>
<p>If it helps or hurts I am needing it in a BroadcastReceiver</p>
<p>Thanks</p>
| java android | [1, 4] |
872,939 | 872,940 | Server Tag is not well formed? | <p>Before adding style to paragraph it was working fine but if i add style i am getting error like server tag is not well formed.please check out my code </p>
<pre><code><p
title='<%# DataBinder.Eval(Container.DataItem, "Title") %>'
id="P1"
runat="server"
style="top:<%# DataBinder.Eval(... | c# asp.net | [0, 9] |
3,746,076 | 3,746,077 | Abstracting an id attribute in C# or Java | <p>I am designing an API. Here are some example methods from an interface:</p>
<pre><code>Entry findEntry(int processId);
Entry findEntry(int processId, Filter filter);
</code></pre>
<p>where <code>processId</code> refers to some unique identifying information. However I don't really know what the type of <code>proce... | c# java | [0, 1] |
4,207,966 | 4,207,967 | programmatically refreshing a datagrid in asp.net | <p>I have an asp.net webpage that does a bunch of (slow, hence the problem) calculations and dumps them all into a datagrid in a webpage. I would like to be able to have the page show partial results. </p>
<p>I have figured out how to re-update the grid every time a row is done, but the page still doesn't display th... | c# asp.net | [0, 9] |
1,002,444 | 1,002,445 | Make element own its own variable? | <p>I made a function that lists out the months. </p>
<pre><code>function genDate() {
var d = new Date();
var monthNames = [ "JAN", "FEB", "MAR", "APR", "MAY", "JUN",
"JUL", "AUG", "SEP", "OCT", "NOV", "DEC" ];
var day = d.getUTCDate().toString();
var mon = d.getUTCMonth();
... | javascript jquery | [3, 5] |
5,670,327 | 5,670,328 | Confirm pop up and pass php value to js with input image as submit | <p>Bascially when a user hits the delete button, the script must confirm from user if he wants to delete or not. I want to pass the id of a row. I am using input type="image" and onclick brings up the box. How do I pass $row_id['id] to the js script. </p>
<pre><code><script type="text/javascript">
function s... | php javascript | [2, 3] |
2,949,981 | 2,949,982 | how to dynamically (re)position an element according to the bottom of the page using JS / Jquery? | <p><strong>the back story:</strong> i have a tab section on a page which when navigated through displays sections (divs) of varying height. </p>
<p><strong>the result,</strong> is that certain inputs (which are strangely positioned for reasons i can't change) on this page reposition themselves problematically. </p>
<... | javascript jquery | [3, 5] |
3,602,036 | 3,602,037 | Resetting A webform on the ClientSide | <p>I have a webform with 3 textboxes, a checkbox and a Reset button. I need these to be reset to null values when i click the button "Reset" and i need it to be a Client-Side operation. The JS code that i have tried for this is as follows but for some reason it doesnt work. Any Help PLease?</p>
<pre><code><code>... | javascript asp.net | [3, 9] |
5,468,346 | 5,468,347 | How to get a count of all checked checkboxes on a page | <p>I want to count how many checkboxes a user has selected. For example, from a group of 10 checkboxes if he selects 5, then I want to be able to count it. Using the line:</p>
<pre><code>$(":checkbox:checked")
</code></pre>
<p>I can select all of the checked checkboxes, is there a way to get the count of all the elem... | javascript jquery | [3, 5] |
2,263,569 | 2,263,570 | can we call a java method by js? | <p>In my Java Script , I want to call a java method . Is it possible to call a java method by js w/o using ajax?</p>
| java javascript | [1, 3] |
2,925,671 | 2,925,672 | using session variable in aspx page in sql query | <p>I have the sqldatasource in aspx page and in the query I want to use one parameter i.e. coming from session.</p>
<p>Below is my code.Please help me out.</p>
<pre><code><asp:SqlDataSource runat="server" ID="MySQLData2"
ConnectionString='<%$ConnectionStrings:ConnectionString %>'
ProviderName="MySql.Data.My... | c# asp.net | [0, 9] |
2,698,911 | 2,698,912 | Postback using javascript | <p>How to cause a postback using javascript in ASP.NET.</p>
| asp.net javascript | [9, 3] |
3,189,256 | 3,189,257 | How to decode text | <p>I receive back from a webservice a string in Json like this:</p>
<p>conversione da voce a testo questa è una prova di compressione</p>
<p>the "è" must be "è" in Italian.</p>
<p>How to decode to right text in Java?</p>
| java android | [1, 4] |
2,065,513 | 2,065,514 | Sending all input fields with jquery .post() | <p>I have collected the values of all input field into an array as follows:</p>
<pre><code> $( ".formbox" ) . each( function(id,elem){
form_fields[ "input-" + $( elem ) . attr( "id" ) ] = $( elem ) . val( );
});
$.log( "Collected:", form_fields );
</code></pre>
<p>This does work, and then I try passing the... | javascript jquery | [3, 5] |
5,001,240 | 5,001,241 | Browser Capabilities Files | <p>I've defined a new platform in my App_Browsers folder like this:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<browsers>
<browser id="PlatformWin7" parentID="PlatformWinnt">
<identification>
<userAgent match="Windows (NT 6\.1)" />
</identification>
... | c# asp.net | [0, 9] |
1,612,728 | 1,612,729 | How i can convert BitArray to single int? | <p>How i can convert BitArray to single int? The fastest way pls...</p>
| c# asp.net | [0, 9] |
2,383,149 | 2,383,150 | Set position for new window | <p>hello i open a new window with:</p>
<pre><code><a href ="javascript:NewWindow =window.open('Default.aspx', 'NewWindow' , 'width=400, height=450'); NewWindow.focus()">Hilfe</a>
</code></pre>
<p>at the moment the new window appears in the upper left corner. how can i set the position, so it appears somew... | asp.net javascript | [9, 3] |
2,248,261 | 2,248,262 | Adding jQuery to Master Pages | <p>I have the following jquery in my ASP.NET regular pages</p>
<pre><code><html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Color Items</title>
<script src="http://code.jquery.com/jquery-latest.js"
type="text/javascript"></script>
... | asp.net jquery | [9, 5] |
2,022,752 | 2,022,753 | global variable in javascript used in a ajax call | <p>I declared a global variable <code>var idCategories= new Array();</code> in my <code>file.js</code>
I use it in this function</p>
<pre><code>function test() {
$.ajax({
type: "GET",
url: "http://my_site/api/categories?ws_key="
+ ws_key
+ "&PHP_AUTH_USER=" + PHP_AU... | javascript jquery | [3, 5] |
3,488,786 | 3,488,787 | How can I make a wufoo like web app | <p>I want to mimic wufoo form builder web app, I used jquery to drag and drop elements on a workspace, but I need a way to let the user save his finished work , and download his work as html page, can any one help!!!</p>
| php javascript jquery | [2, 3, 5] |
3,864,466 | 3,864,467 | Java Book or Website (like Cplusplus.com) for C++ programmers to learn java very fast | <p>I am looking for a book which teaches Java very fast. Basically I am a C++ programmer and do not need to know each and every aspect of programming. I am learning java for android apps development. A lot of books like thinking in Java, learning java and others suggested are pretty big and I want something small to g... | java android c++ | [1, 4, 6] |
4,339,427 | 4,339,428 | Select (expand) a dropmenu when clicking on another element | <p>I have a div containing a select menu and another element (<em>.dropArrow</em>).</p>
<p>What I would like to do is select the menu when you click on .dropArrow.</p>
<p>Here's the jquery I've tried so far but with no success...</p>
<pre><code>$(".dropArrow").live('click', function() {
$(this).siblings("select"... | javascript jquery | [3, 5] |
4,637,165 | 4,637,166 | using SAX parser, how do you parse an xml file with out some foreknowledge of the structure of the xml? | <p>is there a way to implement the sax parser without passing the names of the elements in the xml as it is done in getChild method or equalsIgnoreCase(tagname)?
Or
is there a way to find out what are the names of tags in an xml and then pass it to Sax methods.</p>
| java android | [1, 4] |
5,461,618 | 5,461,619 | Can I change the HTML of the selected text? | <p>Can we change the HTML or its attributes of the selected part of the web page using javascript?</p>
<p>For example,
There is a random web page:(A part of it is shown)</p>
<p><img src="http://i.stack.imgur.com/9Qa8S.png" alt="enter image description here"></p>
<p>with HTML as</p>
<pre><code>...<p>Sample par... | javascript jquery | [3, 5] |
1,231,227 | 1,231,228 | jQuery - Do UI change after other UI change is finished | <p>How would I execute <code>$("#login").toggle("drop", {direction: "left"});</code> then after THAT is completely finished... do <code>$("#register").toggle("drop", {direction: "right"});</code>. Because the <code>DIVS</code> are not floated and at the same time they stack up against each other when they <code>drop</c... | javascript jquery | [3, 5] |
941,461 | 941,462 | How to call javascript function/write script inside PHP echo | <p>I have written piece of code, below is the code</p>
<pre><code><script type="text/javascript">
function submitform()
{
document.myform.action='http://mysite/index.php';
document.myform.submit();
}
</script>
<?php
if(isset($_POST['submit_details']))
{
echo "<script typ=javascript>... | php javascript | [2, 3] |
2,199,943 | 2,199,944 | What is a good practice to combine your classes | <p>Not to keep all my classes in a single src -> 'package_name' folder I'm creating different sub-packages in order to separate my classes by groups like - utilities, models, activities themselves, etc. I'm not sure if it is a good practice and people do the same in real projects.</p>
| java android | [1, 4] |
252,728 | 252,729 | how to get integer values in a string with js | <pre><code>var text = "rating-1-gray-3-blue";
</code></pre>
<p>i want to get value <code>13</code></p>
<p>how can i do this . basically i want to get all integers inside a string .</p>
<p>i tried with <code>parseInt</code> , but it returns int when the integer value is at the beginning of the string</p>
<p>thanks i... | javascript jquery | [3, 5] |
5,383,278 | 5,383,279 | unload in firefox | <p>I have a client register startup script like so:</p>
<blockquote>
<p>" " +
"document.body.onunload =
clearSession; " +
"";</p>
</blockquote>
<p>The script works fine in IE8 by calling the clearSession() client script but not with firefox. ... | javascript asp.net | [3, 9] |
5,724,943 | 5,724,944 | How to get URL from the text | <p>How can I get URL from the text?</p>
<p>For example:</p>
<pre><code>string Text = "this is text with url http://test.com";
</code></pre>
<p>I have to get url and set it to other variable. How can I do this with ASP.NET?</p>
| c# asp.net | [0, 9] |
3,937,044 | 3,937,045 | Javascript alert box using javascript variable and php array | <p>I am trying to print <code>johan</code> using javascript alert box with javascript variable and php array. But following code is not working. </p>
<p>
<pre><code>$result['firstName']['lastName']='johan';
$data = json_encode($result);
?>
<html>
<body onload='myfunction(<?php echo $data; ?>);'&g... | php javascript | [2, 3] |
4,658,338 | 4,658,339 | How to do a precompiled web application | <p>I have a webapplication that uses a master page. When I publish the site in vs2010 (running framework 4), and then I navigate to the default.aspx page I get a parser error that the masterpage's codebehind file does not exist.</p>
<p>I know that a website can be precompiled and then deployed which means there would ... | c# asp.net | [0, 9] |
4,957,369 | 4,957,370 | Common Graphs library for Android and iphone | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/4995114/is-there-any-chart-library-working-both-on-iphone-and-android-applications">Is there any chart library working both on iphone and android applications?</a> </p>
</blockquote>
<p>I need to find a common l... | android iphone | [4, 8] |
5,257,370 | 5,257,371 | Image won't display in user control | <p>I have a user control that's got an image ..when I added it to a page that doesn't have a Master Page..the image was getting displayed alright but when I added the same user control to a page with a Master Page.the image vanished!....When I checked the Page source the image's path was there like this..</p>
<pre><co... | c# asp.net | [0, 9] |
1,231,721 | 1,231,722 | Is there a way to make jQuery .js file only contain the functions I use? | <p>Well, I am using jQuery in my project, but I really don't use any effects, only the $.ajax function, is there a way to make jQuery .js file only contain that function or maybe a similar function that doesn't depends on jQuery?</p>
<p>I am coding a library, so I don't want to have a jQuery dependence.</p>
| javascript jquery | [3, 5] |
3,889,201 | 3,889,202 | SELECTS: Hide the selected option on a secondary select | <p>I have two select with the same elements (options) in it.
What I am trying to do is that when the user select a value from the first select box, the second select box hides that option, and automatically select the first visible option if the selected option was the same as the one in the first select.</p>
<p>I kno... | javascript jquery | [3, 5] |
193,107 | 193,108 | $(this). methods (js or jquery) | <p>I've looked at some js/jquery code and I saw this line here:<br>
<code>$(this).</code></p>
<p><strong>How can one find out what methods to call on this thing.</strong> Is there something similar to javadocs for js?</p>
<p>Is this code in js or is it jquery?</p>
<p>Note: this might be of relevance to those who rep... | javascript jquery | [3, 5] |
1,584,717 | 1,584,718 | Can I put buttons in SimpleCursorAdapter listView? | <p>I want to put two buttons in listView.</p>
<pre><code> public class Imenik extends ListActivity {
@Override
public long getSelectedItemId() {
// TODO Auto-generated method stub
return super.getSelectedItemId();
}
@Override
public int getSelectedItemPosition() {
// TODO Auto-generated method stub
return supe... | java android | [1, 4] |
305,498 | 305,499 | Javascript - Stop a repeating function | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/2626005/how-to-pause-a-settimeout-call">How to pause a setTimeout call ?</a> </p>
</blockquote>
<p>I have a function that gets called on page load which starts off a repeating function:</p>
<pre><code> s... | javascript jquery | [3, 5] |
2,237,541 | 2,237,542 | how to use link to read from database in asp.net? | <p>I am using link in aspx page ,If i give in <code><a href="http://google.com"></a></code> it was working, Suppose if i save in database it was not working , can anyone suggest me how to use it?.</p>
<p>I am new to Dnn.</p>
<pre><code><a href='<%# DataBinder.Eval(Container.DataItem, "ImageLink") %&... | c# asp.net | [0, 9] |
2,459,122 | 2,459,123 | Why a class in App_Code/BLL is not accessible in pages? | <p>Hi I have a class in folder App_Code/BLL/Countries.cs ,which is a public class.
But when I tried to access the class in a ASP.NET page like:</p>
<pre><code>Countries MyCountries = new Countries();
</code></pre>
<p>its showing error:</p>
<p>"The type or namespace name 'Countries' could not be found (are you missi... | c# asp.net | [0, 9] |
1,999,514 | 1,999,515 | live data feed using c# from access database | <p>I'm currently building a website (ASP.net c#) and we're looking at creating a live feed (similar to the facebook one) for data events on our website. I wanted to know your thoughts on how best to implement this as I am not sure my understanding is correct. </p>
<p>We have events such as: new article published, user... | c# asp.net | [0, 9] |
2,595,322 | 2,595,323 | Request.Form.Get from a select option tag error | <p>Im trying to get a value or a text from the "select option" tag through C#, but I run on some issues :</p>
<p>this is my code :</p>
<pre><code><select id="country" >
<option value="" >Select One...</option>
<%for (int i = 0; i < dt.Rows.Count;... | c# asp.net | [0, 9] |
5,021,942 | 5,021,943 | StringBuilder's AppendFormat Method to create Table | <p>I have a problem with AppendFormat method of StringBuilder class.
I am creating table and appending data in string builders object to send it as mail, but when i saw mail sent by me, it does not look like table, its header and there corresponding contents are miss-placed. I want table to be separated by Lines as it ... | c# asp.net | [0, 9] |
5,190,478 | 5,190,479 | jQuery function EventListener doesnt work | <p>I've got some code which creates an < audio > element and plays a song, when I click on a button. So far so good. The button turns from "Play Music" into "Stop Music" as it's clicked.</p>
<p>Now I added this code:</p>
<pre><code>audioElement.addEventListener('ended', function() {
$('span#pause').fadeOut('sl... | javascript jquery | [3, 5] |
1,738,849 | 1,738,850 | What is this: $(function() {? | <p>Is this basically the same as <code>$(document).ready</code> or is this only run like this to ensure jQuery is there?</p>
<p>Maybe something else I'm not seeing?</p>
| javascript jquery | [3, 5] |
674,108 | 674,109 | How to in case of timeout to execute method again and again until it completes successfully? | <p>I have asp.net application. All business logic in business layer.</p>
<p>Here is the example of the method</p>
<pre><code>public void DoSomething()
{
PersonClass pc = new PersonClass();
pc.CreatePerson();
pc.AssignBasicTask();
pc.ChangePersonsStatus();
pc.CreateDefaultSetti... | c# asp.net | [0, 9] |
3,274,558 | 3,274,559 | What is console.log in jQuery? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/4539253/what-is-the-console-log-used-for-in-jquery">What is the console.log used for in jQuery?</a> </p>
</blockquote>
<p>What is <code>console.log</code>? What is it used for in jQuery?</p>
| javascript jquery | [3, 5] |
3,413,573 | 3,413,574 | javascript Remove value from array, array problems | <p>I am trying to fill an array with strings, the elements that will be added are the HTML of the clicked <\li>, im probably filling it correctly.</p>
<p>My problem is when the user clicks on the checked link again, i want to remove this item from the array</p>
<p>Here is a code sample:</p>
<pre><code>$(document)... | javascript jquery | [3, 5] |
2,398,148 | 2,398,149 | Update select list depending on another list | <p>I've been looking around here for a time now, but I didn't really found what I'm needing.</p>
<p>I've a dropdown with some teachers in it. The second list should contain the courses he/she teaches.</p>
<p>So, a little example:</p>
<p>Mr X teaches maths and biology.
Mrs Y teaches maths</p>
<p>If X is selected in ... | javascript jquery | [3, 5] |
4,327,664 | 4,327,665 | trying to append content to DOM element | <p>I'm trying to add a div to a row of content with the click of a button. My code works for the first row but not for any other row. Please help. This is the function for the button:</p>
<pre><code>$(".addMMbtn").each(function() {
$(this).bind("click",
function() {
var thisRow = $(... | javascript jquery | [3, 5] |
714,884 | 714,885 | jQuery .click event binding to multiple dynamic elements | <p>Within my code I am trying to bind a click event to a dynamically created element. Each element's click event has specific metadata used within the handler. Rather than appending dynamic attributes in HTML (there's a lot of them), I have an array of objects. This is also why I've not used a global event handler.</p... | javascript jquery | [3, 5] |
269,923 | 269,924 | javascript error with label | <p>I have a function as follows:</p>
<pre><code>function textNext(element, num) {
document.getElementById("lblContent").innerHTML = "hello";
}
</code></pre>
<p>However, the text of the <code>lblContent</code> label won't change when the function is called. </p>
<p>What am I doing wrong?</p>
<p>btw : lblContent ... | javascript asp.net | [3, 9] |
4,398,261 | 4,398,262 | Repeter With multiple data source of type class | <p>Hi I have 5 different classes. And using single repeater I want to populate the each class data without writing any data binding code except assigning DataSource and DataBinding. the header values should be populated based upon the class members. I think I can use reflection. But I need clear idea. And if i use refl... | c# asp.net | [0, 9] |
2,330,237 | 2,330,238 | How can I add mouse click event to Web TextBox in c# | <p>How can I add mouse click event to Web TextBox in c#</p>
| c# asp.net | [0, 9] |
1,264,254 | 1,264,255 | Opposite of append in jquery | <p>I use <code>.append</code> to add to a div </p>
<pre><code>$(this).append('<ul><li>test</li></ul>');
</code></pre>
<p>how can I search fo a <code><ul></code> and remove it if it exists in the children of <code>$(this)</code>?</p>
| javascript jquery | [3, 5] |
1,833,177 | 1,833,178 | How can I validate that several textboxes contain data when I click submit? | <p>I have 10 defined textboxes with strings.</p>
<p>I have to check all if they are not empty while clicking ok button</p>
<p>whats the cleanest way to check them all and when function is at end. each checkbox which was empty to give this a specific CSSclass. perhaps. ClassError. ( which highlights red) </p>
<p>I'm ... | c# asp.net | [0, 9] |
2,065,438 | 2,065,439 | binding several jquery ui elements to each other | <p>Is is possible to set up a group of multiple jquery ui elements to all respond to interactions with any one in the group?</p>
<p><b>edit:</b>
For example, I've got several version of very similar images, which I've group into different pages with jquery.tabs(). The images are all manipulatable with various jquery u... | javascript jquery | [3, 5] |
2,341,268 | 2,341,269 | JPype - Issue importing & calling methods! | <p>Here I'm attaching my code below</p>
<pre><code>from jpype import *
from javax.swing import JFrame
classpath = "-Djava.class.path=praat.jar"
startJVM(getDefaultJVMPath(),"-ea",classpath)
frame = javax.swing.JFrame("Hello JPype")
label = javax.swing.JLabel("Hello JPype!", JLabel.CENTER)
frame.add(label)
frame.se... | java python | [1, 7] |
1,782,749 | 1,782,750 | How to access the programmatically generated elements using jQuery | <p>How can I access a dynamically created element using jQuery? Suppose I have the following code:</p>
<pre><code>for (var i = 0; i < count; i++)
{
var div = document.createElement("div");
div.setAttribute("id", "divHour" + i);
var button = document.createElement("button");
button.setAttribute("id"... | javascript jquery | [3, 5] |
2,290,063 | 2,290,064 | How to define which ListView have been clicked? | <p>I have been developing Android application which has 3 ListView and one ContextMenu for each view:</p>
<p>@Override
public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo info) {</p>
<pre><code>menu.add(Menu.NONE, CONTEXT_MENU_ITEM_DELETE, Menu.NONE, "Delete");
super.onCreateContextMenu(menu,... | java android | [1, 4] |
4,530,864 | 4,530,865 | Filtering Content using jQuery | <p>I'm attempting to create a filterable photo gallery using jQuery and multiple classes. I have some code set up, but it doesn't seem to work. Can anybody give me any insight on how to fix this function?</p>
<pre><code> $(document).ready(function(){
$('#sorter a').click(function(e){
var sortName = $(... | javascript jquery | [3, 5] |
3,791,319 | 3,791,320 | How to save the obtained chart from afreechart to some png or JPEG format | <p>I have tried to develop the chart from jfreechart but i got errors and i found Afreechart, in which i am able to draw the chart, but next is how to save the obtained chart to some image format.</p>
| java android | [1, 4] |
353,549 | 353,550 | getting parts of url window.location | <p>Can someone help me with url hash?
I use this code to get the current url and then send the data as json, but the hash part seems to be stripped then.
i tryed to use href and hash and i always get the default.aspx but no hash part like #anchor. </p>
<pre><code>var location = String(window.location);
var title = S... | c# javascript jquery | [0, 3, 5] |
4,528,825 | 4,528,826 | ASP.Net application pool use too much memory | <p>I create asp.net asmx service for online game. When it run on production server asp.net application use 1.5 - 3 GB of memory.</p>
<p>When i use ANTS memory profiler, i saw what 70% of application memory is free and C# objects use 100 - 200Mb.</p>
<p>How me make asp.net return free memory to OS? If i will run sever... | c# asp.net | [0, 9] |
4,163,494 | 4,163,495 | How can i change image path on click for asp.net dynamic content | <p>I am using jquery for changing image path but its not working for asp.net dynamic content</p>
<p>The jquery function is<br></p>
<pre><code>$('img.selection').click(function () {
this.src = 'images/selected_img.png';
});
</code></pre>
<p>This function is not post backing in to the C#, so am not getting changed im... | c# jquery asp.net | [0, 5, 9] |
3,976,962 | 3,976,963 | document.ready is not working on showmodaldialog | <p>I am working on a Application in which i frequently uses the popups.</p>
<p>but i cann't figure out why document.ready is not working on showmodaldialog</p>
<p>but window.load is working fine on that.</p>
| javascript jquery | [3, 5] |
189,443 | 189,444 | Which is most suitable to begin programming (java vs c#) for an intermediate php programmer | <p>i am a php programmer who has no previous programming experience neither in java nor in c#(sharp). My goal is to learn both languages java and c#, so i am looking for an experienced programmer who has in depth knowledge of both languages to suggest me which one to start first in order to make my learning process eas... | c# java php | [0, 1, 2] |
5,665,431 | 5,665,432 | OpenPop.Net - The server did not respond | <p>I am using OpenPop.NET and I am trying to download the emails from the server. But, it is giving the below error message In the meantime, I could configure and download the mails without any issues in Outlook by using the same settings that I did with OpenPop.NET.</p>
<p>The server did not respond with a + response... | c# asp.net | [0, 9] |
3,856,215 | 3,856,216 | Return unique keys from JavaScript Array | <p>I'm hoping my question is using the correct terminology...</p>
<p>Can someone explain to me how I can perform the following:</p>
<p>If I have an array consisting of:</p>
<blockquote>
<p>Object { id=1498, brandName="Booths", quality="Standard"}
Object { id=1499, brandName="Booths", quality="Standard"}</p>
</bl... | javascript jquery | [3, 5] |
4,773,149 | 4,773,150 | Finding indices of highlighted text | <p>I'm trying to save information about text that a user has highlighted in a webpage. Currently I'm using the getSelection method shown below:</p>
<pre><code> var txt = '';
if (window.getSelection){txt = window.getSelection();}
else if (document.getSelection){txt = document.getSelection();}
else if (document.sele... | javascript jquery | [3, 5] |
4,896,741 | 4,896,742 | php grabbing data from javascript | <p>Apparently i try to save the data into the mysql, but it didnt work.. Anyone help?</p>
<p>create_users.php</p>
<pre><code><form method="post" action="checkAvailability.php">
<script>
var macs = {
getMacAddress : function()
{
document.macaddressapplet.setSep( "-" );
retu... | php javascript | [2, 3] |
4,774,887 | 4,774,888 | Assign dynamic div id from js var | <p>I am having trouble selecting a <code>div</code> with jQuery after assigning the <code>id</code> to a Javascript variable:</p>
<pre><code>$(function() {
$(".do").live("click",function()
{
var id = $(this).attr("id");
$.ajax({
//reload div using js var id
$('id')... | javascript jquery | [3, 5] |
2,105,158 | 2,105,159 | Adding properties to a existing object | <p>thsi is not a jquery ui question but a JavaScript object question </p>
<pre><code>function uiDialog()
{
...............
...............
$('#dialog ').dialog({
width:'auto',
height :'auto',
resizable: false
});
..............
..............
}
</code></pre>
<p>... | javascript jquery | [3, 5] |
2,143,900 | 2,143,901 | updating a input field based on selectlist option | <p>I have the following HTML</p>
<pre><code><select name="title" id="title">
<option value="Mrs" >Mrs</option>
<option value="Mr" >Mr</option>
<option value="Miss" >Miss</option>
<option value="Dr" >Dr</option>
</select>
<input type="text" name="g... | javascript jquery | [3, 5] |
5,849,421 | 5,849,422 | Javascript function to set cookie value | <p>I am new to programming and trying to write a javascript function to set a cookie value when a popup button is clicked. </p>
<p>In home.aspx</p>
<pre><code><input id="btnCanOK2" type="button" value="Close" class="popupButton" runat="server" onclick="return btnClose_Click" />
</code></pre>
<p>for this button... | c# javascript asp.net | [0, 3, 9] |
1,580,599 | 1,580,600 | jQuery errorContainer practice | <p>I'm trying to be able to place the error message when using jQuery validation to a asp.net label if the textbox is empty.</p>
<p>please advice how to modify my code to get that!!</p>
<p>here is my code:</p>
<pre><code><asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script s... | asp.net jquery | [9, 5] |
2,379,115 | 2,379,116 | DropDownList in Repeater control, can't fire SelectedIndexChanged | <p>I have a repeater control where in the footer I have a DropDownList. In my code-behind I have:</p>
<pre><code>protected void ddMyRepeater_ItemDataBound(object sender, RepeaterItemEventArgs e)
{
if (e.Item.ItemType == ListItemType.Item
|| e.Item.ItemType == ListItemType.AlternatingItem)
{
... | c# asp.net | [0, 9] |
4,142,471 | 4,142,472 | how to start a process as user then elevate in c# ASP.NET | <p>I am working on a web application that install software on a server.</p>
<p>I can run the install by hand if I log in a user that is apart of a specific group then run install msi as administrator.</p>
<p>This specific group is apart of the local administrators group.</p>
<p>My app pool is running as Network_Serv... | c# asp.net | [0, 9] |
340,861 | 340,862 | How to limit number of options displayed in Jquery autocompleter? | <p>I am using Jquery autocompleter with a list of about 200 items. When I type a character into the box it suggests all the 100-150 options at once.</p>
<p>The list is so long it extends well beyond the page bottom border and also gives horrible performance.</p>
<p>How can I limit the number of options displayed to a... | javascript jquery | [3, 5] |
5,011,851 | 5,011,852 | removing scripts from html data... using javascript | <p>So I have this function to strip out scripts from the page, but some scripts that are many lines long are still showing up. Is there a way to remove all scripts from the page that loads.</p>
<pre><code> function filterData(data){
// filter all the nasties out
// no body tags
data = data.replace(/<?\/body[^>... | javascript jquery | [3, 5] |
5,389,680 | 5,389,681 | Change style using children() | <p>I want to change the "b" color to red with using children. Why doesn't the example above work? How can I make it work?</p>
<pre><code><div id="wrap">
<div class="parent1">
<div class="parent2">
<b>Text</b>
</div>
</div>
</div>
</cod... | php javascript jquery | [2, 3, 5] |
4,669,039 | 4,669,040 | Prior jQuery UI Dialogs become nonresponsive after opening a new Dialog | <p>I'm having issues with multiple jQuery dialogs. The first one opens fine - is resizable, draggable, etc. However, when I open a second the first becomes unresponsive to dragging/moving/closing, even after the second one is closed. What is the reason for this and how can it be fixed? </p>
<p>According to the jQu... | javascript jquery | [3, 5] |
5,792,262 | 5,792,263 | Run .hover() inside variable jquery | <p>I'm just trying to write some code like this:</p>
<pre><code>var clickAction = function(){
$('#OL_Icon_55').append("<em class='well'>Hello World</em>");
}
$("body").one("mouseenter",clickAction);
</code></pre>
<p>And I want to hide <code>Hello World</code> string when mouse hover around <code>#OL_I... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.