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,388,607 | 4,388,608 | Can I do Android Programming in C++ ,C | <p>Can I do Android Programming in C++ ,C ?
If ( answer == "yes" )
{
then please tell how ? and whats the procedure for set-up ?
( i donot know obj-c ,java ) but well versed in C,C++ ,FLASH AS3
SDK released by google</p>
<p>please do not tell about NVDIA SDK its not fully developed :)
}</p>
| c++ android | [6, 4] |
5,505,212 | 5,505,213 | Can I put a <span> tag in the Text property of an ASP:Button? | <p>I am trying to do something like this:</p>
<pre><code><asp:Button ID="btnSearch"
runat="server"
CssClass="greybtn"
Text='<span>Search</span>'
OnClick="btnSearch_Click" />
</code></pre>
<p>It displays <code><span>Search</span></code> i... | c# asp.net | [0, 9] |
1,572,424 | 1,572,425 | Can I pass $(this) to the .getJSON callback function? any workaround? | <p>I tried to get the value of rel on each li and pass it to the .getJSON function. I then want to add the thumbnail_url value from the callback to the image tag of the li descendants . My question is how could I pass the $(this) object to the callback function. It seems the $(this) is null.</p>
<pre><code>$('ul.sampl... | javascript jquery | [3, 5] |
5,468,774 | 5,468,775 | Click Event for Dynamically Generate Linkbutton | <p>i created a simple registration page which have fields Name,Username and Password.. actually am checking the username with database whether that username already had or not...</p>
<p><img src="http://i.stack.imgur.com/ExBqE.png" alt="enter image description here"></p>
<p>suppose if that username already taken,then... | c# asp.net | [0, 9] |
5,263,269 | 5,263,270 | Making a redistributable component or library for Android | <p>I'm just starting out on Android and Java programming, coming in from a C++ background. I was wondering - whats the best way to go about making a library/UI widget/component that I can license to third-party developers? </p>
<p>In C++ I'd ship the customers my headers and *.a files, but I don't know the equivalent ... | java android | [1, 4] |
1,041,202 | 1,041,203 | Server, what do I need exactly? | <p>when people talk about having a server that receives request ( say to update tickets in DB, or fetch tickets..etc), what kind of server are we talking here? Is it just a webserver (say from host gator) and couple of PHP scripts handling requests or are we talking about specific kind of server (different than web hos... | java android | [1, 4] |
4,573,796 | 4,573,797 | checkboxlist select only one item | <p>I am trying to select only one checkbox from the list. Here is the code I am trying but it doesn't seem to be working. I can use RadioButtonlist but it doesn't allow me to deselect the radio button. Please let me know.</p>
<pre><code>$(document).ready(function () {
var checkboxlistid = "#<%= chkLst.ClientID %&g... | jquery asp.net | [5, 9] |
695,152 | 695,153 | Read realtime output of a command | <p>How can I read real-time output of a shell command from Java</p>
<p>This is what I have so far but it prints after command has been executed:</p>
<pre><code>try {
proc = Runtime.getRuntime().exec("du -d 1 /sdcard/");
InputStream inputStream = proc.getInputStream();
InputStreamReader inputStreamReader ... | java android | [1, 4] |
1,828,559 | 1,828,560 | Asp.net login script | <p>i'm new to asp.net, i'm writing a login & registration script for learning database application. But the script seems not work. it stills can add duplicated username. Here is the script</p>
<pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using... | c# asp.net | [0, 9] |
5,423,713 | 5,423,714 | a jQuery image-group animation | <p>I've got a div with three same images.</p>
<pre><code><div>
<img class="movlights" src="files/images/movelights.png" alt="10 years logo" />
<img class="movlights sec" src="files/images/movelights.png" alt="10 years logo" />
<img class="movlights third" src="files/images/movelights.p... | javascript jquery | [3, 5] |
3,366,013 | 3,366,014 | show only Error message of asp validators by javascript | <p>i trying to pop up only error message's for validation's control not text.
The code which i tried is showing null for error message's. </p>
<pre><code>function fnOnUpdateValidators() {
for (var i = 0; i < Page_Validators.length; i++) {
var val = Page_Validators[i];
va... | javascript asp.net | [3, 9] |
4,756,740 | 4,756,741 | Making all links inside of a div call the same function? | <p>I'm trying to make a notification area that will show alerts.</p>
<pre><code>return this.each(function() {
jQuery('<div class="' + o['className'] + '">' + o.msg + ' +
'<a href="#" onclick="$(this).parent().remove(); dismiss(' + o["id"] + ');">X</a>' + '</div>')
.appendTo(this)... | javascript jquery | [3, 5] |
5,754,725 | 5,754,726 | How can I alter the `href` attribute of an anchor using jQuery | <p>I have a link:</p>
<pre><code><a href="">MyLink</a>
</code></pre>
<p>What I need to do with jQuery to edit the <code>href</code> attribute?</p>
| javascript jquery | [3, 5] |
1,945,278 | 1,945,279 | How to get website name from domain name in c# | <p>I want a function in c# that will do the following:</p>
<p>input: string domain="google.com"</p>
<p>output: string name="Google"</p>
<p>and also to work on .co.uk (multiple dots domains)</p>
| c# asp.net | [0, 9] |
1,500,409 | 1,500,410 | jQuery ajax return data empty in IE | <p>I'm using ajax to get some data then based on the data use html() to put it on the page.</p>
<p>In IE, the data returned is empty (it's html). It still triggers the success function, but the html is not there. I've set the dataType: "text" but still doesn't work.</p>
<p>Any ideas?</p>
<p>Thanks!</p>
<p>EDIT:</... | javascript jquery | [3, 5] |
5,312,252 | 5,312,253 | identify object property by placement in object | <p>How do you identify an object by its place in the object.</p>
<pre><code>myObj.b = 2
</code></pre>
<p>can I go somethiong like <code>myObj[1] to show 2 also</code>?</p>
<pre><code>var myObj = {
a: 1,
b: 2,
c: 3,
d: 4,
e: 5,
f: 6
}
</code></pre>
| javascript jquery | [3, 5] |
4,779,174 | 4,779,175 | jquery detect coordinate of top of page after scrolling | <p>I have a 'back button' that I would like to stick to the header until you scroll past a certain point (so I have it absolutely positioned but would like it positioned 'fixed' when you scroll past the header).</p>
<p>Kinda like the 'GAMEHQ' section does here: <a href="http://scores.espn.go.com/mlb/preview?gameId=311... | javascript jquery | [3, 5] |
973,981 | 973,982 | image fade on hover + make image clickable | <p>I'd like it so when I hover over the image, the entire image becomes a link rather than just the text inside. Can someone help me with this?</p>
<p>Javascript:</p>
<pre><code>$('.thumbnail').hover(function() {
$('.thumbnail img').stop(true,true).fadeTo(400, 0.2);
$('.description').stop(true,true).fadeIn(40... | javascript jquery | [3, 5] |
2,598,905 | 2,598,906 | IE 7 jquery bind and $(this) | <p>I have treeview script and part of it looks like :</p>
<pre><code>root.find("." + classControl).each(function () {
$(this).bind('click', function () {
if ($(this).text() == "-") {
$(this).text("+");
}
else {
$(this).text("-");
}
$(this).parentsUnti... | javascript jquery | [3, 5] |
660,947 | 660,948 | Looking to download a series of files from a remote server, asynchronously, with callbacks | <p>Basically, there is a script on my local network that generates a file. I want to be able to make multiple calls to this script at the same time with different variables and present notification to the user when each particular file is ready. I've tried doing it in Javascript, jQuery and PHP, but not having much l... | php javascript jquery | [2, 3, 5] |
1,157,944 | 1,157,945 | How do I rearrange the order of a list on a web page based on the current day? | <p>I'm working on a web site for a restaurant and the Daily Specials list takes up too much vertical space. Each <code><li></code> consists of the day of the week, name of the special, and a description.</p>
<p>I'd like to encapsulate the list using <a href="http://jscrollpane.kelvinluck.com/basic.html" rel="no... | php javascript jquery | [2, 3, 5] |
419,317 | 419,318 | Using Jquery .ajax method how can i read the query parameter and hit the web method and get the result in json on page load + asp.net? | <p>I am using Asp.net with jquery I wanted to display information for a specific product that is getting from the query string so my question is</p>
<p><strong>How can i get the query string through jquery and hit the Web method and get the result in json and display that result on my page on page load.</strong></p>
... | asp.net jquery | [9, 5] |
3,951,868 | 3,951,869 | JavaScript not detecting change | <p>I am sure this is easy but I've looked all over with no luck. I have written a paging jQuery script that animates a list on my page. I have next and previous buttons which I am showing/hiding depending on where you are in the list however it doesnt pick up the position change the first time. Here is my code in jsFid... | javascript jquery | [3, 5] |
5,131,968 | 5,131,969 | How to separate PHP code and Javascript code | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1316203/how-can-i-separate-javascript-from-php-when-the-js-needs-a-php-variable">How can I separate javascript from PHP when the JS needs a PHP variable?</a><br>
<a href="http://stackoverflow.com/questions/1373433... | php javascript | [2, 3] |
5,661,312 | 5,661,313 | How can I get call on Emulator? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/6502242/where-i-can-see-the-log-if-i-have-installed-application-on-phone">Where I can see the Log, If I have installed application on Phone?</a> </p>
</blockquote>
<p>My installed application on phone is getting... | java android | [1, 4] |
4,567,241 | 4,567,242 | how to response.write bytearray? | <p>This is not working:</p>
<pre><code>byte[] tgtBytes = ...
Response.Write(tgtBytes);
</code></pre>
| c# asp.net | [0, 9] |
2,160,989 | 2,160,990 | How do you debug a single ASPX file? | <p>How do you debug a single ASPX file?</p>
<p>I am somewhat new to ASPX files, but I am not new to C#.</p>
<p>I figured that all asp.net c# projects were run on the server as compiled code. And so there was some sort of binary file somewhere somehow or maybe a XAP file like they have with silverlight.</p>
<p>But i... | c# asp.net | [0, 9] |
5,316,804 | 5,316,805 | Error in JavaScript when implementing input field shadow | <p>I want to implement a shadow into an input field. This is the JavaScript code that I am using:</p>
<pre><code><!-- input field shadow -->
var placeholder = "test field"
$("input").on({
focus: function() {
if (this.value == placeholder) {
$(this).val("").removeClass("shadow");
... | javascript jquery | [3, 5] |
210,550 | 210,551 | jQuery .index() in javascript | <p>As per the jQuery api, the complementary operation to .get(), which accepts an index and returns a DOM node, <code>.index()</code> can take a DOM node and returns an index. Suppose we have a simple unordered list on the page:</p>
<pre><code><ul>
<li id="foo">foo</li>
<li id="bar">bar<... | javascript jquery | [3, 5] |
510,414 | 510,415 | Converting a string of JS Array to PHP array | <p>I have a string (in PHP) representing a JS array, and for testing purpose would like to convert it to a PHP array to feed them into a unit test. Here's an example string</p>
<pre><code>{ name: 'unique_name',fof: -1,range: '1',aoe: ',0,0,fp: '99,desc: 'testing ability,image: 'dummy.jpg'}
</code></pre>
<p>I could us... | php javascript | [2, 3] |
1,235,466 | 1,235,467 | Getting total for a column in ListView | <p>I need to get a sum for all items in a column within a listview. I put in the following code in the itemdatabound event, but realized after testing it that it will only be getting what is bound, oops.</p>
<p>So I was looking for a little help converting this to show a total for my column from all items bound to the... | c# asp.net | [0, 9] |
2,270,291 | 2,270,292 | How to fire alert once for each new space found in text String? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/302122/jquery-event-keypress-which-key-was-pressed">jQuery Event Keypress: Which key was pressed?</a> </p>
</blockquote>
<p>I'm using below code to fire an alert every time a new space char is encountered as a u... | javascript jquery | [3, 5] |
1,713,883 | 1,713,884 | how to fetch userID | <p>how do I fetch a user ID that is associated with the email address entered by the user in the text box?</p>
| c# asp.net | [0, 9] |
2,641,681 | 2,641,682 | Byte type is wierd | <p>I need to send some bytes over UDP Protocol the start squence is 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF</p>
<p>When I define like this:</p>
<pre><code>byte [] begin = {0xFF,0xFF,0xFF,0xFF,0xFF,0xFF};
</code></pre>
<p>I get an error saying I need to cast those to byte type. Far as I know 0xFF doesn't exced the byte type s... | java android | [1, 4] |
842,946 | 842,947 | How to get the dynamically created text box value in jsp using jquery javascript | <p>I am using code in Javascript like below:</p>
<pre><code>newTextBoxDiv.html('<td border="2">'+number+'</td>'
+'<td>'+grouptext+'</td>'
+'<td style="display:none">'+groupVal+'</td>'+'<td>'+itemText+'</td>'
+'<td style="display:none">'+itemId+'</td>'+'<td... | javascript jquery | [3, 5] |
5,318,780 | 5,318,781 | Pulling HTML value through jQuery | <p>I have these data-attributes</p>
<pre><code><li data-audio="" data-pic="images/one.png" data-word="one" data-hint="What?"></li>
</code></pre>
<p>I pull them through using this function</p>
<pre><code>$(wordsData).each(function () {
var elm = $(this);
listOfWords.push({
"name": elm.data... | javascript jquery | [3, 5] |
4,978,259 | 4,978,260 | Click function inside for loop | <p>I am trying to loop my .hide() and .show() click handlers and I can't get this simple part to work correctly. My buttons are called "#towelcome" etc. I'm assuminig I'm missing something stupid and obvious. All of the divs are hidden in css. </p>
<pre><code>var elements = ["welcome", "slides", "projects", "pages"];
... | javascript jquery | [3, 5] |
1,731,930 | 1,731,931 | ASP.NET parent page update with JavaScript? | <p>here is my problem:
I have a ASP.NET appl. In the appl, there is a page (page A) that brings up a second page (page B) Page b is a simple form that fills a dataGrid that is located in Page A. I have tryed many approaches (IDisposable, creating methods for it...) but it does not give me the correct functioning. I hav... | asp.net javascript | [9, 3] |
3,164,296 | 3,164,297 | Copying a parent element to be displayed in a modal box | <p>I have a link which I want to display a modal dialog box, containing a headline and a copy of the parent element of the clicked link.</p>
<pre><code>$('#link').live('click',function(){
container = $(this).parents(".container")[0];
message = $("<h2>You clicked on this.</h2>" + container);
mes... | javascript jquery | [3, 5] |
597,818 | 597,819 | ASP.Net, populate grid record by record | <p>I have a GridView on the page and some search option on top of the page and a search button,
When user click Search button, get first record and bind the grid and show to the user.
Now start getting remaining records (5 at a time) and add to the grid until entire search result.
Is that possible with asp.net and jQue... | jquery asp.net | [5, 9] |
1,094,308 | 1,094,309 | What is the difference between focusin/focusout vs focus/blur in jQuery? | <p>I was handling some events using the following code with <a href="http://code.jquery.com/jquery-1.7.2.js" rel="nofollow">jQuery 1.7.2</a>:</p>
<pre><code>$().on('focus blur', function(event) {
console.log(event.type);
});
</code></pre>
<p>And I have noticed that <code>event.type</code> for both events, prints ou... | javascript jquery | [3, 5] |
732,561 | 732,562 | Disabling the radio button with jQuery | <p>I have a group of radio buttons with same <code>name</code> and some of which may be disabled. I don't want the user to check or uncheck the disabled radio buttons . Obviously this means that if the checked radio button in the group is disabled the user cannot change the selection.</p>
<p>i wrote the following code... | javascript jquery | [3, 5] |
955,250 | 955,251 | Java Android - Casting Parent to Child to Child | <p><strong>Update:</strong>
I was being stupid thinking its different in this case. You can't cast a Parent to a Child full stop ;)</p>
<hr>
<p>I'm going mad.</p>
<p>I have a class:</p>
<pre><code>public class ActivityMonitorItemView Extends LinearLayout
</code></pre>
<p>Now I'm using a LayoutInflator to return a ... | java android | [1, 4] |
4,463,343 | 4,463,344 | Why do they use references instead of jQuery objects? | <p>In <a href="http://www.switchonthecode.com/tutorials/how-to-build-a-star-ratings-jquery-plugin" rel="nofollow">this</a> tutorial, they use containerElement.rating and starElement.rating for storing rating.</p>
<p>The question is : Why?? is it possible to use jQuery objects container and star like</p>
<p>container.... | javascript jquery | [3, 5] |
1,566,126 | 1,566,127 | jQuery: value.attr is not a function | <p>I have this snipped in my page:</p>
<pre><code>$('#category_sorting_form_save').click(function(){
var elements = $("#category_sorting_elements > div");
$.each(elements, function(key, value) {
console.info(key," : ",value);
console.info("cat_id: ",value.attr('cat_id'));
});
});
</code>... | javascript jquery | [3, 5] |
2,653,939 | 2,653,940 | Using jQuery to bind a click to the unused part of a page | <p>I'm stuck trying to bind a click redirect to the body tag on a page where there's not already another div. I have a typical header, container and footer layout but I want to place a site skin in the background for users to click on to register. </p>
<p>Here's what I have so far to target the body element:</p>
<p... | javascript jquery | [3, 5] |
5,122,500 | 5,122,501 | Pikachoose gallery Fancybox: if I want fancy box on only one image | <p>I am using Pikachoose image gallery. And I want to open a fancybox on one image in which I want to show a youtube video. I have already used this code</p>
<pre><code>$(document).ready(function (){
var a = function(self){
self.anchor.fancybox();
};
$("#pikame").PikaChoose({buildFinished:a});
});
<... | php jquery | [2, 5] |
3,888,836 | 3,888,837 | Javascript widget inspired by iPhone UITableView? | <p>Cocoa Touch's UITableView allows a user to scroll through large numbers of data rows with good performance because it recycles table rows. Rather than create a GUI element for every single data row, a limited number of table rows is created, and simply updated with the relevant data as the user scrolls, giving the i... | javascript iphone | [3, 8] |
2,378,516 | 2,378,517 | Check if there are more elements to come in $.each() | <p>I am using the <code>$.each()</code> method of jQuery to loop over a couple of objects. Is there a way to find out if there are more objects to come in the <code>$.each()</code> method?</p>
<p>Something like:</p>
<pre><code>$.each(data, function(o, myObject) {
if(data.hasMoreObjects) {
// append someth... | javascript jquery | [3, 5] |
5,933,220 | 5,933,221 | Calculating time difference with start time and elapsed time | <pre><code>public static final long TIMEOUT = 60000;
public static final long SYSTEM_TIME = System.currentTimeMillis();
</code></pre>
<p>I have the TIMEOUT Value for my application set as 60000 and i have my system time. Now how would i know that <code>50 seconds</code> has been elapsed and i need to show a message to... | java android | [1, 4] |
3,096,801 | 3,096,802 | Adding OutPutCache to Control Definition Alters its Class ...? | <p>I'm working on a web app (CMS) that loads controls dynamically into a holder page. Using .Net version 3.5.</p>
<p>All my controls inherit from a custom base class.</p>
<p>So at runtime I have a bit of code that does something like this:</p>
<pre><code>Sarx.cms.BaseControl bctl = (Sarx.cms.BaseControl)LoadControl(... | c# asp.net | [0, 9] |
4,654,662 | 4,654,663 | Trying to save the status of radio groups according to a select radio button | <p>I am working on a project where I have many radio buttons in several radio groups. What I would like to do is save the configuration of all the radio groups in accordance to a specific button in the first radio group. For example the first radio group is called select and I have 4 different select radio buttons. Whe... | java android | [1, 4] |
5,929,619 | 5,929,620 | Wrap a mixed set of text nodes and HTML elements with JavaScript / jQuery | <p>I have this HTML</p>
<pre><code><div class="box">
<a href="#goals"> | <a href="#rules"> | <a href="#controls">
<p><a name="goals"></a></p>
<h2>Goals</h2>
... yada yada
</code></pre>
<p>and want it like this.</p>
<pre><code><div id="nav... | javascript jquery | [3, 5] |
2,543,713 | 2,543,714 | ComboBox object not accessible by me | <p>This is probably easy to solve, but the following cannot be done:</p>
<pre><code>protected void gSelectApplied(object sender, EventArgs e)
{
ComboBox box = (ComboBox)sender;
}
</code></pre>
<p>Because the ComboBox object is not present in the imported libraries. I went ahead an looked at the Microsoft documen... | c# asp.net | [0, 9] |
2,848,095 | 2,848,096 | Thread.sleep in Canvas | <p>I am not able to display the rectangles after a certain delay in code.
Here is what I am doing</p>
<p>DashPathEffect dashPath =new DashPathEffect(new float[]{1,0}, 1);</p>
<pre><code> paint.setPathEffect(dashPath);
paint.setStrokeWidth(300);
final int size =300;
</code></pre>
<p>canvas.dr... | java android | [1, 4] |
3,086,311 | 3,086,312 | Empty $_POST without Content-type | <p>If I make a POST request where the content-type is not set in the request header, the variable $_POST remains empty.</p>
<p>Question: How can I force PHP to fill $_POST?</p>
<p>I encountered the problem making an Javascript AJAX request using <a href="http://msdn.microsoft.com/en-us/library/cc288060%28v=vs.85%29.a... | php javascript | [2, 3] |
5,567,466 | 5,567,467 | Don't want to submit form elements that I hide by hiding parent li | <p>I have form inputs placed in li element, and am hiding some of them by clicking a button. They get submitted even though they are hidden, so I was wondering what the alternative way would be to hide these element in a way that they will not be submitted?</p>
| javascript jquery | [3, 5] |
5,572,572 | 5,572,573 | Confirmation prompt before PHP execution | <p>I've build a decent CMS for my website. It allows me to manage the entire content, as well as delete an article. I just want to make some kind of Javascript(any other suggestions are most welcome) stop and ask function. When someone clicks delete(my employees are going to use the CMS in the very near future) show a ... | php javascript | [2, 3] |
2,348,488 | 2,348,489 | Suggesstion for executing a PHP image treatment script | <p>I have a <a href="http://pastebin.com/f70e3ccf7" rel="nofollow">PHP script</a> that has as input a target image and an image dir to make a treatment.
Wanting to make an Android app, i have thinked about this two ideas:
1- Choose the images in the Android device and send them to the server, the server will make treat... | php android | [2, 4] |
4,100,582 | 4,100,583 | how to properly append div at run time? | <p>Hello im trying to wrap a div with another div by using jquery append and im having one hell of a time.
here is my div</p>
<pre><code><div id ="one" class="PortalBox" data-title="Concur">
<div class = "localContent">
FGDDDDDDDDDfdgdfffffffff
dfgggggggggggggggggggggggggg
dfggggggggggggg... | javascript jquery | [3, 5] |
2,903,328 | 2,903,329 | ASP.Net get an error when trying to adjust css in code behind | <p>I have this code in my code behind:</p>
<pre><code>if (Request.QueryString["category"] == "9")
{
HtmlControl downloadableProducts = (HtmlControl)Page.FindControl("downloadableProducts");
downloadableProducts.Style.Add("display", "none");
}
</code></pre>
<p>It is generating the following error:</p>
<p>Syst... | c# asp.net | [0, 9] |
2,791,734 | 2,791,735 | Load Javascript for a widget Worpress | <p>I want to load a special Javascript File just when the widget is loaded in the sidebar. Where do I have to put my <code>wp_enqueue_script(...)</code> lines?</p>
<pre><code>class controller_widget extends WP_Widget {
function controller_widget() {
$this->color = "red";
$this->dir = plugin_... | php javascript | [2, 3] |
1,779,283 | 1,779,284 | can we create instance of class by using USE Keyword | <p>We use keyword to refer the namespaces and class</p>
<p>can we create instance of class by using USE Keyword </p>
<p>i need to access method in that class.</p>
<p>Like eg:- using (new class) if any other ways please let me know. </p>
| c# asp.net | [0, 9] |
3,294,842 | 3,294,843 | How to get recently inserted row index in Datalist | <p>Is there a way to get the index of the most recently inserted record that was bound to a datalist? My datalist is sorted, so my record is not the last one. I am trying to highlight the record that just got inserted, so I need to know where it is in the datalist.</p>
<p>This is in ASP .NET C#.</p>
<p>edit: I sho... | c# asp.net | [0, 9] |
3,381,252 | 3,381,253 | Validate DropDownList if checkbox checked | <p>ASP.NET3.5 Webforms. Am trying to put a validator on the drop down list, only if the checkbox is checked.</p>
<p>This doesn't work. If I put an alert in the onclick event, it does show.</p>
<pre><code><script language="javascript" type="text/javascript">
function setVal(sender) {
var myVal = doc... | javascript asp.net | [3, 9] |
87,830 | 87,831 | javascript getting client ip | <p>Hi I found how to get client ip by answer here:
<a href="http://stackoverflow.com/questions/102605/can-i-lookup-the-ip-address-of-a-hostname-from-javascript">http://stackoverflow.com/questions/102605/can-i-lookup-the-ip-address-of-a-hostname-from-javascript</a></p>
<p>But I don't understand how to use it. </p>
<p>... | javascript jquery | [3, 5] |
5,587,592 | 5,587,593 | Update select list while open using JQuery | <p>I encounter a situation where I have to update the content of select list while it is open. For the moment, to see the changes made, the user has to click again on the select list.</p>
<p>To change the content, I use the method .html() of the select list that I want to apply the changes.</p>
<p>To put you in the c... | javascript jquery | [3, 5] |
4,787,128 | 4,787,129 | Jquery - How to get the selector of a plugin call? | <p>Being a Noob at Jquery, I'll ask a noob question.
How do you get the selector of a plugin call inside the plugin?</p>
<p>For example:</p>
<pre><code>$('.greatClassName').greatPlugin();
</code></pre>
<p><strong>From <code>greatPlugin()</code>, how can I get <code>'.greatClassName'</code>?</strong></p>
<p>Thanks i... | javascript jquery | [3, 5] |
59,196 | 59,197 | Php variable to JavaScript | <p>How to add the value of php variabele to jquery variable and adds them,i have a form that will take a value and post to second page where second page contains a div panel where the form checkboxes values are adding and subtracting,basically i want to add the submitted value from page1 to page2.Here is the code.I ha... | php javascript jquery | [2, 3, 5] |
5,895,400 | 5,895,401 | setText of a TextView array | <p>What I'm trying to do is have an EditText where people enter their names. As people press the "Add Player" button, the name which they just typed appears below in the list form. So I've created 8 textviews which are initially invisible but as people type the name press the "Add Player" button, the text changes to th... | java android | [1, 4] |
5,624,193 | 5,624,194 | JSCocoa and the iPhone | <p>Now I have a stack of free time on my hands, I wanna get into iphone dev fo real.</p>
<p>But Objective C scares me (a bit). It feels I'm going a bit back in time. I say this because I've spent the last 8 months coding in C++.</p>
<p><a href="http://inexdo.com/JSCocoa" rel="nofollow">JSCocoa</a> looks awesome, but ... | javascript iphone | [3, 8] |
2,874,319 | 2,874,320 | Refresh button for an iframe jquery or javascript | <p>Hello i have a problem. I have a page in which i have inside an iframe. In the parent page (not in the iframe), i want to build the browser buttons back, fw, refresh and home page.
The back, fw, home page buttons are almost ok. The refresh button doesnt work.
The code is below:</p>
<pre><code><a href="javascrip... | javascript jquery | [3, 5] |
354,476 | 354,477 | Unexpected token ) fault JS code cant find the error? | <p>I keep receiving the error <strong>unexpected token ")"</strong> in the following code. Can anyone tell me what is wrong with my code?</p>
<pre><code>function postFrom()
{
/* contactform */
$.post('/contact_owner/send/', {
customer_name: $('[name="customer_name"]').val(),
customer_phone: $('[name="customer_phone... | javascript jquery | [3, 5] |
4,682,358 | 4,682,359 | Checking for length of ul and removing an li element | <p>I am trying to remove the last <code><li></code> element from a <code><ul></code> element only if it exceeds a particular length. For this, I am doing something like this:</p>
<pre><code>var selector = "#ulelement"
if($(selector).children().length > threshold) {
$(selector + " >:last").remove()... | javascript jquery | [3, 5] |
5,794,659 | 5,794,660 | Unable to return data from $.post to display using jquery? | <p>My html content look like this:</p>
<pre><code> <table>
<tr>
<th>Log1 Column</th>
<th>Log2 Column</th>
<th>Log3 Column</th>
</tr>
... | javascript jquery | [3, 5] |
3,402,504 | 3,402,505 | JQuery .attr("title") undefined | <p><strong>Solved</strong> but the answer that contained a key debugging suggestion was deleted by author. Consider case closed.</p>
<p>This should be really simple, but for some reason I just cannot figure it out. I need to get the value of a div's title attribute, and the JQeury code I have is:</p>
<pre><code>var n... | javascript jquery | [3, 5] |
3,352,554 | 3,352,555 | Coding a javascript carousel slider from scratch with jquery - using variables | <p>So my code works to a degree. I have a slider, with some left & right buttons.</p>
<p>What I'm trying to do is make sure that it can't slide past a certain point one way or the other, as there will be a fixed number of slides. So I've introduced a variable called slideWidth which I'm trying to use to keep track... | javascript jquery | [3, 5] |
1,654,373 | 1,654,374 | asp.net and jquery ui draggable beginners | <p>Hi im very new to jquery and combining it into my asp.net work stuffs.</p>
<p>Ive read the order you reg the jquery files matters, so ive put the core file at the top ?
I really dont understand what im getting wrong here :</p>
<pre><code> <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="serv... | jquery asp.net | [5, 9] |
1,235,519 | 1,235,520 | how to select each fourth div in collection using jQuery | <p>I have gallery alike div container with many item divs inside. I want to select each fourth or in programming therms itemID % 4 == 0 item.</p>
<p>How can i do that with jQuery?</p>
| javascript jquery | [3, 5] |
627,863 | 627,864 | Find Html Inside a String Using Jquery | <p>I am not sure how practical this question is , but what i am trying to do is find html inside a string and then append pre tags to it using jquery. let say i have a variable with following string.</p>
<pre><code>var string = "Some normal text <html><body><div> This is the html </div> </bo... | javascript jquery | [3, 5] |
1,276,663 | 1,276,664 | virtual function | <p>what are virtual functions? what is pure virtual function? please explain with example</p>
| java c++ | [1, 6] |
2,665,540 | 2,665,541 | JQuery Onclick Change Image Src not refreshing the image | <p>I am using the code to change the image src with jquery:</p>
<pre><code><script>
$(document).ready(function() {
$('#MyDiv').click(function() {
$('#MyImageID').attr('src', 'image1.jpg');
});
});
</script>
</code></pre>
<p>My problem is that although it's actually changed the src it's not actually ... | javascript jquery | [3, 5] |
3,425,548 | 3,425,549 | object array mobile development | <p>Im currently creating a tile-based game for android. Using java via dalvik JVM. im fretting over a decision to represent objects in a particular map. should i use an id based map (2 dimensional integer array) and place game logic in a separate function in the game engine, or create an object array (2 dimensional arr... | java android | [1, 4] |
4,550,996 | 4,550,997 | Search Engine Optimization (SEO) & Friendly URLs using ASP.Net | <p>please tell me best to achieve Search Engine Optimization (SEO) & Friendly URLs using ASP.Net</p>
| c# asp.net | [0, 9] |
1,182,316 | 1,182,317 | Android Augmented Reality disable camera elements when device is 180 degree? | <p>I'm developing an android Augmented reality application. I want to disable the camera elements(places on camera view) when i change the device angle to 180 degree(device in rest position) and re enable them when the device is held at 90 degree. </p>
<p>How do i do it? My Augmented Reality window is a camera view.. ... | java android | [1, 4] |
179,072 | 179,073 | How can I tell wheter a file is opened by an other application? | <p>Is there a way to tell whether a file is opened by another application in PHP of Java?</p>
| java php | [1, 2] |
2,729,218 | 2,729,219 | Working with percents in Jquery | <p>I'm building a site with a fluid layout, and therefore need to use percentages in my Jquery sizes and animations. The problem, as I've discovered, is that Jquery doesn't understand percentages. Here's an example of what I'm after:</p>
<p>The page <code><body></code> is 100% wide.</p>
<p><code><article>... | javascript jquery | [3, 5] |
538,456 | 538,457 | ASP.NET how to push notification to client (same as Gmail) | <p>How can i push notification to client same as Gmail do?
which technology should i use?</p>
| c# asp.net | [0, 9] |
4,991,542 | 4,991,543 | Calling javascript method on html page, loaded in C# | <p>Is it possible?
I mean, I have loaded html page (with HtmlAgilityPack for example) and javascript file. I need to apply javascript method from this file (or whole javascript file) to my loaded html page and do this from C# code. Then save result html to filesystem.
Can I do that?</p>
| c# javascript | [0, 3] |
135,728 | 135,729 | jQuery Index of Hovered Button | <p>I'm not sure why I'm not figuring this out... I do this all the time. Must be having a "Monday Moment." But, basically, here's what I have:</p>
<pre><code>$('#nav ul li a').hover(hoverOn, hoverOff);
function hoverOn (evt) {
//how do I get the index of which button was hovered (from the jQuery group)?
}
</code... | javascript jquery | [3, 5] |
252,499 | 252,500 | how to set local path in javascript of window.open by using in C#.net | <p>i am trying to open the excel which was in local disc D path of my system since i have set this bellow string as such but it was not working in c#.net</p>
<pre><code>string strScript = "<script language=JavaScript>window.open('file://D:/Ajman/FrameworkWebUI/Temp/ExcelFileName.xls',null,'width=1,height=1,toolb... | c# javascript | [0, 3] |
5,467,748 | 5,467,749 | Best way to return dynamic non-html content from a page | <p>I should start by saying that I am using ASP.NET using C# in a .NET 2.0 environment. In particular, I am trying to generate a csv download when the user clicks on a link button. The link to my postback is inside an UpdatePanel. In the past (before ajax) to return non-html content I would use code such as the followi... | c# asp.net | [0, 9] |
5,012,669 | 5,012,670 | Javascript single page architecture with module autonomy | <p>I just started this HTML5 project where we decided to make it a single page architecture by leveraging jQuery $.load() method. Unfortunately, as soon as the JS started to grow, we quickly started running into issues where the modules loaded into the master dashboard have no knowledge of their parent.</p>
<p>The arc... | javascript jquery | [3, 5] |
2,010,385 | 2,010,386 | How to fetch Android Market data when there is no API? | <p>As far as I can tell, there is no API (official or unofficial) to access information about Apps on the Android Market (info such as Title, Icon, Description, Downloads, Comments, etc..) However, there are a few <a href="http://androidstats.com/" rel="nofollow">websites</a> that have managed to compile this informati... | java android | [1, 4] |
2,457,168 | 2,457,169 | get text node of an element | <pre><code><div class="title">
I am text node
<a class="edit">Edit</a>
</div>
</code></pre>
<p>I wish to get the "Iam text node" do not wish to remove the "edit" tag and need a cross browser solution.
it might be something simple, but I can't think of another way of getting to it.</p>
| javascript jquery | [3, 5] |
1,861,074 | 1,861,075 | How to search for positions inside a path with Region | <p>I have some sprite objects at different positions on the screen. When I draw a shape around one or several of those objects, I want to know which object that are inside. For this I'm using the Region class and the contains() method. The drawn shape is stored as a path. For now I have only made some code to check for... | java android | [1, 4] |
1,658,871 | 1,658,872 | How to make the Setting works for Class Library project in C# 2.0? | <p>I am putting the setting under the property of one of my C# Class Library project for app setting:</p>
<pre><code>EUCAccountService_ConnectionString
EUCTelcoDB_ConnectionString
</code></pre>
<p>In the development, it works nicely. Until I deported to production, I realise that the component that use those thing ..... | c# asp.net | [0, 9] |
2,838,715 | 2,838,716 | How can I discover whether a particular piece of data is encrypted? | <p>How can I discover whether a particular piece of data (say, a string, or file data) is encrypted? I wish to discover this programmatically, rather than via manually inspection.</p>
| java android | [1, 4] |
3,090,988 | 3,090,989 | Is it possible to hide the content of an asp.net master page, if page is opened as a popup? | <p>I have several aspx pages that can be opened either normally (full screen in browser), or called from another page as a popup (I am using Greybox, fwiw)</p>
<p>If the page is opened as a popup in Greybox, I would like to NOT display the master page content (which displays common top and left menus, etc).</p>
<p>As... | asp.net javascript | [9, 3] |
1,160,327 | 1,160,328 | Re-running JQuery's selectors and actions after a programmatic insertion of new content | <p>Fellow JQuery hackers, hello :-)</p>
<p>Suppose you have the following code:</p>
<pre><code>$('.links').click(function(){
//Do something
}
</code></pre>
<p>And I then insert dynamic content into a DIV's HTML content (Say, for example, after clicking a button, the new content gets inserted). This content has t... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.