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,931,276 | 1,931,277 | Multiple and single choice test | <p>I am working on a Single choice and Multiple choice test.</p>
<p>I have couple of questions and 4 answers for each question.</p>
<p>I am shuffling the answers as each answer is assigned to radio button.
This is how i am shuffling the arraylist where Random is a arraylist with items and r1,r2,r3,r4 are radio button... | java android | [1, 4] |
170,305 | 170,306 | add text box dynamically and capture data on button click | <p>I am adding text boxes dynamically and trying to capture data entered in text box on button click. but what is happening is , though I entered the data in the text box, when I clicked the button, the page is getting loaded and the control is getting created again. As a result , I am loosing the data in the text box.... | c# asp.net | [0, 9] |
3,763,650 | 3,763,651 | function sending a null value to php file | <p>I've got a function which sends the "id" value to a php file but all it's send is null.. can anyone spot why? </p>
<p>(the value of id is not null)</p>
<pre><code>function send(point, name, message, type, file, id, lat, lng) {
var html = "<b>" + name + "</b> <br/>" + message + '<IMG SRC=\"'+fi... | php javascript | [2, 3] |
4,035,501 | 4,035,502 | Javascript triple greater than in PHP | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/3325640/php-shift-right">PHP shift right</a> </p>
</blockquote>
<p>What is the ability to get the same result of javascript's <a href="http://msdn.microsoft.com/en-us/library/342xfs5s%28v=vs.94%29.aspx" rel="nof... | php javascript | [2, 3] |
3,512,386 | 3,512,387 | Jquery modal dialog on all hyperlink clicks in a page | <p>In my project, I have a page where I need to show a modal dialog on the click of all the hyperlinks.</p>
<p>The popup has two buttons Images "Continue" and "GoBack". I wrote some jquery which I found on this Stackoverflow website. But there is a problem with code.</p>
<p>Suppose I have 5 hyperlinks in this page. W... | javascript jquery | [3, 5] |
1,145,291 | 1,145,292 | how to move text on mouse over in jquery? | <p>How to make a link moving to left when mouse over? I want the text move back when mouse out. Is it possible with jquery? Please help.</p>
<p>Thank You</p>
| javascript jquery | [3, 5] |
5,701,944 | 5,701,945 | Enable button after writing file to response | <p>There is many similar questions but there is still no clear answer that is solving the problem taking some action after writing some stream to response.</p>
<p>I have a following situation:</p>
<p>On button click I am generating some excel file that I am going to write to response allowing user to download generat... | c# asp.net | [0, 9] |
4,715,248 | 4,715,249 | Having an issue with jquery functions not working properly | <p>I've been trying to get this little project I'm doing finished, but for some reason it is not properly working.</p>
<p>The issue is when I first visit the page and click the first link that appears in the main section it displays the popup box as wanted. Now when I click another day, for instance sunday and try to ... | javascript jquery | [3, 5] |
818,646 | 818,647 | Workaround for passing parameter to jQuery ready() | <p>I have some code called on jQuery document.ready() which is used in multiple HTML files. Now the difference is each of these HTMLs uses a different div id.
I know one option is to just check for hardcode div ids inside $(document).ready() . But I wanted to write a generic code which would take the div Ids based on ... | javascript jquery | [3, 5] |
190,528 | 190,529 | javascript formatting opinion: ' vs " | <p>In looking up jquery examples, I see that authors tend to go with ' or " to enclose, selectors, for example.</p>
<p>As in:</p>
<p>$('#tags').click ...</p>
<p>or </p>
<p>$("#tags").click</p>
<p>Is this a personal style thing, or is there a reason why one is better than the other?</p>
<p>In my brief experience, ... | javascript jquery | [3, 5] |
5,575,378 | 5,575,379 | Filter items in JavaScript Array using jQuery | <p>I have a JavaScript array as below which I need to filter to get the correct child values from the test data below. </p>
<pre><code>var arrChildOptions2 = [
{Parent:'opt1',Value:'opt1',Text:'Parent1 - Child 1'},
{Parent:'opt2',Value:'opt1',Text:'Parent 2 - Child 1'},
{Parent:'opt2',Value:'o... | javascript jquery | [3, 5] |
2,561,177 | 2,561,178 | table pagination and filtering with javascript and php | <p>Let's say that you have to generate and display a table after querying a database using PHP. The table might have a lot of rows. One must be able to filter the resulting table using different criteria (single or multiple selections), much like an Excel table.</p>
<p>example:</p>
<pre>
+----------------------------... | php javascript | [2, 3] |
5,787,658 | 5,787,659 | Close a dialog in jQuery | <p>I have a calendar in my page which have a <code>more info</code> button.</p>
<p>That button opens when clicked upon but do not close.</p>
<p>How can i close it?</p>
<p>Button:</p>
<pre><code>$('a.cmoreinf').live('click', function() {
$('.ccontent').each(function() {
$(this).css('display','none');
... | javascript jquery | [3, 5] |
2,962,083 | 2,962,084 | I want to make reply control on the Reply button click | <p>I wan to create reply control for the web site in which
if user click on the Reply button then he or she get textbox and button and after clicking on that button the textbox value is insert to the DataBase</p>
<p>I already write one script
the script is like this </p>
<p>
Click me!
</... | c# javascript | [0, 3] |
5,091,816 | 5,091,817 | jQuery.bind() events on plain Javascript objects | <p>Is it ok to bind jQuery events to plain, non-DOM Javascript objects:</p>
<pre><code>var myobject = {};
$(myobject).bind("foobar", function() { alert("daa"); });
$(myobject).trigger("foobar");
</code></pre>
<p>What are the implications for</p>
<ul>
<li><p>Garbage collection (no new references created preventing o... | javascript jquery | [3, 5] |
716,278 | 716,279 | is it possible to show Loader image without setTimeout & ajax request? | <p>Just need to know if it is possible to load a loader without use of SetTimeout and ajax request?</p>
<p>For example:</p>
<pre><code>showLoader() ;
Function_that_process();
hideLoader();
</code></pre>
| javascript jquery | [3, 5] |
703,409 | 703,410 | Getting web page title from setWebViewClient? | <p>i am using webview in my android app.
i want to get title of current page shown in webview.
i am using following code to do that</p>
<pre><code>webView.setWebViewClient(new WebViewClient()
{
public void onPageFinished(WebView view, String url) {
TextView t=(TextView)findViewById... | java android | [1, 4] |
4,065,996 | 4,065,997 | how to refresh a parent page when child window is closed.? | <p>hiii
how to refresh a parent page when child window is closed.</p>
| c# asp.net | [0, 9] |
5,655,788 | 5,655,789 | Whether there is something similar to strip_tags in Java? | <p>We have a function <a href="http://php.net/manual/en/function.strip-tags.php" rel="nofollow"><code>strip_tags</code></a> in PHP which would strip all the tags and also you can exempt certain tags from being stripped out..</p>
<p>My question is whether there is anything similar in Java??</p>
| java android | [1, 4] |
2,964,676 | 2,964,677 | How to show the non-selected options in a select form, after a previous form is submitted | <p>I have a form where im asking for name, surname, phone cellphone and at the end user has to check one or more options in a checkbox and then clicks submit.</p>
<p>After that in the "thank you page" i want to show the exact form but this time to show only the non-checked checkboxes.
Reason for this is that i want to... | php jquery | [2, 5] |
2,546,287 | 2,546,288 | Getting all HTML elements in the DOM where an attribute name starts with some-string | <p>I've stumbled upon a tricky one, that I haven't been able to find any references to (except one here on Stackoverflow, that was written quite inefficiently in Plain Old Javascript - where I would like it written in jQuery).</p>
<p><strong>Problem</strong></p>
<p>I need to retrieve all child-elements where the <str... | javascript jquery | [3, 5] |
3,233,605 | 3,233,606 | dynamic DOM masonry jQuery plugin | <p>I am creating <code>dom</code> elements by parsing <code>tumblr</code>'s json file.<br/>
After the images are loaded, i would like to apply a <a href="http://masonry.desandro.com/docs/intro.html" rel="nofollow">jQuery plugin Masonry</a> to tighten up the image grid.<br/><br/>
Heres my attempt but it doesnt seem to b... | javascript jquery | [3, 5] |
5,921,556 | 5,921,557 | How can i access a js value in post response? | <p>I am making a jquery post request to obtain a part of the html code from server. There is a file on server get_info.php which prints html code for different requirements. I am using following code to do this :</p>
<pre><code>function check(inf_type) {
$.ajax({
type: 'POST',
url: "get_info.php",
... | javascript jquery | [3, 5] |
3,589,678 | 3,589,679 | TimeZone.getAvailableIDs in Android and Java | <p>I am TimeZone.getAvailableIDs for List of TimeZone in android.It is behaving differently in android as compared to Java.</p>
<pre><code> String[] tzone = TimeZone.getAvailableIDs(-3 * 3600 * 1000);;
for (String string : tzone) {
do something
}
</code></pre>
<p>It skiping all those TimeZone which... | java android | [1, 4] |
3,158,516 | 3,158,517 | keep the record of the number of clicks on an external link or internal link on the page | <p>I try to implement the following code:</p>
<pre><code> <a href = "http://www.google.com"/ id="external">go to google</a>
<span id="num1"></span>// to show the number of clicks so far.
<a href = "index.php" id="internal">go to home</a>
<span id="num2"></span>&... | php jquery | [2, 5] |
1,030,351 | 1,030,352 | find next element with conditions | <p>Hierarchical tree: </p>
<pre><code> mouse (depth:0, sequence:0)
* organ system (depth:1, sequence:1)
o visceral organ (depth:2, sequence:2)
urinary system (depth:3, sequence:3)
mesentery (depth:4, sequence:4)
* rest of mesentery (depth:5, sequence:5)... | javascript jquery | [3, 5] |
4,614,152 | 4,614,153 | good book on Jquery and it's compatibility with asp.net | <p>Any recommendations? </p>
<p>I have used Jquery already but I would like to really delve into it and find out how I can use it with asp.net, specifically instead of updatepanel and ajax toolkit.</p>
<p>I use asp.net forms.</p>
| asp.net jquery | [9, 5] |
739,902 | 739,903 | Accessing Dynamic Checkbox control's ClientID inside DataList control's OnItemCreated Event | <h2>ClientID property of Dynamic CheckBox</h2>
<h2>Problem: I need to attach some javascript function for each of checkboxes with uniqueID inside Datalist.</h2>
<p>When I'm trying to access ClientID inside <strong>OnItemCreated</strong> event in the code behind, it always resulting in the same ID which I've specified... | c# asp.net | [0, 9] |
5,266,435 | 5,266,436 | How can I write float value in python that can be read natively in Java? | <p>How can I write float value to file in python so that it can be later read in Java with <code>ObjectInputStream#readFloat</code>?</p>
<p>I need high read performance, so I'd like to avoid parsing the float from String.</p>
| java python | [1, 7] |
2,492,048 | 2,492,049 | Can't transfer list<T> to web service? | <p>I have the same classes on my server and on my web service.
I have the following WebMethod:</p>
<pre><code>[WebMethod]
public int CreateOrder(List<Purchase> p, string username)
{
o.Add(new Order(p,username));
return o.Count;
}
</code></pre>
<p>However the foll... | c# asp.net | [0, 9] |
2,577,215 | 2,577,216 | What is this pattern in javaScript and where can I read more about it | <p>I have codes similar to the following:</p>
<pre><code> (function(MyHelper, $, undefined){
var selectedClass = "selected";
MyHelper.setImageSelector = function(selector) {
var container = $(selector);
setSelected(container, container.find("input:radio:checked"));
container.find("input:radio").hide().c... | javascript jquery | [3, 5] |
2,214,469 | 2,214,470 | Jquery bind click and hover, how to check if click | <p>I have combined function like this(simplified version):</p>
<pre><code>$('label').bind('click hover', function() {
$('label').removeClass("active");
$(this).addClass("active");
});
</code></pre>
<p>How can I add an <code>if</code> to check if it is a click?</p>
| javascript jquery | [3, 5] |
1,690,587 | 1,690,588 | How to get the output of java apps in a php web script? | <p>I have written a Java application that runs from the command line. I want to allow users to access this via a simple PHP web interface - it'll just allow them to specify certain parameters, and then execute the java app and return the output.</p>
<p>For some reason, I'm getting a 'Permission Denied' error message w... | java php | [1, 2] |
5,058,324 | 5,058,325 | javascript form validation - positioning | <p>I have little snippet for validatin' my form. I need help to position the error messages, because now all message appear in the filed, so the user can't see it, and so its very annoying.</p>
<pre><code>$(document).ready(function() {
jQuery.validator.addMethod("lettersonly", function(value, element) {
return... | php javascript jquery | [2, 3, 5] |
3,922,667 | 3,922,668 | How to know if javac compiled cleanly using system() in python | <p>In python, how can I tell if a certain system() call is successful? In the program I am writing I need to know if a java program compiled correctly using javac, which is called using system() (in the python program). So I need to know if javac threw any exceptions, if there were any syntax problems with the java pro... | java python | [1, 7] |
689,444 | 689,445 | Create element using JavaScript and jquery | <p>Suggest a better way to do the following in jquery . also give me the native js code to do it</p>
<pre><code>$('<div id="dialog-confirm" title="'+confirmbox.title+'"><p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>'+confirmbox.message+'</p></di... | javascript jquery | [3, 5] |
5,470,159 | 5,470,160 | Encryption python/ Decryption android | <p>I made 2 codes one in python and the other in android (eclipse) for encryption and decryption.
Now I want to encrypt my data using python and sending it to the android to decrypt it.</p>
<p>How to make two different platforms to encrypt/decrypt the data?!
Each platform has its own way to do the encryption and decry... | android python | [4, 7] |
5,041,015 | 5,041,016 | Get the current radio element index? | <p>when i'm iterating a collection of inputs, how can I get the current radio index if the input is part of a group of radios?</p>
<pre><code>$('input').each(function(){
if($(this).is(':radio')){
// here get the index of the radio in the radio group,
// like 1, 2, 3 etc...
}
});
</code></pre>
<p>The i... | javascript jquery | [3, 5] |
3,946,912 | 3,946,913 | jquery listbox return what user selected | <p>i am using this demo:</p>
<p><a href="http://www.emblematiq.com/lab/niceforms/demo/v20/niceforms.html" rel="nofollow">http://www.emblematiq.com/lab/niceforms/demo/v20/niceforms.html</a></p>
<p>i would like to know which values the user has selected.</p>
<pre><code><select size="4" name="languages[]" id="langua... | c# javascript jquery asp.net | [0, 3, 5, 9] |
2,341,462 | 2,341,463 | How to check whether a JavaScript is active or not via PHP? | <p>Is it possible to do checking and verification of JavaScript state in a browser ?</p>
| php javascript | [2, 3] |
4,418,600 | 4,418,601 | Javascript not firing when expected | <p>I've got a site that is using javascript to resize images to a max width/height. I'm using javascript and not CSS to do this so it is backwards compatible with older browsers. My issue is that in Chrome it seems to not resize the image all the time. Sometimes on the first visit to a page the image is not resized, on... | javascript jquery | [3, 5] |
5,180,233 | 5,180,234 | Best way to write a polling capable application | <p>I'm trying to build a basic application which will have 2 separate components which are:<br>
1. Continually poll an external process and store the results within a DB<br>
2. Grab the results from the DB and display it in a webpage</p>
<p>I'm looking to do this in .Net so I would normally say to do the first com... | c# asp.net | [0, 9] |
3,819,794 | 3,819,795 | How to limit number of checkboxes that can be checked? | <p>I have 4 checkboxes. I want user to select only two of them. How to set that limit?</p>
| java android | [1, 4] |
5,947,033 | 5,947,034 | Run javascript/jquery after text change but before submit | <p>I have an input element on a form along with a submit button.</p>
<p>I want to run the change event on the input element all whenever a change occurs. The problem is if end user changes text and clicks submit button the code in the change event doesn't run.</p>
<p>Immediately after user clicks the submit button, ... | javascript jquery | [3, 5] |
5,287,468 | 5,287,469 | Android SDK and Java | <p>Android SDK Manager complains "WARNING: Java not found in your path".</p>
<p>Instead of using the information from Windows registry, the software tries to search Java in the default installation folders, and fails (I don't install software in program files because I don't like space characters in my paths). Of cou... | java android | [1, 4] |
1,438,863 | 1,438,864 | Wrap a span around all children | <p>I am trying to get the contents of a div and wrap a span around it and append back to the div.</p>
<p>From this:</p>
<pre><code><div>
<a href="#">12</a>
Testing
</div>
</code></pre>
<p>To this:</p>
<pre><code><div>
<span>
<a href="#">Hehhehe</a>
Testing
</span&g... | javascript jquery | [3, 5] |
2,898,879 | 2,898,880 | Can't find the file path which created by myself in android source code | <p>I am testing something.</p>
<p>I created <strong>assets</strong> folder in packages/apps/Camera/ and added the <strong>test.txt</strong> file in the folder.</p>
<p>But when I accessed the file in the <strong>onCreate()</strong> method according the following code fragment, I found I can't get the file.</p>
<pre><... | java android | [1, 4] |
3,494,398 | 3,494,399 | Javascript and Php (MVC) | <p>i'm creating my own MVC Framework.
I have a basic form in my view </p>
<pre><code><form action="?" method="post" >
<input type="hidden" name="envoie" value="envoie" />
<?php dico('INSCRIPTION_NOM'); ?><input id="name" type="text" name="name" /><br />
<?php dico('INSCRIPT... | php javascript jquery | [2, 3, 5] |
2,415,455 | 2,415,456 | Algorithm for determining changes between 2 lists as quicky as possible? | <p>I have Projects.</p>
<p>These projects are downloaded from Site A into my site via an API.</p>
<p>I download all Projects from Site A.</p>
<p>There are matching JSON objects on my side. What is important is I need to do this.</p>
<p>List A (My site) needs to be Synced with List B (Their site).</p>
<p>I have to ... | c# asp.net | [0, 9] |
413,440 | 413,441 | jQuery: why does my live() handler declaration error out when the analogous click() one doesn't? | <p>I have the following in a javascript file (using jQuery as well):</p>
<pre><code>$(function(){
$('#mybutton').live('click',myObject.someMethod);
});
var myObject = {
someMethod: function() { //do stuff }
};
</code></pre>
<p>I get a js error on pageload that says "myObject isn't defined". However, when I ... | javascript jquery | [3, 5] |
120,628 | 120,629 | how can i get the value of hidden field in grid view? | <p>the order number of hidden field in grid view is 7. </p>
<p>when i click the button the line </p>
<pre><code>string sValue = ((HiddenField)GridView1.SelectedRow.Cells[7].FindControl("HiddenField1")).Value;
</code></pre>
<p>gives error which is "Object reference not set to an instance of an object."</p>
<pre><co... | c# asp.net | [0, 9] |
1,406,440 | 1,406,441 | Java Script validation | <p>Am validating a form for empty check.</p>
<p>All fields works fine.</p>
<p>I have a dropdown when i select some value from dropdown some fields will be disabled. onchanging the dropdown value someother fields will be disabled. </p>
<p>Now am struck in validating the fields which are getting disabled and enabled.<... | php javascript | [2, 3] |
348,485 | 348,486 | hide gridview hyperlink in visible property of source rather then code behind | <p>Ive got a gridview with an itemtemplate that has a hyperlink control in it. I want to hide a hyperlink control if its item in the database returned null:</p>
<pre><code> <ItemTemplate>
<asp:HyperLink ID="hlSugar" Visible=<% DataBinder.Eval(Container, "DataItem.CaseID... | c# asp.net | [0, 9] |
2,302,684 | 2,302,685 | Application class not initialising | <p>I have an Application class -it is included in the Manifest. It has onCreate and I have set a break point just inside the onCreate. When I debug (in Eclipse) the breakpoint doesnt trigger although the docs say that the Application class in initiated at startup.
Any ideas?</p>
| java android | [1, 4] |
5,267,149 | 5,267,150 | jquery, change jqueryui dialog box content from a ajax call in the webpage | <p><a href="http://jqueryui.com/" rel="nofollow">jqueryui</a> is used to show a dialog box, then if there is a click the 'dialog_insider' on the dialog box ,not on the flat (correct wording?) webpage , an ajax call will be made. The file in the called through the ajax
html:</p>
<pre><code><div id="dialog" style="... | javascript jquery | [3, 5] |
943,615 | 943,616 | Fill in a textbox when other textbox get filled | <p>I have a form with a few textboxes which are used for calculations.
When I enter a value in one textbox, I want the other textboxes to get filled immediately when a value is entered. I want to use JavaScript for this. How can I do this when my textboxes are server-side?</p>
| javascript asp.net | [3, 9] |
1,823,909 | 1,823,910 | Jquery Operators | <p>I am not sure how to use (OR) operator with JQUERY.</p>
<pre><code>$(document).ready(function(){
$('#selection1')||('#selection2')||('#selection3').click(function(e) {
$('#thecheckbox').removeAttr('disabled');
});
</code></pre>
<p>});</p>
<p>Is it possible with .click functionto use (||) operator, if possibl... | javascript jquery | [3, 5] |
3,827,310 | 3,827,311 | What is the rule behind to divide this html in var tip? | <p>What is the rule behind to divide this html in var tip?</p>
<pre><code> var tip = "<p class='adobe-reader-download'>Most computers
will open PDF documents automatically, but you may need to download
<a title='Link to Adobe website-opens in a new window'";
tip += " href='http://www.adobe.co... | javascript jquery | [3, 5] |
4,546,027 | 4,546,028 | jquery multidimensional | <p>I am cloning the last row in table but i need unique multidimensional name for each input...</p>
<pre><code> <tr>
<td><input type="text" name='input[1][Name]'></input></td>
<td><input type="text" name='input[1][address]'></input></td>
<td><input type... | php jquery | [2, 5] |
1,286,132 | 1,286,133 | Specified page remain selected on page reload | <p>I will post below html and javascript to make things clear... But before I do that, I will explain a bit what I am trying to accomplish.</p>
<p>Basically I want to make some pages to open without page reload. That was successfully done. Now, I cannot find any solution on how to make that page which is clicked, to r... | javascript jquery | [3, 5] |
3,615,661 | 3,615,662 | Android version of code not working like desktop internet browsers | <p>I have website code that I have been testing on android, but when I compare it to the results from the desktop running the same code with the same parameters it shows that it isn't working on the android.</p>
<p>I have looked over the code with the change of results and have a timeframe where things go wrong. The o... | php javascript android | [2, 3, 4] |
2,407,529 | 2,407,530 | Contextualization in ASP.NET C# or Javascript | <p>Wondering if anyone knows of any open source code about contextualization via JS (javascript) or ASP.NET ? That is, contextualization of content - determining "what" content is?</p>
<p>Its an interesting area and I cant seem to find any previous projects on it ?</p>
<p>Really appreciate any help ?</p>
| c# asp.net | [0, 9] |
2,318,288 | 2,318,289 | How to Open a file in the same format in a frame? | <p>We have a web page which has two Frames(Left and Right) .I am displaying all the files in my directory in the Left frame. When a file in the Left frame is clicked,it should open in Right frame.(say we are opening a .doc/.docx file,it should open word ,if its .csv/.xls then it should open Excel in Right frame.) </p... | c# asp.net | [0, 9] |
5,377,978 | 5,377,979 | how to add the value from java into php? | <p>my java function</p>
<pre><code>private void adddataintophp(String title, String date, String time, String channel){
ArrayList<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>();
//http post
try{
nameValuePairs.add(new BasicNameValuePair("Title", title));
nameValu... | java php android | [1, 2, 4] |
1,556,732 | 1,556,733 | JQuery change generated css code using jquery | <p>I am running a script that creates a bunch of css code at runtime.</p>
<p>I can change the code with firebug so I was wandering on how I could change this example css code using jquery?</p>
<pre><code><table cellspacing="0" border="0" style="width: 100% !important; border: 3px solid #333 !important;padding: 1px... | javascript jquery | [3, 5] |
5,701,352 | 5,701,353 | What is the proper way of writing this statement | <p>I want to get a textbox value. In order to reach to the textbox i have written a series of children() function of JQuery which does not seem to be a proper way of achieving what i want here is my statement:</p>
<pre><code>$("#" + lnkBtn.id).parents("#tabContainer_tabInqQuotes_POProcessingInqQuotes1_gvLineDetails_ct... | jquery asp.net | [5, 9] |
630,435 | 630,436 | Learning Java and Python | <p>I've been learning Java for a while now, however, I just found these lessons: <a href="http://www.udacity.com/" rel="nofollow">http://www.udacity.com/</a> . I don't know any Python, but I still want to learn it. however, I've been learning Java for the past month or so, so I'm not sure if I could learn two languages... | java python | [1, 7] |
4,374,452 | 4,374,453 | Prevent event handlers from queuing up | <p>I am using "One" to wire up a click handler.</p>
<p>Jquery's "one" method will wire up an event handler and detach it after it's first invocation, but it seems if you just click fast enough, more than one event handler may be queued up and cause the call back to run more than once. </p>
<p>Ex:</p>
<pre><code>$("#... | javascript jquery asp.net | [3, 5, 9] |
1,002,434 | 1,002,435 | Making button click once | <p>EDIT**</p>
<p>In my game I want my button to disable after one click but for some reason all the ways I have looked at do not work.</p>
<p>Here is what I have at the moment..</p>
<pre><code>$('.minibutton').click(function() {
$(this).attr('disabled','disabled');
$('.minibutton').prop('disabled', false);
$('.pics... | javascript jquery | [3, 5] |
2,134,339 | 2,134,340 | User control with viewstate enabled but placed inside page with viewstate disabled.How can i access? | <p>I have a user control, with viewstate enabled. i am using it on a page with viewstate disabled.How can I access viewsate info?</p>
| c# asp.net | [0, 9] |
2,567,156 | 2,567,157 | Use Javascript to copy Text from Label | <p>Label1 (asp.net control) is located inside Panel1 of my webpage and I have a button called bt. What is the Javascript to copy the Text from Label1 to the clipboard?</p>
<p>Thanks,</p>
<p>@ artlung, I placed the below code just outside of my form but inside the body. The last line of code I placed inside Panel1 o... | asp.net javascript | [9, 3] |
2,815,012 | 2,815,013 | PHP While Loop and jQuery | <p>I have created a while loop that selects random images from from my server and posts it. Now I want to add some jquery code and allow me to click on one of the images and run the slideUp() function in jQuery. Here is my problem. I can click on the first image produced in the while loop but when I click on the second... | php jquery | [2, 5] |
5,832,331 | 5,832,332 | How to find out where the event is prevented from bubbling up? | <p>I have a form and I try to submit it but nothing happens. I can see $('#myform').submit() gets called but then nothing happens. I'm guessing that somewhere the submit event is getting caught 'silenced'. Is there a way for me to find out where this event gets caught? </p>
<p><strong>update</strong> Darin Dimitrov s... | javascript jquery | [3, 5] |
4,096,116 | 4,096,117 | Creating User Control works with AJAX | <p>I need to create a user control with 3 images: like, dislike and comment buttons. I want to like and dislike button to save some info to the database (liked user and liked object). But i want to work them without reloading the page. </p>
<p>Example scenario: </p>
<ul>
<li>Like button shows like count if the post h... | c# asp.net | [0, 9] |
3,440,872 | 3,440,873 | JQuery - Wrap divs in groups of 50 after sorting | <p>I have the following html :</p>
<pre><code><div class="backpack_all"> //wrapper for all on screen content
...
<div class="backpack"> //main content to display
<div class="item1">
<div class="item2">
<div class="item3">
...etc
</code></pre>
<p>I ... | javascript jquery | [3, 5] |
90,923 | 90,924 | get device ip address from service provider ip address | <p>I need get the local machine ip address of my website visited users for that i used below code </p>
<pre><code> string ipAddress = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (!string.IsNullOrEmpty(ipAddress))
{
string[] addresses = ipAddress.Split(',');
... | c# javascript asp.net | [0, 3, 9] |
1,273,518 | 1,273,519 | WSDL to java Conversion for android | <p>Is there any way to convert wsdl to java and same can be used in Android?</p>
<p>Thanks in advance.</p>
<p>--
Ramu</p>
| java android | [1, 4] |
3,746,982 | 3,746,983 | How to copy formatting from the selected text? | <p>Here's one usecase that has been baffling me. When I select some text and paste it in any of Google's applications like docs or notebook, it somehow manages to paste the text with its original formatting and sometimes images itself. Can someone tell me how to do this using javascript/jquery? </p>
<p><strong>Edit:<... | javascript jquery | [3, 5] |
86,484 | 86,485 | Removing the div child in jquery | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/5062916/replace-div-with-another-div">Replace Div with another Div</a> </p>
</blockquote>
<pre><code><div id='test'>
<span></span>
<p></p>
<button></button>
<h1&g... | javascript jquery | [3, 5] |
5,681,449 | 5,681,450 | javascript function that accepts (#id).val() returns wrong value | <p>I have a button with the id="kill".</p>
<p>Here is my JavaScript:</p>
<pre><code>$("#kill").click(function(){
getImage($(this).val());
});
function getImage(code){
var code,
imgstr;
imgstr="mypath/"+code+".png";
return imgstr;
}
</code></pre>
<p>Unfortunately, the wrong value is ge... | javascript jquery | [3, 5] |
4,974,656 | 4,974,657 | How to access the parent page elements of an Iframe | <p>How to access the parent page elements of an Iframe.
e.g. If i have a page index.htm and another page in an IFrame in index.htm and want to access the elements of index.htm from that IFrame.</p>
| asp.net javascript jquery | [9, 3, 5] |
5,523,572 | 5,523,573 | How to check if document is ready? | <p>How to check if document is ready (all js files loaded, DOM is ready) through jQuery?
Is there any flag?</p>
<p>Facing issues if some of the files are not downloaded completely, and the event is raised by user. I want to check inside event handler.</p>
<p>I am using jQuery, asp.net</p>
| asp.net jquery | [9, 5] |
5,528,079 | 5,528,080 | Find grid control inside grid without its rowbound event | <p>I have a grid of list of companies & below its branches(subgrid within company grid). I have checkbox for each binding with their id's(Companyid & branchid).I have one button to add those selcted values from either company or branch & show all selected record in another grid.Add button is outside of grid... | c# asp.net | [0, 9] |
969,131 | 969,132 | getElementById is not working in asp.net | <p>In my application i just want to alert the value in the text box using javascript .</p>
<p>aspx page code</p>
<pre><code><%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xh... | javascript asp.net | [3, 9] |
5,929,404 | 5,929,405 | Javascript.. problem with value by reference possibly | <p>The problem here is that page at alert has the final value of i.. any solution to this?</p>
<pre><code> for(var i=start;i<=end;i++)
{
num=pageNumber.clone();
num.click(function(event)
{
event.preventDefault();
v... | javascript jquery | [3, 5] |
3,152,974 | 3,152,975 | jQuery not register $ | <p>I am using prototype + jquery on a site. Now the prototype plugins use $. I do not want jQuery to use $. How do I make jQuery not register the $. Also, how do I then call jQuery functions. </p>
<p>Thank you for your time.</p>
| javascript jquery | [3, 5] |
631,315 | 631,316 | Android TextBox | <p>I want to return the value of latitude and longitude into my textboxes, I ve been able to do it using a Toast but not achieved it through the textbox. Kindly help</p>
<pre><code> // EditText latEditText = (EditText)findViewById(R.id.lat);
//EditText lngEditText = (EditText)findViewById(R.id.lng);
protected v... | java android | [1, 4] |
2,587,781 | 2,587,782 | Really need guidance for an Android app, How should i make my app structure? | <p>I'm making an Android App for searching data from webservice. My App will show a location on google map where I use my App for searching the data, the searching result and google map will appear on Main screen of my App. Also both of them will be saved on database and user can see on History screen on my App. </p>
... | java android | [1, 4] |
5,593,582 | 5,593,583 | undo / go back in history with jQuery | <p>I'm working on a customizations website completely on jQuery (I'm completely new to coding and because that's the only coding I know as of now). Here is the link to the project I'm working on for a friend <a href="http://hybridimaginations.com/lambada/test.html" rel="nofollow">here is the link to it</a>. I want to g... | javascript jquery | [3, 5] |
736,553 | 736,554 | How do I use jQuery timeago to live update? | <p>I have a value <code>011-04-29T14:55:33.000Z</code> this value gets push into a jQuery template. I used timeago to convert the date to elapsed time but after being written to the template it has no way of updating as more time passes. </p>
<p>How would I implement something that would automatically update?</p>
| javascript jquery | [3, 5] |
3,219,933 | 3,219,934 | using php to check is a javascript file has been loaded? | <p>Can I use a script to check if a JS file is loaded? </p>
<p>I have a function, which places a form on a page with javascript controls. I don't know where the user will use this form, and it might be loaded several times into a page. It strikes me as the best way to handle things if the form itself loads the script... | php javascript | [2, 3] |
9,102 | 9,103 | make refresh without refreshing the all page | <p>I made 2 dropdownlists which are filled from my database. In the first drop are countries and in the second are cities. When a user selects a country automatically in the second drop down appears all the cities from that country. The problem is that when I select another country all the page is refreshing and I want... | php javascript | [2, 3] |
4,120,597 | 4,120,598 | Persist Textbox in cookie/session automaticly | <p>I am attempting to persist what the users enters into a textbox without them clicking save. It would simply save what the user entered into the textbox so when they navigate away and then back to the page it will be reloaded. once they are click "done" the session will be removed.</p>
<p>I have been trying to do th... | c# jquery | [0, 5] |
4,370,575 | 4,370,576 | Jumping to external url from gridview template field | <p>I need to jump from existing location to some other location. Like if my application is running on localhost, and i want to jump to Youtube.
Scenario:</p>
<p>I have a grid in which template field is asp:hyperlink. I need to add a image and on on that image click, i will get moved to youtube.</p>
<pre><code><a i... | c# asp.net | [0, 9] |
2,199,159 | 2,199,160 | Can't access value of checkbox on button click c# | <p>I am binding data to a gridview in Page_Load and then in the same Page_Load I am adding a column of check boxes which are not part of the databinding.</p>
<p>Then when a button is pressed I want to check to see if any of the boxes are checked. However, when I look for the checkboxes in my button_click method the c... | c# asp.net | [0, 9] |
3,631,314 | 3,631,315 | Javascript - Regx to check for characters | <p>All,</p>
<p>I am looking for a JavaScript function that checks for the following characters (without commas) in a string. If they are present, it would return false, else returns true</p>
<pre><code><,>,(,),#,"",',:,::
</code></pre>
<p>Thanks</p>
| javascript jquery | [3, 5] |
5,134,019 | 5,134,020 | How to open a new window not in the same new window? | <p>How to open a new window not in the same new window?</p>
<p>The following code can open a new window However after pressing button again
the content will be replaced. How to open the next or next next content in a new window not in the same new window</p>
<pre><code>string strPop = "<script language='javascript... | c# javascript | [0, 3] |
2,677,574 | 2,677,575 | disable a textbox editor if it has a value | <p>I am trying to stop a user from editing a textbox if the text box has value coming from database. </p>
<p>If text box value is null, I want to allow editing the text box.</p>
| c# asp.net | [0, 9] |
1,121,630 | 1,121,631 | Ajax calendar and dropdownlist display issue | <p>I have a ajax calender extender and dropdown placed just below it, problem is in IE whenever calendar control pops up it pops up beneath drop drown. I tried z-index but doesnot works</p>
| c# asp.net | [0, 9] |
5,136,175 | 5,136,176 | Why can I use == in JavaScript but not in Java? | <p>I have two string in Java: </p>
<pre><code>String a = "ab";
String b = "ab";
</code></pre>
<p>And I test them with the <code>string.equals()</code> method because the <code>==</code> operator only checks whether the references to the objects are equal.</p>
<p>Why can I use <code>==</code> in JavaScript?</p>
| java javascript | [1, 3] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.