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,169,802 | 4,169,803 | How to manipulate a itemtemplate control settings? | <p>I have a gridview and sqldatasource.</p>
<p>I have a template field column and below the textbox control I've added a label with visible = false;</p>
<pre><code>On row updating: I'm getting the control like this:
GridViewRow row = MyGrid.Rows[e.RowIndex];
Label MyLabel = (Label)row.FindControl("MyLabel");
If( //e... | c# asp.net | [0, 9] |
3,738,246 | 3,738,247 | Library to read MANY document-file formats? | <p>I am developing an ASP.NET in which I have a "file upload" control. So, User may upload files of any format like .doc, .pdf, .docx, .txt, .rtf, .ppt, .odt etc.</p>
<p>The program must be able read data from any file of these formats. I dont want to use different third party libraries for each of these file formats.... | c# asp.net | [0, 9] |
383,797 | 383,798 | jQuery/JavaScript: Avoid unique ID's for each row in a table? | <p>I'm not sure if I'm doing this the right way. I have table which I fill with rows that each represent a song in a playlist. Right now, I assign a unique ID per row, and also assign som jQuery.data() to each ID.</p>
<pre><code> html += '\
<tr id="track-' + i + '" class="tracks-row"> \
... | javascript jquery | [3, 5] |
976,094 | 976,095 | Open Source Framework for Brokering of Flat File Oriented Processing | <p>Does anyone have a good framework to recommend that handles the stages of processing of
file oriented transactions. Our scenario is simple - we receive file, validate it, if something wrong we abort and generate report. If file is good, goes to next stage. At some stages some valid data can be extracted and further... | java python | [1, 7] |
3,496,150 | 3,496,151 | How to rewrite removeChild from JavaScript to jQuery | <p>I have this JavaScript in the head of my page.</p>
<pre><code><script type="text/javascript">
var nojscss = document.getElementById('nojscss');
nojscss.parentNode.removeChild(nojscss);
</script>
</code></pre>
<p>I would like rewrite it in jQuery to run when the page is loading.</p>
<p>I'm pret... | javascript jquery | [3, 5] |
5,273,064 | 5,273,065 | Javascript show/hide - I don't want it to hide the entire element | <p>This is probably a fairly easy question, but I'm new to JavaScript and jquery....</p>
<p>I have a website with a basic show/hide toggle. The show/hide function I'm using is here:
<a href="http://andylangton.co.uk/articles/javascript/jquery-show-hide-multiple-elements/" rel="nofollow">http://andylangton.co.uk/articl... | javascript jquery | [3, 5] |
3,611,698 | 3,611,699 | Is it possible to show multiple jQuery Fancybox alerts on one page? | <p>Is it possible to show multiple Fancybox alerts on one page i.e. A user triggers one alert, then within the alert, he can trigger another which will appear without closing the first.</p>
<p>Example
<a href="http://www.freepeople.com/index.cfm/fuseaction/products.browse/categoryID/eb344a5e-2eb4-44f2-9bd1-39502a8fe6d... | php jquery | [2, 5] |
444,036 | 444,037 | How to substitute variables into JQuery selector? | <p>I have HTML:</p>
<pre><code><li onclick="myselect(mazda3,m3-to);">...</li>
</code></pre>
<p>and function:</p>
<pre><code>var a='';
var b='';
function myselect(a,b){
$('#workcont').empty();
$('#tocont').load('pages/' + a + '.html #' + b);
}
</code></pre>
<p>But it's not work. How to improve it... | javascript jquery | [3, 5] |
2,471,905 | 2,471,906 | What is reflection in C#? Where do we use this concept in our application? | <p>What is reflection in C#? Where do we use this concept in our applications?</p>
| c# asp.net | [0, 9] |
1,303,406 | 1,303,407 | Javascript dynamic multiple fields addition/removal/sorting | <p>Is there a jQuery plugin like the following one:
<a href="http://vipullimbachiya.com/jQuery/Plugins/MultiField/2/index.htm" rel="nofollow">http://vipullimbachiya.com/jQuery/Plugins/MultiField/2/index.htm</a></p>
<p>but it can also order the multiple fields (move them up or down). So for example if I added another i... | javascript jquery | [3, 5] |
1,463,016 | 1,463,017 | Fancybox for .flv | <p>Is there a way to manipulate jquery Fancybox plugin to display flash video files (.flv)? I mean making it behave like Malsup's Media plugin that can handle both .swf and .flv</p>
<p><strong>Putting my question in context:</strong></p>
<p>I have a php file that works dynamically to read the videos:</p>
<pre><code>... | php jquery | [2, 5] |
1,565,696 | 1,565,697 | How to get result of #Eval("X") in my C# code? | <p>I have some asp code with an <code>asp:Repeater</code> object.</p>
<p>I am familiar with using <code><%# Eval("field")</code> to print dataitem.field to the HTML code. However, what can I do if I want to get the result of <code>Eval("field")</code> saved to a string literal for further processing?</p>
<p><b>Up... | c# asp.net | [0, 9] |
2,265,338 | 2,265,339 | test android application error | <p>Now a day I'm completing tutorial and I found this type of error in testApplication.
what should i do?
It's simple HeloAndroidTest application.</p>
<p>Error is</p>
<pre><code>java.lang.RuntimeException: Exception during suite construction
at android.test.suitebuilder.TestSuiteBuilder$FailedToCreateTests.testSuiteC... | java android | [1, 4] |
934,762 | 934,763 | Show once popup | <p>Say I wanted to create a popup for my website that only showed once (if the user either filled it out or clicked the "do not display again" button), how would I do so. I am creating the popup and form using javascript and html, passing it in php to a database.</p>
| php javascript | [2, 3] |
3,151,915 | 3,151,916 | What is a good way of achieving this filtering? | <p>I have data like the following:</p>
<pre><code>var data = [{
id: 1,
date: new Date("2010-01-01"),
value: 10
}, {
id: 2,
date: new Date("2010-01-01"),
value: 11
}, {
id: 3,
date: new Date("2010-01-01"),
value: 12
}, {
id: 4,
date: new Date("2010-01-02"),
value: 10
}, {
id: 5,
... | javascript jquery | [3, 5] |
739,355 | 739,356 | How to pre select radio button using AlertDialog? | <p>can someone help me with this? I have an AlertDialog box and its working fine, but what I want is when the alertdialog pops up, it will automatically check one of the radio button. </p>
<p>For an example "10 minutes" is checked when the alertdialog box pops up.</p>
<p>How to do that?</p>
<p>Below is my working c... | java android | [1, 4] |
3,383,162 | 3,383,163 | Call a jquery modal box by server side event | <p>i would like to call a jquery dialog box (so html, css,javascript ) via asp.net Server Side event.
Is it possible ? </p>
<p>Thank you</p>
| asp.net jquery | [9, 5] |
2,216,451 | 2,216,452 | exposing properties from a jQuery plugin attached to multiple elements on a page | <p>It has been suggested to me the following structure is preferred/standard to expose public properties from a jQuery plugin.</p>
<pre><code>(function($) {
$.myPlugin = {
data: {}
};
$.fn.myPlugin = function() {
return this;
};
})(jQuery);
</code></pre>
<p>The above example exposes 'dat... | javascript jquery | [3, 5] |
825,942 | 825,943 | Attach click handler to dynamically generated anchor tag | <p>I dynamically generate some markup and inject it into the DOM like this:</p>
<pre><code>content+='<td><a class="reportLink" onclick="showReport();return false;" href="'+layerResults.features[i].attributes['Information_External']+'">Info</a></td>';
</code></pre>
<p>I know it would be better ... | javascript jquery | [3, 5] |
1,264,137 | 1,264,138 | how to update a price based on form selections | <p>if you take a look at this site <a href="http://www.graphicfirm.com/product.php?productid=2010" rel="nofollow">http://www.graphicfirm.com/product.php?productid=2010</a></p>
<p>see how the price changes when you select something from the select options? How is this being done?
each select looks something like this</... | javascript jquery | [3, 5] |
1,104,454 | 1,104,455 | How and where do i use the i++ operator in C#? | <p>I was wondering if anyone could tell me about the <code>i++</code> operator in C#.</p>
<p>I know it adds one to the int value, but I wouldn't have a clue where to use it, and if its only for loop statements, or can be used in general projects.</p>
<p>If I could get some practical examples of where you might use th... | c# asp.net | [0, 9] |
2,855,277 | 2,855,278 | Drop Down Problems | <p>I am trying to create a drop down list. I have it working but not fully, using this code:</p>
<pre><code>$(document).ready(function(){
$("#zone-bar li em").hover(function() {
var hidden = $(this).parents("li").children("ul").is(":hidden");
$("#zone-bar>ul>li>ul").hide()
$("... | javascript jquery | [3, 5] |
2,496,612 | 2,496,613 | Is there any jquery plugin to generate a tip image? | <p>The tip text which highlighted in below image serves wells for giving some instruction to first time user. And I notice such pattern several times in different web apps, I guess there must be some javascript libraries to help generating such tip visualize? But I just fail to find the correct keywords to capture them... | javascript jquery | [3, 5] |
148,522 | 148,523 | Contact us section | <p>I am having problems with my asp.net application i can run the program with no errors when i fill in the boxes on the contact us section i then get a error saying.</p>
<blockquote>
<p>SMTPException was unhanded by user code</p>
</blockquote>
<p>Here is my code</p>
<pre><code>using System;
using System.Collectio... | c# asp.net | [0, 9] |
4,387,323 | 4,387,324 | Pass var through JQuery load | <p>a very simple question I am sure just the brain isn't working this morning.</p>
<p>I have the folowing code I am using with JQuery and the Google Maps v3 API. I basically am trying to refresh a map with new search results once it has been dragged to a new location. </p>
<pre><code>google.maps.event.addListener(
... | javascript jquery | [3, 5] |
4,520,506 | 4,520,507 | creating span IDs on the fly for later use in jquery | <p>I have some PHP code which runs a loop, spitting out a button and a span, each time it loops, like this:</p>
<p>(inside loop)</p>
<pre><code>echo "<span id=\"sendbutton\"> <input type=\"button\" event='$eventID' id=\"sendsomeone\" value=\"Send a family member\"/> </span>";
echo "<span id=\"nam... | php jquery | [2, 5] |
2,896,309 | 2,896,310 | saving the state of a SeekBar | <p>I'm struggling to find the best way to implement my update to the database</p>
<p>The code below is in the adapter for a list view, so each list item has its own seekbar.</p>
<p>The list is of homework assignments so each item has its own degree of completion which I need to persist to a database.</p>
<p>I have a... | java android | [1, 4] |
4,044,586 | 4,044,587 | How to run the main method of an Android Activity class? | <p>I'd would like to examine a private method of an <strong>Android Activity</strong> by executing it within the Activity's <strong><em>public static void main(String[] args)</em></strong> method which I created.</p>
<p>I use <strong>Eclipse ADT</strong> and my naive approach of running the <em>Activity</em> as a <str... | java android | [1, 4] |
441,435 | 441,436 | Why does the position method not return the expected values? | <p>Why does the <code>position</code> method not return <code>[left: 100, top: 10]</code> in this case:</p>
<pre><code><!DOCTYPE HTML>
<html>
<head>
<style>
#parent1 {
width: 300px;
height: 200px;
border: solid 9px pink;
}
#child1 {
position: relative;
left: 100px;
top:... | javascript jquery | [3, 5] |
4,531,629 | 4,531,630 | JavaScript: Cross-browser "browser plugin" detection | <p>I'm looking for a script that will allow me to detect if a user has Windows Media Player installed, or Quicktime, or Flash, or Silverlight...</p>
<p>Ideally, this would be jQuery plugin, but any script will do.</p>
<p>Do you know of one you can recommend?</p>
| javascript jquery | [3, 5] |
973,146 | 973,147 | onkeyup function with PHP argument | <p>How to add PHP in an onkeyup function?</p>
<pre><code><input type="text" onkeyup="if($_SESSION['user'] == TRUE) do.this else do.that">
</code></pre>
| php javascript | [2, 3] |
5,161,681 | 5,161,682 | Display huge columns in a grid | <p>Is it possible to show more than 500 columns in a grid with a scroll bar?
Or Is there any other way?</p>
| c# asp.net | [0, 9] |
1,556,291 | 1,556,292 | CellClick Event in asp.net | <p>I am new to Asp.net but I want to implement <code>CellClick</code> event for asp's GridView,
like in windows application <code>dataGridView1_CellClick()</code>. </p>
| c# asp.net | [0, 9] |
1,798,365 | 1,798,366 | Wrap each element with html using jQuery | <pre><code><div class="inner">
line 1
line 2
line 3
</div>
$(document).ready(function(){
$('.inner').wrapInner('<p/>');
});
</code></pre>
<p>The current code adds the the <code><p></code> tag around all the elements, is it possible to add the <code><p></code> to each? lik... | javascript jquery | [3, 5] |
4,365,004 | 4,365,005 | how to find smallest value of td :contains(textbox) using jquery | <p>How do I get smallest value of the textbox using jquery?
rows means trs which contain multiple tds & tds in turn contains textboxes I want to find the smallest value of each tr</p>
<pre><code> $.each(rows, function () {
$(this).find("input[type='text']") //find smallest value of the textbox
});... | javascript jquery asp.net | [3, 5, 9] |
4,411,823 | 4,411,824 | javascript to jquery conversion for a code that is working fine for dynamic appearance and disappearance of a text field with radio buttons | <p>guys I tried a lot for this code but nothing come up for conversion from javascript to jquery..</p>
<p>This code is irrelevant cuz u find this in working fiddle.. I added this chunk of code cuz stackoverflow dont allow me to post without a code..</p>
<pre><code><div class="rButtons">
<input type="radio" n... | javascript jquery | [3, 5] |
323,998 | 323,999 | read information off website and store in excel file | <p>I am trying to build this application that when provided a .txt file filled with isbn numbers will visit the isbn.nu page for that isbn number by simply appending the isbn to the url www.isbn.nu/<em>your isbn number</em>.</p>
<p>After pulling up the page, I want to scan it for information about the book, and store ... | java javascript | [1, 3] |
5,024,928 | 5,024,929 | Increment value to attr using jquery | <p>I want to increment the value of i . The "for" loop does not work. </p>
<pre><code>$("a[href$='.xls']").appendTo(".xl1").attr('id','xl'+i);
</code></pre>
<p>I search all excel files and places them in a container and increment the value of their id.</p>
<p>Thanks
Jean</p>
| php jquery | [2, 5] |
716,183 | 716,184 | Loop Button inside the Loop Div | <p>I'm new here, I'm stuck in problem in which i have to loop my button so that i will be able to put it on my looping div. How will I do that? This is what I got so far:
//my loop</p>
<pre><code>for (i = 0; i < MPreply.recommendation.Length; i++) {
html += "<div class='rec'> ";
html += "</br> &l... | c# javascript jquery asp.net | [0, 3, 5, 9] |
5,149,274 | 5,149,275 | tag cloud filter | <p>I have a div that contains many spans and each of those spans contains a single href.</p>
<p>Basically it's a tag cloud. What I'd like to do is have a textbox that filters the tag cloud on KeyUp event.</p>
<p>Any ideas or is this possible?</p>
<p>Updated question: What would be the best way to reset the list to s... | javascript jquery | [3, 5] |
1,270,744 | 1,270,745 | Sum variable and keep showing and updating it | <p>I have this function, that it's part of my game, and which sends the data to the getScore.php. And in that php I have some code that sends me back the score for every tag that the player enter, like this "100" "50" or "10.
Now I want to grab those scores and sum them and keep showing the player his score (updating),... | php javascript | [2, 3] |
5,012,861 | 5,012,862 | add class to <a> if href starts with http://www.twitter.com/ | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/303956/jquery-select-a-which-href-contains-some-string">jQuery: Select <a> which href contains some string</a> </p>
</blockquote>
<p>I am working on a little twitter implementation for a website.
The javas... | javascript jquery | [3, 5] |
3,550,777 | 3,550,778 | ASP.NET MVC displaying user Data such as comments? | <p>hows the best way to display comments/user data from a db using mvc?</p>
<p>do we just do our own for loop and manually display it or? will doing it this way cause paging problems in the future? any best methods or practice? </p>
<p>jquery?</p>
<p>thanks guys.</p>
| asp.net javascript jquery | [9, 3, 5] |
2,928,566 | 2,928,567 | How do I grab the last value in a string | <p>I know I can parse out the int by doing </p>
<pre><code>parseInt($('#count_of_stations').html())
</code></pre>
<p>if the value is like this "2stations" that will return 2 but now I need to get the integers out in this format</p>
<pre><code>one1
two2
three3
four4
five5
</code></pre>
<p>How do i get just the numbe... | javascript jquery | [3, 5] |
2,632,004 | 2,632,005 | what is the difference between creating an object through the prototype property vs jquery namespaced objects? | <p>Ok I'll keep this simple what is the difference between using the prototype property to create objects vs jquery namespacing to create objects.</p>
<pre><code> //////////////////////////////////////////
myTestObject.prototype.var1 = null;
function myTestObject()
{
this.var1 = "test me";
}... | javascript jquery | [3, 5] |
669,740 | 669,741 | redirect to another page if javascript is disabled | <p>i have a alot of functionality implemented through javascript if at any stage the javascript is disabled he should be redirected to another page. mentioning him to enable the javascript and then proceed.
and this functionality should be cross browser compatable
Regard,</p>
| javascript asp.net | [3, 9] |
1,506,188 | 1,506,189 | asp.net ExpressionBuilder: Possible to wire up an event? | <p>I have used ExpressionBuilders here and there within my asp.net markup to return simple data types.</p>
<p>Does anyone have any ideas how an ExpressionBuilder might be used to wire up an event inline? Or can ExpressionBuilders only return literals?</p>
<p>I would like to wire up the OnLoad event (or any event) by ... | c# asp.net | [0, 9] |
1,149,215 | 1,149,216 | can i store datatable for the further refinement | <p>i have a datatable with the results i just want to refine the results using this datatable... i am trying to do it but this datatable is distroyed each time page is refreshed......</p>
| c# asp.net | [0, 9] |
329,381 | 329,382 | Not understanding jQuery and Server side events | <p>I'm having trouble since I'm a jQuery newbie. Let's assume I have a asp.net application with an ImageButton to save some data. I want to process this server side code, and if it is successful then I want to animate / toggle a panel that says success or not.</p>
<p>So for instance for an image button I have:</p>
... | jquery asp.net | [5, 9] |
5,707,711 | 5,707,712 | Select every element of a ul li using jquery | <p>I have a menu in form of ul li, and I want to a add different css class to every child of the li.</p>
<p>Here is the javascript code:</p>
<pre><code>$("#menu").ready(function () {
$("#menu ul li").addClass("menu_background1");
});
</code></pre>
<p>css:</p>
<pre><code>.menu_background1 {
background:#FF0;
}
... | javascript jquery | [3, 5] |
1,369,448 | 1,369,449 | How to set property to Guid in aspx page | <p>I have the following code in one of my aspx pages:</p>
<pre><code><% foreach (Dependency dep in this.Common.GetDependencies(this.Request.QueryString["Name"]))
{ %>
<ctl:DependencyEditor DependencyKey='<%= dep.Key %>' runat="server" />
<% } %>
</code></pre>
<p>When I run it, I get... | c# asp.net | [0, 9] |
4,829,189 | 4,829,190 | Adding a script reference into a page using jQuery | <p>I need to dynamically add a script reference, so I do this:</p>
<pre><code>jQuery('html head').append("<script src='somesource.com/somejs.js'><\/script>")
</code></pre>
<p>and it does't work - I don't get any errors but I can't execute any of the methods defined inside that script.</p>
<p>Any ideas wh... | javascript jquery | [3, 5] |
4,603,309 | 4,603,310 | Android RelativeLayout change color onClick | <p>How do i change the color of a Relative Layout i use as a clickable on Click like the normal Button?
Like i want a visual feedback the layout was pressed.</p>
<p>I tried it with a selector bound to the background property like this:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<selector xmlns:and... | java android | [1, 4] |
4,077,255 | 4,077,256 | javascript subtracting date numbers from each other | <p>I'm passing a date in this format; YYYY-MM-DD as a php variable to a javascript function.</p>
<p>however when i get it in the js function - its gone ahead and subtracted the numbers</p>
<pre><code>//php
$today = "2013-05-30";
onclick="myjsfunction($today)"
//js
function myjsfunction(today)
{
alert(today);
}
</cod... | php javascript | [2, 3] |
2,558,078 | 2,558,079 | Stuck with a simple slider | <p>OK, I came up with this code</p>
<pre><code><script type="text/javascript">
$(document).ready(function(){
var im1 = $("#slider li.first");
function rev(){
console.log('riv 1 is running now');
im1.delay(500).animate({marginTop: "-170px"})
.delay(500).... | javascript jquery | [3, 5] |
3,957,582 | 3,957,583 | json using jquery | <p>I have a json file. Now I want to read it contents using jquery. One way is to use $.getJSON() method and there some other jquery json methods which could be used but these methods will send request to the server and read the contents and send the contents to the client. Is it possible to read .json file contents wi... | javascript jquery | [3, 5] |
4,002,439 | 4,002,440 | Commit changes to Group View even after Activity Reload | <p>I have a method to add items to a <code>Group View</code>:</p>
<pre><code>void addItem(String name,String quantity,String value,ViewGroup view_group,int index)
{
LayoutInflater layoutInflater = (LayoutInflater)myAct.getApplicationContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
Line... | java android | [1, 4] |
1,431,134 | 1,431,135 | How to get host domain from asp.net | <p>I am trying to get a fourth level domain by using the Request.Url.Host method but it doesn't seem to be doing the trick.</p>
<p>If the domain is "abc.def.somedomain.com" its only returning up to the third level "def.somedomain.com"</p>
| c# asp.net | [0, 9] |
1,262,186 | 1,262,187 | Android inputType="numberDecimal" brings wrong keyboard up | <p>So i have been playing around with a little game with some mathematical questions. The application gives you, for example, a question like 23 + 47, and that's fine and all, but when it gives you a question like 9/6 the problems appears. Since you input the result in an EditText, i need the correct input type. But! w... | java android | [1, 4] |
1,340,861 | 1,340,862 | how remove or replace string tag with blank in JSON | <pre><code><?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://www.taxmanntechnologies.com/">[{"INT_ID":"102010000000000015","INT_Section_ID":"102120000000000069", "Section_No":"Section - 16 ","Heading":" Functions of Central Board"}]</string>
</code></pre>
<p>i have This data i want to
rem... | java android | [1, 4] |
2,886,907 | 2,886,908 | JQuery, regular update of a DIV section | <p>I want to do display time-changing data on a web page. I use the JQuery framework. I use the following code as a test : display a different random number each second. It does not work. Why ? What is a correct, working way ?</p>
<pre><code><html>
<head>
<title>test</title>
<scrip... | javascript jquery | [3, 5] |
631,142 | 631,143 | rotate square with rotateAnimation | <p>I have a LinearLayout with an ImageView with a square image in the center which I need to apply rotation. Bordering the ImageView on each of its 4 sides is a frame constructed from 4 other views. If I rotate the ImageView 45degrees, does the ImageView get clipped by the other views? How does rotateAnimation respe... | java android | [1, 4] |
2,727,874 | 2,727,875 | How can i set titlebar in middle? | <p>i want to set my tittle bar in center (i mean just text) and i don't want to use <code>Style</code> and <code>Layout</code> , now which method can i use?
Thank you</p>
| java android | [1, 4] |
2,638,886 | 2,638,887 | Google Map Marker + JQuery: Change icon | <p>If I already displayed a google map marker.</p>
<p>How could I change its icon using Jquery?</p>
<p>Thanks in advance.</p>
| asp.net jquery | [9, 5] |
4,783,137 | 4,783,138 | jQuery: Is there a tag like change() that also runs on page load? | <p>I have a set of radio buttons that triggers a jquery function if a specific value is chosen (via .change())</p>
<p>However, in some cases that value will be chosen by default when the page loads. At the moment I have two separate functions - one inside the .change() event, and a conditional that runs on pageload. I... | javascript jquery | [3, 5] |
4,235,204 | 4,235,205 | Reload parent window from child window | <p>How can i reaload my parent window from child window using jquery?</p>
<p>Please help.</p>
| javascript jquery | [3, 5] |
5,013,821 | 5,013,822 | what's the difference between the two ways of writting in jquery? | <p>1, <code>$.each(a,f);</code></p>
<p>2,<code>$("a").each(f);</code></p>
<p>i know the last line meaning, which represents all <code><a></code> elements in the document. Then call the each() method then invoke the function <code>f</code> once for each selected element. but i don't know what's the meaning o... | javascript jquery | [3, 5] |
457,042 | 457,043 | use two jquery version in one page | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1566595/can-i-use-multiple-versions-of-jquery-on-the-same-page">Can I use multiple versions of jQuery on the same page?</a> </p>
</blockquote>
<p>Hi,</p>
<p>in page i use jquery 1.4.4 version, but one of my scr... | javascript jquery | [3, 5] |
2,315,115 | 2,315,116 | JavaScript or C# | <p>I'm new to development and want to learn JavaScript and C#, which one do you think would be best to start with. I want to mainly build web apps.</p>
| c# javascript | [0, 3] |
4,032,674 | 4,032,675 | Read file.inputstream twice | <p>I need to read csv file twice. but after first reading:</p>
<pre><code>using (var csvReader = new StreamReader(file.InputStream))
{
fileFullText += csvReader.ReadToEnd();
file.InputStream.Seek(0, SeekOrigin.Begin);
csvReader.Close();
}
</code></pre>
<p>using file in enother function:</p>
<pre><code>pu... | c# asp.net | [0, 9] |
5,483,019 | 5,483,020 | I am gettin warning "value is returned not all execution path" for jQuery.grep in javascript | <p>I am using following line of code</p>
<pre><code>var selectedMedId = jQuery.grep(privateVariables.medIdData, function (n) {
if (n.DescriptionWithCode.toString().toUpperCase() === description.toString().toUpperCase()) {
return n;
}
});
</code></pre>
<p>I tried following also</p>
<pre><code> var sel... | javascript jquery | [3, 5] |
3,192,255 | 3,192,256 | Developing for iPhone or Android? (As a C# developer) | <p>I'd like to start developing for iPhone or Android in my spare time, as a chance to learn something new but also hoping make some extra income. </p>
<p>I'm not sure which is the best development for me to start developing on. I own an iPhone, but I don't have a Mac (which I would need to use the SDK), plus with the... | iphone android | [8, 4] |
466,249 | 466,250 | Conflict between two versions with reading contacts in android | <p>I created an application that reads contacts from the phone and it works fine on platform version of 3.1 but it throws NullPointerException when i run it on 2.3.3 platform.Can anyone show me the reason for this error.</p>
<pre><code>ContentResolver cr = getContentResolver();
Cursor cur = cr.query(ContactsContra... | java android | [1, 4] |
5,705,732 | 5,705,733 | Unescape JavaScript's escape() using C# | <p>Are the any functions in C# that handle escape/unescape like JavaScript?</p>
<p>I have a JSON string like this:</p>
<p><code>{"Feeds":[{"Url":"www.test.com","FeedType":"Twitter"},{"Url":"www.test2.com","FeedType":"Youtube"}]}</code></p>
<p>Which looks like this after <code>escape()</code></p>
<p><code>%7B%22Feed... | c# javascript asp.net | [0, 3, 9] |
4,432,687 | 4,432,688 | smtpException was unhandled by user code | <p>here is the code.</p>
<pre><code>void sendMail()
{
MailMessage mail = new MailMessage();
mail.To.Add("abc@gmail.com");
mail.From = new MailAddress("abc@gmail.com", txt_name.Text);
mail.Subject = txt_subject.Text;
mail.Body = txt_body.Text;
SmtpClient smtp = new SmtpClient("smtp.gmail.com")... | c# asp.net | [0, 9] |
2,284,042 | 2,284,043 | Calling a function defined inside jQuery ready from outside of it | <p>My aspx page:-</p>
<pre><code> <script src="js/jquery-1.4.2.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.8.2.custom.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
//lots of other code here....
... | javascript jquery | [3, 5] |
3,175,279 | 3,175,280 | Jquery hiding is not trigered | <p>Following is my javascript in which I've been trying to show certain div and after the function being performed the div should get hide by itself but i am having this issue that in same function both doesnot work like to show first then after some time interval hide that div but when i put event of show and hiding s... | javascript jquery | [3, 5] |
4,554,464 | 4,554,465 | connected list controls | <p>sorry for my English google translator. I have three connected lists</p>
<pre><code>$( ".listaAvisosConectados" ).sortable({
connectWith: ".listaAvisosConectados",
dropOnEmpty:true,
}).disableSelection();
</code></pre>
<p>Example online: <a href="http://test.vertudemo.com/" rel="nofollow">http://test.... | javascript jquery | [3, 5] |
1,310,561 | 1,310,562 | e.stopPropagation() and event hover | <p>Is there a way to have both of these work together or do I have to try using the mouseenter and mouseleave instead?</p>
| javascript jquery | [3, 5] |
646,985 | 646,986 | Get independent HTML from $.ajax() | <p>Assume that in</p>
<pre><code>$.ajax({
url: 'page1.html',
data: {},
success: function (data) {
$(data) //return an array of nodes
},
dataType: 'html'
});
</code></pre>
<p><code>$(data)</code> returns an array of nodes:</p>
<pre><code>[<div id="a">,
<div id="b">, //3 elem... | javascript jquery | [3, 5] |
5,972,456 | 5,972,457 | Print python script output correctly in PHP | <p>i have a php file calls a script and prints the output like this</p>
<pre>
$output=shell_exec('/usr/bin/python hello.py');
echo $output;
</pre>
<p>it prints;</p>
<pre>
b'total 16\ndrwx---r-x 2 oae users 4096 Jul 31 14:21 .\ndrwxr-x--x+ 9 oae root 4096 Jul 26 13:59 ..\n-rwx---r-x 1 oae users 90 Aug ... | php python | [2, 7] |
3,704,447 | 3,704,448 | Div auto adjust according to screen resolution | <p>i have design similar to below given link. when i open this link and minimize or maximize the browser then it div box adjust their position accordingly. i am finding the same kind of jQuery or JavaScript. I tried to download it but it is not working in IE 7 and i also want to know name of this kind of jQuery</p>
<... | javascript jquery | [3, 5] |
5,015,704 | 5,015,705 | Why does consecutive calls to Server.Transfer change the url? | <p>I'm using <code>Server.Transfer</code> to load the contents of another page when clicking a button. This works as expected and the url stays the same. However, if I try to load a third page at the click of a button in the second page, the url changes to that of the second page. I would expect it to keep the url of t... | c# asp.net | [0, 9] |
887,446 | 887,447 | Using Jquery to post single variable | <p>using jquery to post a value to php file but the value is not being posted (COMPANY_NAME). Code below works for multiple values but not when it's changed to post single values? Any tips?</p>
<pre><code>$(function() {
$( "#dialog:ui-dialog" ).dialog( "destroy" );
var COMPANY_NAME = $( "#COMPANY_NAME" ),
... | php jquery | [2, 5] |
4,390,890 | 4,390,891 | Using javascript and php together | <p>I have a PHP form that needs some very simple validation on submit. I'd rather do the validation client-side, as there's quite a bit of server-side validation that happens to deal with writing form values to a database. So I just want to call a javascript function onsubmit to compare values in two password fields. T... | php javascript | [2, 3] |
5,809,202 | 5,809,203 | Semicolon in url as a separator for query strings | <p>I keep hearing that W3C recommends to use ";" instead of "&" as a query string separator.</p>
<blockquote>
<p>We recommend that HTTP server implementors, and in particular, CGI
implementors support the use of ";" in place of "&" to save authors
the trouble of escaping "&" characters in this manner... | c# asp.net | [0, 9] |
2,903,655 | 2,903,656 | Fade in Each Thumbnail? | <p>all of my thumbnails have the class .thumb</p>
<p>I'm trying to fade in each at a time like I've seen on some websites but it doesnt seem to be working. My code is below</p>
<pre><code>$('.thumb').eachDelay(function(){
$(this).fadeIn('1000');
}, 100);
</code></pre>
<p>What is wrong here?</p>
<p>Here is a f... | javascript jquery | [3, 5] |
2,270,222 | 2,270,223 | Masked Input Plugin jquery | <p>I am goting to use this <a href="http://digitalbush.com/projects/masked-input-plugin/" rel="nofollow">plugin</a> for an asp.net textbox.</p>
<p>The textbox is:</p>
<pre><code> <asp:TextBox ID="txtBox" runat="server" Text='<%# Bind("Phone") %>' />
</code></pre>
<p>I want the format i... | javascript jquery asp.net | [3, 5, 9] |
2,707,659 | 2,707,660 | JQuery Confirmation Dialog in ASP.Net | <p>Is there any Confirmation Dialog that is made from Jquery where I can use it in ASP.NEt?</p>
<p>a confirmation dialog that has a "Yes" or "No", "Ok", "Ok" or "Cancel" button?</p>
<p>and example, if I click "Ok" button, I can perform a condition in the server code of ASP.net.</p>
<p>another example in the dialog ... | jquery asp.net | [5, 9] |
1,667,874 | 1,667,875 | How to access store certificates from client machine | <p>I am using a web application in which i need to sign a document at client end.client should select the certificate and be able to sign from that certificate.I am using this code to access the store certificates:-
X509Store st = new X509Store(StoreName.My, StoreLocation.LocalMachine);</p>
<p>But this is returning c... | c# asp.net | [0, 9] |
2,110,449 | 2,110,450 | cm to inch converter, two textboxes multply a value | <p>I Have a problem to make a cm to foot/inch converter in C#, this is what a got:</p>
<pre><code><asp:textbox id="txtFoot" runat="server"></asp:textbox>
<asp:textbox id="txtInches" runat="server"></asp:textbox>
<asp:Button id="btnAdd" runat="server" text="Count" onclick="btnAdd_Click" /&g... | c# asp.net | [0, 9] |
5,894,399 | 5,894,400 | Dropdown options can't access with jquery selector? | <p>I have a drop down in my webpage.It's a aspx page.But i am try to access the drop down from JavaScript.here is my code.
This code is working.</p>
<pre><code>var a = document.getElementById('myDropdown');
alert(a.options.length);
</code></pre>
<p>This code is not working</p>
<pre><code>var a = $('#myDropdown');
al... | javascript jquery asp.net | [3, 5, 9] |
951,753 | 951,754 | Jquery get data from dynamic | <p>Im trying to get some javascript var.
that javascript is render dynamic by click in a button, so when the page loads again i want to get that var data and show it in other place. I cant do nothing in the dynamic javascript.</p>
<p>I try to catch in $(windows).load() but there is not render yet.</p>
<p>is there a w... | jquery asp.net | [5, 9] |
73,530 | 73,531 | jQuery/Javascript: Waiting for an animation to finish | <p>Let me preface this by saying I am new to Javascript, but not to programming. I call <code>fadeOut</code> on a jQuery Object like such:</p>
<pre><code>$(x).fadeOut('fast');
</code></pre>
<p>I have other things that will be fading out and in, but I need them to wait for each other, and I do not necessarily know how... | javascript jquery | [3, 5] |
5,760,289 | 5,760,290 | javascript:window.location.href opens new tab in firefox and new window (rather as a pop up ) in IE . I want the page to open in the same window | <p>What do I need to change in the line below ? Please help . Thanks :)</p>
<pre><code> lstItems.Attributes.Add("onclick", "javascript:window.location.href='" + Project2.Constants.MySiteURL + "myPage.aspx/" + ID + "';");
</code></pre>
<p>edit:-</p>
<p>i found this solution on SO but dont know how to use it in my cas... | c# javascript asp.net | [0, 3, 9] |
41,805 | 41,806 | What does (function($) {})(jQuery); mean? | <p>I am just starting out with writing jQuery plugins. I wrote three small plugins but I have been simply copying the line into all my plugins without actually knowing what it means. Can someone tell me a little more about these? Perhaps an explanation will come in handy someday when writing a framework :)</p>
<p>What... | javascript jquery | [3, 5] |
794,297 | 794,298 | How to reset background colour after it is changed by jQuery? | <p>First, a jsfiddle...
<a href="http://jsfiddle.net/therocketforever/jYba3/11/" rel="nofollow">http://jsfiddle.net/therocketforever/jYba3/11/</a></p>
<pre><code>// Highlight selected linker link & set all others to default.
$('a.linker').click(function(){
$(this).addClass('selected');
$(this).paren... | javascript jquery | [3, 5] |
3,227,439 | 3,227,440 | is there a way to force event to fire only once on given element (per element, not whole document) when using live()? | <pre><code>$('div.myclass').live('click',function() {
alert('i should respond only once');
});
</code></pre>
<p>I know that there is a <code>one()</code> function with jquery but i can't figure how to integrate this with the code above.</p>
| javascript jquery | [3, 5] |
4,238,649 | 4,238,650 | stop working of function from another function | <p>I have two functions</p>
<pre><code>function1()
{
//...
}
</code></pre>
<p>in <code>function1</code> i make ajax requests and load an image</p>
<p>there is another function - <code>function2</code> where i call <code>function1</code> to load an image.</p>
<p>now, what is the question. </p>
<p>How can i sto... | javascript jquery | [3, 5] |
945,556 | 945,557 | Android - first run preference initialization | <p>I have next situation:
After installing application it has to init settings from server. And while itis not has right preferences it has to wait. I have several receivers and service - I dont want to check for initialization in every action in these components - I think there have to be better solution. Can somebody... | java android | [1, 4] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.