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,037,450 | 1,037,451 | send the img id to another file with ajax | <p>I am trying to make this work, I have some images each one of them has this link with its own id. </p>
<p>this is the link: <code><a href="#" class="remove_img" data-id="'.$img->g_id.'">x</a></code></p>
<p>this is the script: </p>
<pre><code><script>
$(document).ready(function() {
$(".rem... | javascript jquery | [3, 5] |
2,998,364 | 2,998,365 | jQuery slide down toggle, impossible? | <p>I want to do a slide down with jQuery, but I can't find it anywhere. </p>
<p>I do <strong>not</strong> want it to <a href="http://api.jquery.com/slideDown/" rel="nofollow">scale as it slides</a><br>
I do want it to perform <a href="http://see.weareinto.com/3tyP" rel="nofollow">this action</a> ( click slide ), but v... | javascript jquery | [3, 5] |
2,791,000 | 2,791,001 | Android: adding progress bars? | <p>What would be the best way to use a progress dialog in the following circumstance..</p>
<pre><code> //start progress dialog here.
RequestInfoFormServer();
ProcessThatInfo();
return;
</code></pre>
| java android | [1, 4] |
4,772,524 | 4,772,525 | Double click needed in firefox (JQUERY) | <p>I was advised to used this because i was having a problem, a link worked in FireFox ONLY when clicked the second time. This is to display an external html in a div called leftColumn.</p>
<pre><code>$(function(){
$('#ulWithAllTheLinks').delegate('li a', 'click', function(e){
e.preventDefault;
$('#leftCol... | javascript jquery | [3, 5] |
3,402,344 | 3,402,345 | How to check which argument has been passed to a function | <p>I'd like to make a call to another jQuery function and pass another argument - the argument I pass depends on the name of the argument that was passed to the original function. So i might have something like this:</p>
<pre><code>matchedNumbers1 = compareArrays(userNumbers, winningNumbers1, matchedNumbers1);
matched... | javascript jquery | [3, 5] |
882,344 | 882,345 | Why can I not set my data attribute with jQuery? | <p>I have the following:</p>
<pre><code>editCity: "/Admin/Citys/Edit?pk=0001I&rk=5505005Z"
$('#editCity')
.attr('title', "Edit City " + rk)
.data('disabled', 'no')
.data('href', editCity)
.removeClass('disabled');
</code></pre>
<p>When I check the HTML with developer tools I see this:</p>
<pre><... | javascript jquery | [3, 5] |
3,098,531 | 3,098,532 | What is the meaning of "$" sign in javascript | <p>In the following JavaScript code there is a dollar sign <code>$</code>. What does it mean?</p>
<pre><code>$(window).bind('load', function() {
$('img.protect').protectImage();
});
</code></pre>
| javascript jquery | [3, 5] |
3,823,400 | 3,823,401 | What is the equivalent of CPython string concatenation, in C++? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/13013442/simple-string-concatenation">Simple string concatenation</a> </p>
</blockquote>
<p>Yesterday, as I'm writing this, someone asked on SO</p>
<blockquote>
<p>if i have a string <code>x='wow'</code>
ap... | c++ python | [6, 7] |
368,251 | 368,252 | Javascript onKeyPress event not working? | <p>Why does this statement work with OnKeyPress event of Javascript in C#. </p>
<pre><code> txtPassword.Attributes.Add("OnKeyUp", "CheckPasswordStrength(\""
+ txtPassword.ClientID.ToString() + "\",\""+ lblMessage.ClientID.ToString() +"\")");
</code></pre>
<p>this code is working correctly, my pro... | c# asp.net javascript | [0, 9, 3] |
345,803 | 345,804 | Is it possible to show all active jQuery bind()'s? | <p>Is it possible to show all active jQuery <code>bind()</code>'s?</p>
| javascript jquery | [3, 5] |
2,262,845 | 2,262,846 | Hide HTML with jquery | <p>I have html written on a page like this that I can not control and I can only get access to it using jquery, which I need your help to solve.</p>
<pre><code><span class="breadcrumb">
<a href="http://www.example.com" class="breadcrumb"></a>Home /
<a href="http://www.example.com" class="breadcru... | javascript jquery | [3, 5] |
552,088 | 552,089 | Using unbind, I receive a Javascript TypeError: Object function has no method 'split' | <p>I've written this code for a friend. The idea is he can add a "default" class to his textboxes, so that the default value will be grayed out, and then when he clicks it, it'll disappear, the text will return to its normal color, and then clicking a second time won't clear it:</p>
<pre><code>$(document).ready(functi... | javascript jquery | [3, 5] |
3,663,682 | 3,663,683 | Which is the 'correct' way to do this (if statement) | <p>I've got plenty of these lying around, and I'm wondering if I'm going to face any trouble - or performance problems.</p>
<p>I have method A:
<pre><code>
MyClass monkey;
...
if(monkey != null) {
...
}
</pre></code></p>
<p>Or method B:
<pre><code>
boolean hasMonkey; //This is set to TRUE when monkey is not null
MyC... | java android | [1, 4] |
5,380,151 | 5,380,152 | Why does javascript replace only first instance when using replace? | <p>I have this</p>
<pre><code> var date = $('#Date').val();
</code></pre>
<p>this get the value in the textbox what would look like this</p>
<p>12/31/2009</p>
<p>Now I do this on it</p>
<pre><code>var id = 'c_' + date.replace("/", '');
</code></pre>
<p>and the result is </p>
<p>c_1231/2009</p>
<p>It misses the ... | javascript jquery | [3, 5] |
2,392,235 | 2,392,236 | location.href doesn't work locally on machine? | <p>Forget iframes and cross site scripting and all sorts, none of those issues are related to my specific problem.</p>
<p>The problem is in internet explorer (the code works FINE in firefox and similar). Running on a Windows 7 Machine.</p>
<p>Any code like:</p>
<pre><code>window.location.href = "http://google.com";
... | c# javascript | [0, 3] |
2,296,410 | 2,296,411 | Jquery select table rows and group them | <p>I have a table that has a list of employees. I want to be able to create a new department and drag and drop employees into each department. Once an employee has been assigned to a dept, the dept column in the "employeedept" table has to get updated with the dept value. </p>
<pre><code><table id="employeedept" bo... | javascript jquery | [3, 5] |
4,696,034 | 4,696,035 | Why is wrong with this JS function? Firefox does work but Chrome doesn't | <p>Hi, I have been coding a little Js function that manipulates certains divs and elements. On firefox it works great, but it does not work in Chrome and halts all the Javascript. I simply don't find what is wrong. Could you be kind enough to let me know? Cookies were tested and work fine. Using Jquery. Thanks!</p>
<p... | javascript jquery | [3, 5] |
4,450,169 | 4,450,170 | insert text between 2 controls | <p>I want insert ":" between 2 dropdownlist in a cell.</p>
<pre><code>tableCell.Controls.Add(DropDownListOraInizio);
tableCell.Controls.Add(DropDownListMinutoInizio);
</code></pre>
<p>How can i do?</p>
<p>thanks</p>
| c# asp.net | [0, 9] |
137,345 | 137,346 | Call string attribute from asp.net in a <div> tag | <p>It might be a simple question but I am confused. I would like to call a particular string attribute in codebehind from a <code><div></code> in markup. </p>
<p>How am I able to do this?</p>
| c# asp.net | [0, 9] |
2,429,017 | 2,429,018 | Sending JavaScript code from c# windows application to a running instance of IE does not work? | <p>I'm working on a project in which I need to send a JavaScript function from c# windows application to a running instance of internet explorer and then the IE run the script and return the result to my c# application. (Very confusing? =) )</p>
<p>Just to make it more clear, here is the case:</p>
<p>I get the <code>... | c# javascript | [0, 3] |
2,192,094 | 2,192,095 | JSoup works in an Android Activity, but not as an object in the Activity | <p>I have created an Android app that I would like to supply with some info scraped from a page. I used JSoup, and was succesfully able to scrape all of the HTML, and place them into the proper data structures in a console project, with a single class name Scraper.java.</p>
<p>My next step was to port this Scraper.jav... | java android | [1, 4] |
4,320,072 | 4,320,073 | Errors of other java package | <p>Android,</p>
<p>Will you do favor to me? have these following questions. These errors are not coming in Mainactivity.java but these errors are coming in other java(Not an activity) package And everything are imported.</p>
<p>1.I want to split a sentence by space. </p>
<pre><code> messages = message.split(" ");
... | java android | [1, 4] |
3,866,818 | 3,866,819 | Problems with jquery selector | <p>I have a trouble with selecting element attributes with jquery here is my HTML:</p>
<pre><code><a class="myselector" rel="I need this value"></a>
<div class="someClass" id="someID">
...bunch of elements/content
<input type="button" name="myInput" id="inputID" title="myInput Title" />
...bun... | javascript jquery | [3, 5] |
113,279 | 113,280 | Formatting numbers like 10000 as 10k | <p>I have a 5-digit number, like <code>10000</code>, and I want to display it as <code>10k</code>, as I'll eventually have 6 digits (I'm talking about Twitter counts, actually). I suppose I have to substring, but I'm not that used to JavaScript just yet.</p>
<p>Here's just about what I'm trying to use. It basically ge... | javascript jquery | [3, 5] |
4,045,429 | 4,045,430 | Multiple Android IntentService at one time? | <p>I am using IntentService to grab data in the background for my application. Now I have three services that all pull data from different sources. I launch all of these services at once but it seems that they wont run concurrently. The first service starts and the next service doesn't seem to start until the first one... | java android | [1, 4] |
538,375 | 538,376 | Javascript Konami Code, FadeIn/FadeOut Div | <p>Any JavaScript pros out there? I've got a div that I've managed to fade in after entering the konami code, and a button that you can click to fade out the div, but I have to refresh in order to re-enter the konami code. I want to be able to continually enter in the konami code without having to refresh the page. Ide... | javascript jquery | [3, 5] |
3,500,521 | 3,500,522 | Android - New language font | <p>I need to support malayalam(South Indian language) font for my application. </p>
<p>I found a way of changing the typeface of a textView/edittext, but it is working only for default supported languages. For malayalam, it is showing square boxes. Is there a way to do that without rooting. Please refer myalpha multil... | java android | [1, 4] |
5,271,262 | 5,271,263 | Could Not Write File on FTP server using FTPClient in Java | <p>I am reading files on a FTP server and writing that data into another file. But after properly reading the data I couldn't write the file on to the FTP server.</p>
<p>I can retrieve files using "retrieve file", but can not store file using the <code>storefile</code> function.</p>
<p>My code is:</p>
<pre><code>imp... | java android | [1, 4] |
5,361,627 | 5,361,628 | Jquery closing in click | <p>im having a problem in a script that i download it in the web, basically what i need is a FAQ question whit the collapse panel interaction, but in this case different in the other out there i want when i click in one question it opens, and when i click in another question the question before closes and open the one ... | javascript jquery | [3, 5] |
4,209,058 | 4,209,059 | Stop animation on last element | <p>I have a sliding panel and on the last element I want the animation to stop i've tried using the .is(':last') and it doesn't stop. here is my code. the current var is set to the first element when the form loads. It animates to the left and keeps animating when you click the next button i just want to stop it on the... | javascript jquery | [3, 5] |
1,959,385 | 1,959,386 | textarea to output p - max length or height | <p>I have a <code>textarea</code> text box and a viewable <code>p</code> area which displays the input. <br />
I am trying to control the the amount of text input based on <code>p</code> height or <code>textarea</code> max string length. <br />
There are 2 issues im facing:<br /><br /></p>
<p>1) Once <code>p</code> go... | javascript jquery | [3, 5] |
5,612,038 | 5,612,039 | jquery- how to obtain the text shown on screen in a radio button/check box/list/drop down | <p>I am working to parse a form and obtain the values of all elements, including the text boxes, radio buttons, check boxes, list boxes and drop down boxes.</p>
<p>I am currently able to obtain the values for all of the above... By values I mean the value as assigned to that element (eg radio button)... However in som... | javascript jquery | [3, 5] |
2,257,260 | 2,257,261 | How to convert string into float value in android | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/4229710/string-from-edittext-to-float">String from EditText to float</a> </p>
</blockquote>
<p>In application I want to convert the entered string in edit box to the corresponding value like <code>23324366437634... | java android | [1, 4] |
5,397,905 | 5,397,906 | Manual sort objects with anonymous type? | <p>I have the following code:</p>
<pre><code>var categories = catList.Select(c => new
{
Title = c.Web.Title,
Byline = c[Constants.FieldNames.Byline],
Url = c[SPBuiltInFieldId.FileRef]
});
</code></pre>
<p>I will always have maximum three items but could be less.
The Title will always be either (s... | c# asp.net | [0, 9] |
644,679 | 644,680 | onchange event - IE error | <p>In my code behind, I have - </p>
<pre><code>tbWhatIfBeginDate.Attributes.Add("onchange", "checkDates(" + tbWhatIfBeginDate.ClientID + ", " + tbWhatIfEndDate.ClientID + ")");
tbWhatIfEndDate.Attributes.Add("onchange", "checkDates(" + tbWhatIfBeginDate.ClientID + ", " + tbWhatIfEndDate.ClientID + ")");
</code></pre>
... | c# javascript | [0, 3] |
3,853,346 | 3,853,347 | RadioButton value to be changed everytime a linkbutton is clicked | <p>I have 5 radio buttons and a link in my page. Everytime when the linkbutton is clicked, i want my radiobutton to be changed to other. I mean, when a link is clicked, radiobutton check has to move onto rd2 from rd1. Is that possible.</p>
<p>Below is my piece of code for link button and radiobutons.</p>
<pre><code>p... | c# asp.net | [0, 9] |
5,719,097 | 5,719,098 | call the input element through the value instead of id or name of the element in javascript method | <p>i want to disable the textarea onclick of value=1 and enable it back by clicking of radio button value=0. however i have a condition that i have to use the same name and id for both the radio buttons.i have the existing code something like this ..is there is any possibilty that i can call the radio button through ... | javascript jquery | [3, 5] |
772,116 | 772,117 | Use jQuery to select a specific element with arbitrary data | <p>Hi I'm new to jQuery and I am trying to figure out how I can select a particular element with class <code>organizer_listing_checkbox_container</code> and whose parent <code>.organizer_listing</code> has arbitrary data <code>data-listing_id=1234</code>. There are many elements with class <code>organizer_listing_check... | javascript jquery | [3, 5] |
2,557,514 | 2,557,515 | The use of "?" and ":" | <p>I've read through a lot of code where they have if statements, i've noticed other languages use this to. Asp being one.
Tried googling but couldn't find a answer for it.</p>
<p>What exactly does <code>?:</code> stand for and when to use it.</p>
<p>As far as I'm aware <code>?</code> is equal to <code>if()</code> an... | php javascript asp.net | [2, 3, 9] |
3,489,913 | 3,489,914 | IE8 javascript debugger | <p>Is it possible using IE8 javascript debugger from ie8 dev tools to debug javascript on a page that runs locally from within VS2008 or you would have to run the page on a server against iis?
Currently I am getting an error "Unable to attach to process" if I try to debug javascript on a local page. </p>
| javascript asp.net | [3, 9] |
1,192,399 | 1,192,400 | any libraries which can help to convert excel, word, pdf, to image format? | <p>any libraries which can help to convert excel, word, pdf, to image format ?<br>
Please point me to the right direction, thanks in advance ! </p>
| c# java | [0, 1] |
5,540,991 | 5,540,992 | Back navigation with pushstate and load in jQuery | <p>I'm currently using jQuery to dynamically load content into a holder div and then updating the url with pushstate.</p>
<p>I have the following code so far (some excluded for example simplicity):</p>
<pre><code>$("body").on("click", "a:not(.noclick)", function(){
history.pushState({path: $(this).attr("href")},... | javascript jquery | [3, 5] |
2,438,400 | 2,438,401 | ajax success response load to divs | <p>I have three forms and using this jquery function</p>
<pre><code>$('form').submit(function() {
$.ajax({
type: $(this).attr('method'),
url: $(this).attr('action'),
data: $(this).serialize(),
success: function(response) {
$('#setInfo').fadeOut('500').empty().fadeIn('500').app... | javascript jquery | [3, 5] |
3,331,015 | 3,331,016 | nanoScroller and IE9 | <p>I trying to use the nanoScroller JS script, and it works on Chrome and Firefox except in IE9. I don't know the problem, 'cause I've made a test in a teste page and it works, but in my project it doesn't work. Here it goes the script:</p>
<pre><code>$(".lista-noticia").click(function () {
$(".noticia-completa:vi... | javascript jquery | [3, 5] |
1,463,202 | 1,463,203 | Submit method by enter key? | <p>I'd like to submit a method when the user hits the ENTER key inside a editText field.</p>
<pre><code><EditText android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:imeOptions="actionDone"
android:singleLine="true"
/>
</code></pre>
<p>Atm this results in going to the ... | java android | [1, 4] |
5,541,139 | 5,541,140 | ForeColor with codes color | <p>I have created dynamically <code>HyperLink</code>. And I want to change the color by adding a color code.</p>
<pre><code>HyperLink hpl = new HyperLink();
hpl.Text = "SomeText";
hpl.ForeColor = "#5BB1E6";
//Cannot implicitly convert type 'string' to 'System.Drawing.Color
</code></pre>
<p>But I can't. </p>
<p>H... | c# asp.net | [0, 9] |
4,462,442 | 4,462,443 | Limitations of string variable | <p>I have a Base64 jpeg image string which is a simple signature image. I can store the string in SQL Server and retreive it, but when I try to pass it to a method or save in a Session variable I get null value. Is there a limit to the string you can pass to a method or save in a session var?</p>
<p>Here is the code; ... | c# asp.net | [0, 9] |
1,128,509 | 1,128,510 | toggle- hide item when click outside of the div | <p>I am using jquery's slidetoggle, want to learn how to make the <code>showup</code> class hide when click anywhere outside of the DIV.
thanks!</p>
<p>Online SAMPLE: <a href="http://jsfiddle.net/evGd6/" rel="nofollow">http://jsfiddle.net/evGd6/</a></p>
<pre><code><div class="click">click me</div>
<div... | javascript jquery | [3, 5] |
224,348 | 224,349 | Is there a list like operator in javascript? | <p>I'm now implement such a task:I need to convert PHP variables to javascript</p>
<pre><code>$arr['name1'] = 'value1';
$arr['name2'] = 'value2';
</code></pre>
<p>so that after processing,should be:</p>
<pre><code><script type="text/javascript">
var name1 = 'value1';
var name2 = 'value2';
...
</code></pre>
<p... | php javascript | [2, 3] |
5,603,495 | 5,603,496 | Adding google account to my website in asp.net using c# | <p>i have a job portal website project in that i need to signup user by using his google account .. so that i can retrieve his/her account details like firstname,lastname,emailid, mobile number etc ..
similarly to yahoo also in asp.net using c# with sql server 2008</p>
| c# asp.net | [0, 9] |
1,836,070 | 1,836,071 | Using Java as a backend and PHP as a front end | <p>There are already a few posts on SO discussion whether this architecture is a good idea or bad idea. For many reasons within our company including the existing programming talent, we've decided to use Java for the backend and PHP for the front end. Our objective is something like...</p>
<p>Java - Models/Controlle... | java php | [1, 2] |
2,399,927 | 2,399,928 | Can i use Response.Write() in try block of a aspx Page in ASP.NET | <pre><code>try
{
Response.Write("<script language='javascript' type='text/javascript'>");
Response.Write("window.opener.parent.SetDocumentValues();
Response.Write("self.close();");
Response.Write("</script>");
}
catch (System.Web.Services.Protocols.SoapException ex)
... | c# asp.net | [0, 9] |
2,936,243 | 2,936,244 | How to call a function in jquery? | <p>I wanted to my code a bit cleaner so I wanted to put a very long function in it's own method.</p>
<p>Right now I have</p>
<pre><code>$('#Id').submit(function()
{
// lots of code here
});
</code></pre>
<p>now I wanted to break it up like</p>
<pre><code> $('#Id').submit(MyFunction);
function MyFunct... | javascript jquery | [3, 5] |
1,080,910 | 1,080,911 | The best way to check is mouse move outside window? | <p>So I have to check 4 sides if I want to limit mouse in window to take action like</p>
<pre><code>$(document).on('mousemove',function(e){
if (e.pageX > 10 && e.pageX<$(window).width-10 && e.pageY< $(window).height()-10&& e.pageY >10){
//are there any better way?
}
});
</code></... | javascript jquery | [3, 5] |
3,140,548 | 3,140,549 | How to disable linkbutton with JavaScript | <p>I am trying to disable a linkbutton but no luck! I tried every possible solution, However I can not limit users click on that link button. End users should not be able to click the link button more than one. One click and that is it! Button must go right away! How can I achieve this? My button is on ModalPopupExtend... | javascript asp.net | [3, 9] |
5,054,236 | 5,054,237 | JQuery Syntax Problem? | <p>I am using JQuery to insert divs into a page but i cant seem to get the quotation marks correctly setup.</p>
<p>For example the code below works fine: </p>
<pre><code>var newDiv_1 = '<div id="event_1"><b>Hello World 01</b></div>';
$('#mon_Events').append(newDiv_1);
</code></pre>
<p>But wh... | javascript jquery | [3, 5] |
4,837,506 | 4,837,507 | Reload html element | <p>I have a page which opens another page using window.open and does some work and refreshes whole parent page . Is it possible to refresh content of a div/table on parent page using JQuery/Javascript ?</p>
<p>FYI : Here the content of the div is not changing there is an image inside div which is edited by child windo... | javascript jquery | [3, 5] |
2,777,127 | 2,777,128 | Parse url from javascript popup in ASP.net | <p>I am developing web app using ASP.NET and i am also using javascript in the gridview header as TemplateField to open a window like this,</p>
<pre><code><a href="javascript:var popup = window.open('PopUp.aspx?+Value','Popup','width=200,height=200');
</code></pre>
<p>What I need to do in the "PopUp.aspx" code beh... | javascript asp.net | [3, 9] |
1,356,059 | 1,356,060 | Will this code replace the existing database file with new file or not? | <p>I'm copying my db file to sd car using this methode please tell me if file at sdcard is already existing then whether it will replace or will not copy?</p>
<pre><code>public boolean copyDbToSDCard() {
boolean success = false;
String SDCardPath = Environment.getExternalStorageDirectory()
... | java android | [1, 4] |
2,507,398 | 2,507,399 | Why would javascript work embedded in html page, but not in external script? | <p>I am using a simple script, and when the script is embedded into the actual html page it works just fine, but when it is thrown into an external .js the script no longer works, i am not seeing any errors in the console, it is a jquery delegate function, and i know that the external script is working, because there a... | javascript jquery | [3, 5] |
3,027,208 | 3,027,209 | File upload and delete | <p>I'm trying to upload a file, and have the name of the uploaded file displayed along with a "remove" link to remove the uploaded file (in order to uploaded another one). <a href="http://jsfiddle.net/kTNuB/2/" rel="nofollow">Here</a> is what I've got so far. Everything works fine except that when I remove the uploaded... | javascript jquery | [3, 5] |
3,569,266 | 3,569,267 | Javascript embedded in PHP's echo | <p>I am trying to embed javascript in php's echo.
I want to have a button saying "Continue??".
If the user presses "Ok" then <code>upload.php</code> should execute.
If the user presses "Cancel" then he should get a popup.
Could you let me know where's the error in the following code. I see a button saying "Continue" ... | php javascript | [2, 3] |
478,797 | 478,798 | return values from sql query when ajaxform is applied | <p>I got a </p>
<p>$.ajax({</p>
<pre><code>type: "get",
url: "detail.php",
data: "iq="+q,
success: function() {
$('#Title').text('value','');
}
</code></pre>
<p>and a sql query select statement. I want to retu... | php jquery | [2, 5] |
4,368,844 | 4,368,845 | Use Javascript to return as a php variable | <p>I'm not sure if this is possible since javascript is client side and php is server side, but what I have is a series of javascript functions that give a real time total to orders in a form. To clarify that, as the user selects items in the form it gives a total. On submission of the form php is submitting the order ... | php javascript | [2, 3] |
2,699,612 | 2,699,613 | Need help with a JavaScript function to determine ascending numbers | <p>I have table rows, which have a <em>start</em> number and an <em>end</em> number (input fields).</p>
<p>Per row, the end <strong>must</strong> be larger than the start.</p>
<p>From inputs left to right, top to bottom the numbers must be larger than the last.</p>
<p>So there are 2 inputs per row, and 4 (for exampl... | javascript jquery | [3, 5] |
5,947,263 | 5,947,264 | how to display treeview in php | <p>CAn anyone tell me is it is possible to display the files in computer using a tree view in php? It should be fast enough to display either in jQuery or anyother method that gives speed.</p>
| php jquery | [2, 5] |
217,521 | 217,522 | Product Class Design | <p>Hi I have a class called product, my problem is that I handle products in various ways, either through a list of products, the product itself and inserting a product into the database. Each handle different properties.</p>
<p>For example, displaying the product on a page will consist of name, discription, id, price... | c# asp.net | [0, 9] |
5,908,237 | 5,908,238 | $('#<%=nameLabel.ClientID%>') does not work when in .js file and works when in script is in the page | <p><code>$('#<%=nameLabel.ClientID%>')</code> is being used in my script for jquery.</p>
<p>When this is in ... block in tha page , it works fine ,as its a content page it is evaluated to <code>$('#ctl00_contentPanel1_nameLabel')</code> properly, i can see it while debugging scripts. </p>
<p>however , when i k... | asp.net jquery | [9, 5] |
3,052,801 | 3,052,802 | C# .NET equivalent to PHP time() | <p>I am working with C# .NET and PHP and need some standard way of recording time between the two. I want to use seconds since 1970 = <code><?php echo time(); ?></code> because I'm already using some of php's cool functions like: date() & strtotime() in my project. Is there something in .net that is equivalen... | c# php | [0, 2] |
514,967 | 514,968 | How to clear a Asp.net tree view control in javascript? | <p>How to clear a Tree View control in javascript ? I am looking for something like treeview.nodes.clear();</p>
| c# asp.net | [0, 9] |
2,962,698 | 2,962,699 | How to send message through net to mobile? | <p>currently we are developing website which send sms alert to user for perticular service
but i am not able to set script which will do the same</p>
<p>Please somebody tell me what will be solution....
Please tell any script or site for this problem</p>
<p>thanks...</p>
| php javascript | [2, 3] |
3,266,470 | 3,266,471 | Pass this object into event handler | <p>I got the code below how do I pass the current object "this" into the event handler so that I can pass it to the object Foo:</p>
<pre><code>btn.setOnClickListener(new View.OnClickListener(this) {
public void onClick(View view) {
new Foo(this).AlertBox("Hello Lennie!");
}
});
</code></pre>
<p>Where "this" is: an... | java android | [1, 4] |
4,054,560 | 4,054,561 | How to get number of words on a web page? | <p>I need to get total number of WORDS on a web page. I know about the <code>System.Net.WebClient</code> class. But it's <code>DownloadString()</code> method return the whole HTML markup where as what I need is only the TEXT so that I can figure out the number of words.</p>
<p>Any ideas/suggestions welcome.</p>
| c# asp.net | [0, 9] |
2,875,832 | 2,875,833 | android event after landscape calculation | <p>I enabled onConfigChanges event and properly handling when device turns from portrait into lanscape. However, after onConfigChanges, when page is calculated again and finishes it, which event is fired? Thank you</p>
| java android | [1, 4] |
5,698,032 | 5,698,033 | No Collapse/Expand icon in TreeView when using ASP.NET and C# | <p>I have a trouble with Expand / Collapse icon in TreeView</p>
<p>What I get : <a href="http://i.imgur.com/dl5Lg.jpg" rel="nofollow">http://i.imgur.com/dl5Lg.jpg</a></p>
<p>What I did :</p>
<p>C# code :</p>
<pre><code>public static void TreeLoad(TreeView tree, string @source)
{
XmlDocument docu... | c# asp.net | [0, 9] |
2,792,631 | 2,792,632 | Multiple asp:Repeater DataBind | <p>I am 90% certain I have acheived this before, but I cannot remember how I did it.</p>
<p>I have a repeater which I would like to use twice on a page as the structure and databinding events are the same, but the data binding to the repeater is obviously different.</p>
<p>In the past I believe I set the datasource o... | c# asp.net | [0, 9] |
4,892,709 | 4,892,710 | Casting object from Drop Down Into Nullable type | <p>I have the following drop down in my aspx:</p>
<pre><code><aspx:DropDownList
ID="ddl1"
runat="server"/>
</code></pre>
<p>In the code-behind (C#), I want to retrieve the value from the DropDownList.</p>
<p>I populated my dropdown as such:</p>
<pre><code>ddl1.DataSource = LocationOfData;
ddl1.DataBind();
</c... | c# asp.net | [0, 9] |
5,251,518 | 5,251,519 | 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] |
846,090 | 846,091 | javascript doesn't correctly return from the loop | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1900172/jquery-each-method-does-not-return-value">jQuery each method does not return value</a> </p>
</blockquote>
<p>It seems the return statement does not break the loop and return the function. The following c... | javascript jquery | [3, 5] |
5,040,119 | 5,040,120 | How to upload data using POST-query? | <p>I have following problem: I'm developing the application which need to authorize on server and upload data from my mobile into it. The server side is ready and works correctly. So, for authorizing I use the following code:</p>
<pre><code>URL url = new URL(VALIDATING_URL);
URLConnection connection=ur... | java android | [1, 4] |
2,154,700 | 2,154,701 | Remove all instances of class when button clicked | <p>I'm trying to remove all instances of a given class on the page when a button is clicked. The code works fine on its own, just not from within a click function. The code I have is:</p>
<pre><code>$('#myButton').click(function() {
$("#wrapper").removeClass("myClass");
});
</code></pre>
| javascript jquery | [3, 5] |
556,064 | 556,065 | Access javascript document in asp.net code behind | <p>I am trying to access javascript document from ASP.net page code behind. How do I do same thing as below in c# code behind?</p>
<pre><code>document.getElementById(id).src = "myurl.com"
</code></pre>
<p>Thank you for your help.</p>
| javascript asp.net | [3, 9] |
5,331,876 | 5,331,877 | what's the best way to add a class to the div with a class of post every 4 seconds using jquery? | <p>what's the best way to add a class to the div with a class of post every 4 seconds using jquery?</p>
<pre><code><div class="34 post">
<img width="311" height="417" src="#" class="#" alt="newspapers" />
<h2><a href="#">Headline News Part 2</a></h2>
<p>testing new content<... | javascript jquery | [3, 5] |
4,643,486 | 4,643,487 | simple jquery event handler | <p>having some real problems with jquery at the moment. Basically what I have so far is. The form is submitted once the form is submitted a grey box pop's up with the relevant infomation.</p>
<p>What I need to do though is refresh the whole page then allow the grey box to appear.</p>
<p>I have the following code</p>
... | javascript jquery | [3, 5] |
4,321,425 | 4,321,426 | How to tell which element number i'm clicking on? | <p>I have a table with 6 elements.. How can I know which one in the dom have I clicked on? Meaning.. I want to know that I click on tag #3 as it is the 3rd (or 4th if you count 0) in the dom..</p>
<p>I was thinking of just assigning an ID to each tag and that id would contain a number designating which is being cl... | javascript jquery | [3, 5] |
736,848 | 736,849 | Javascript - Want to jump to new div at scroll event | <p>I'm building a one-page site with the content area as large content boxes stacked down the page. </p>
<p><a href="http://salondoreen.com/lowercasemenu.html" rel="nofollow">http://salondoreen.com/lowercasemenu.html</a></p>
<p>I'm looking for ideas on a way to use javascript to jump to each content box. With a one-p... | javascript jquery | [3, 5] |
3,553,321 | 3,553,322 | Custom source handler for Jquery plugin Levitip | <p>I am developing an application using Jquery and the levitip plugin. I need to write a new source handler in jquery.levitip.js this kind of call to levitip to be possible:</p>
<pre><code>$("Tag").leviTip({sourceType: 'pertsonalizatua', source: '#Mached_Tag_atribute' , addClass: ''});
</code></pre>
<p>I want the lev... | javascript jquery | [3, 5] |
1,545,066 | 1,545,067 | ASP.NET vs. PHP | <p>What is the biggest advantage of ASP.NET over the PHP. Why should I switch to ASP.NET?</p>
<p>EDIT: I just want to understand the point behind the Joel's example:
If ASP.NET is a Lexus, then PHP is a bicycle.</p>
| php asp.net | [2, 9] |
1,038,604 | 1,038,605 | How to do a GET on a PHP page to get a JSON object? | <p>How do I accomplish the following:
User clicks on "Start" button on an HTML page makes a GET to a getnumber.php page, that returns the number 10 in the following form: {count: 10}</p>
| php jquery | [2, 5] |
1,725,270 | 1,725,271 | Which Language I Should Learn After Python? | <p>I'm 14. I'm currently learning Python Language. Now What Should I Learn After Python ? Here are the options:</p>
<ol>
<li>C++0x</li>
<li>C# or .Net</li>
<li>Java or any other like Scala, Groovy, etc.</li>
<li>D</li>
</ol>
<p>Sorry For First Post. Plz Help me this time.</p>
| java c++ python | [1, 6, 7] |
5,386,587 | 5,386,588 | How to make a sign light up | <p>Apologies if this doesn't qualify as a StackOverflow question.</p>
<p>I have a jpg of a sign that's made up of 100 light bulbs. I'd like to use jQuery to animate the bulbs so that they flicker on after a moment's hesitation.</p>
<p>I'm thinking that it would require two images and that I would animate hiding/show... | javascript jquery | [3, 5] |
3,053,452 | 3,053,453 | Javascript regexp using val().match() method | <p>I'm trying to validate a field named phone_number with this rules:</p>
<p>the first digit should be 3 then another 9 digits so in total 10 number example: 3216549874</p>
<p>or can be 7 numbers 1234567</p>
<p>here i have my code:</p>
<pre><code> if (!($("#" + val["htmlId"]).val().match(/^3\d{9}|\d{7}/)))
... | javascript jquery | [3, 5] |
1,944,812 | 1,944,813 | Problem with jquery button click | <p>I am facing a problem in the jquery click event.</p>
<p>My web page involves creating a button through javascript and assigning a class to the button ( call it A ). Now I want to detect the click of that button and I have written the following code for it :</p>
<pre>
$(".A").click( function () {
// do someth... | javascript jquery | [3, 5] |
277,238 | 277,239 | Dynamically creating controls based on variable | <p>First off I'm actually a DBA and not a web developer so... what I write will probably look ugly. I am building a website (they asked me if I'd try /shrug) and I have 168 checkboxes that have the same action when checked. But these actions, though the same, are performed on different controls (related to the checkbox... | c# asp.net | [0, 9] |
5,190,101 | 5,190,102 | Where can I find advanced jQuery/JavaScript resources/tutorials? | <p>I'm reading some tutorials now about jQuery.. function creating,plugin creation etc. but these tutorials are missing some basic explanations like they mention things like </p>
<p>function prototype, anonymous functions, umm putting (jQuery) after the }); .. and stuff like that .. is there a tutorial/website/book th... | javascript jquery | [3, 5] |
979,277 | 979,278 | Unable to ping host from app but can otherwise | <p>Here's my code:</p>
<pre><code>InetAddress address =
InetAddress.getByName("www.whyoceans.com");
if (!address.isReachable(3000)) {
Toast.makeText(this,
"Unable to ping host",
Toast.LENGTH_SHORT).show();
}
</code></pre>
<p>The isReachable always fails, yet I can open a shell and ping it just
fine (from ... | java android | [1, 4] |
119,053 | 119,054 | How can you tell if an HTML dropdown is displaying the list of options | <p>Is there a way to determine if a given drop down is currently active and displaying it's list of options?</p>
<p>I am currently binding to the mousedown event of the dropdown and populating the options when the user clicks on it. Unfortunately the mousedown event fires when the user selects the option as well.</p>
... | javascript jquery | [3, 5] |
4,322,981 | 4,322,982 | Scope of variables inside of javascript | <p>I have the following code sample that im trying to wrap my head around</p>
<pre><code> $(document).ready(function () {
test("load json", function () {
length = 0; // length = 0
$.getJSON("plugins/form.json", function (data) {
length = data.fields.length; // ... | javascript jquery | [3, 5] |
3,473,097 | 3,473,098 | No validation functionality when using System.Net.Mail | <p>It seems that when I configure my email settings in the code behind for a contact page the validation controls no longer work. I have required field validation and regular expression validation to validate email addresses. Validation works on click event before I insert email configurations which requires me to use ... | c# asp.net | [0, 9] |
3,121,734 | 3,121,735 | Replace String while enter into textfield in android | <p>While entering String in EditText for example "Love Is Life" , after entering word "Love" enter space , then after if click the letter 'i' it automatically need to change it as Uppercase letter 'I' .</p>
<p>Which means the character after every Space of String need be in Uppercase and make the change dynamically wh... | java android | [1, 4] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.