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 |
|---|---|---|---|---|---|
2,707,390 | 2,707,391 | jQuery - redirect after ajax call | <p>I have the following code, however im having a problem getting window.location to work</p>
<pre><code>$('.test_container a').click(function() {
$.ajax({
url: $(link).attr('href'),
type: 'GET',
dataType: 'json',
beforeSend: function() {
$('#lightbo... | javascript jquery | [3, 5] |
2,216,333 | 2,216,334 | check if element exists within parent element | <p>I'm embedding and appending a youtube video to a div by using the href value and adding it to youtube.com/embed/ +hrefvariable. I just need some guidance in how to check if the youtube video is already in the div, to not run the click function that appends it there. I'm thinking using .length() with the parent div?<... | javascript jquery | [3, 5] |
4,802,084 | 4,802,085 | Can someone explain this seeming inconsistency in jQuery/Javascript?? (trailing brackets inconsistency on reads) | <p>So, in my example below, "InputDate'" is an input type=text, "DateColumn" is a TD within a table with a class of "DateColumn".</p>
<p>Read the value of a discreet texbox: </p>
<pre><code>var inputVal = $('#InputDate').val();
</code></pre>
<p>Read the value of a div within a table.... </p>
<p>This works:</p>
<... | asp.net javascript jquery | [9, 3, 5] |
5,688,268 | 5,688,269 | Javascript: How to intercept window.location change | <p>I need a way to attach some pre-processing to each assignment of the window.location. Is there a way to do this. I basically need to serialize some info, that will be used in the new location.</p>
| javascript jquery | [3, 5] |
179,690 | 179,691 | Unable to import cls file to sql server 2005 | <p>when i am trying to import cls file to sql server 2005. cell containing value with comma is not imported to sql server<img src="http://i.stack.imgur.com/VbiJ4.png" alt="enter image description here"></p>
<p>Rows 7 to 14 not import to sql server 2005</p>
| c# asp.net | [0, 9] |
2,116,445 | 2,116,446 | How to use a variable's contents to declare another variable in javascript? | <p>I have a problem that I hope to use one variable's contents as another variables name in javascript. In this case, I do not know what is the contents in that variable, I only know it is a text type and I hope the variable I need to declare will use that text as its name.</p>
<p>Anyone could kindly give me some sugg... | javascript jquery | [3, 5] |
268,038 | 268,039 | Inserting data in specified gridview row | <p>I am working with my timesheet program. On the first column of the gridview there are list of each day in a month. How can I simply place the datetime data once I clicked the time in/time Out button?
For example the first row is today's date, after I clicked the time in button the time must be place in the row of to... | c# asp.net | [0, 9] |
1,318,974 | 1,318,975 | How do I synchronize the scroll position of two divs? | <p>I want to have 2 divs sized to a particular width (i.e. 500px). One above the other aligned horizontally.</p>
<p>The top box should hide its scroll bar, the bottom should show a scroll bar and when the user scrolls I'd like the offset of the top box to change to the value of the bottom box. So that when the bottom ... | javascript jquery | [3, 5] |
1,687,336 | 1,687,337 | Open Element on Click | <p>I apologise in advance for the poor quality of this question but here goes:</p>
<p>I simply want an element to slide open on mouse click! That's it!</p>
<p>Specifically, i want a single menu item which, when clicked, will slide open to reveal a form. </p>
<p>What i'm after is almost exactly like an accordion menu... | javascript jquery | [3, 5] |
5,807,276 | 5,807,277 | Run a function in timeout looping | <p>I have the following code:</p>
<pre><code>// After 8 seconds change the slide...
var timeout = setTimeout("changeSlide()", 8000);
$('div.slideshow').mouseover(function() {
// If the user hovers the slideshow then reset the setTimeout
clearTimeout(timeout);
});
... | javascript jquery | [3, 5] |
354,216 | 354,217 | how to get a formatted date as milliseconds? | <p>I have a formatted date from sqllite database, to use this in a graph view I need to format it in a long number.</p>
<p>The format is:</p>
<p>2012-07-11 10:55:21</p>
<p>how can I convert it to milliseconds?</p>
| java android | [1, 4] |
4,681,823 | 4,681,824 | How can I convert a JavaScript variable to a Java variable? | <p>I need to convert a variable from JavaScript into a Java variable. I'm asking users for their e-mail ids with a Block-UI popup through Test Box. If the field is neither null nor empty, the e-mail id should be sent to a session variable so that it can be accessed anywhere in the project.</p>
<p>Here's my code:</p>
... | java javascript | [1, 3] |
750,677 | 750,678 | Retrieve Facebook Wall Posts | <p>I want to retrieve only my wall post of facebook and the comment given by my friends and also user can give comments also by successfully Authorised through my application..</p>
<p>I have tried this <a href="http://csharpsdk.org/" rel="nofollow">http://csharpsdk.org/</a> . But i am totally confused..I am getting m... | c# asp.net | [0, 9] |
3,285,420 | 3,285,421 | Cannot use php tag in javascript tag | <p>I'm trying to use php tag in a javascript function. But unfortunately its not working. I even used <code><?php</code> but still not working. I checked php.ini file and there the short tag is already enabled.</p>
<p>Any sort of suggestion will be appreciated. </p>
| php javascript | [2, 3] |
696,849 | 696,850 | var attribute echoed with php and not submitted from form | <p>Using this </p>
<pre><code>`$(function(){$(".signaler").click(function(){var element=$(this);var I = element.attr("id");var page = $('#page').attr('value');var info = "id="+I+"& page="+ page;$("#signaler"+I).hide();$("#load"+I).html('<img class="think" src="load.gif" >');$.ajax({type:"POST",url:"signaler.... | php jquery | [2, 5] |
952,990 | 952,991 | Fancy box add button onComplete open current image in new window | <p>I am trying to extend fancybox to allow for a new button to open the current image in a new window. I was planning on adding this via the onComplete although I can find any information in the API that explains how to get teh current image from:</p>
<pre><code>'onComplete' : function(currentArray, currentIndex, curr... | javascript jquery | [3, 5] |
5,195,077 | 5,195,078 | 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] |
16,956 | 16,957 | jQuery extend with prototypes | <p>Hi I am relatively new to jQuery and JavaScript and have a question regarding the functionality of <code>$.extend</code>.
I am using <code>extend</code> to overwrite the prototype of a class that extends a "base class".
Lets call the base <code>Parent</code> and the the children/extend classes <code>A</code> and <co... | javascript jquery | [3, 5] |
1,809,995 | 1,809,996 | Broadcast event when IP changes? | <p>I'm developing an application that is sending data through tcp/ip</p>
<p>I've made my own Name server that the clients register their IP and listening port. All of this is working very well.</p>
<p>Right now the clients send a ping to the server to get the latest IP and updates it if necessary. Since the app is al... | java android | [1, 4] |
1,363,009 | 1,363,010 | How can I get information about events that are bound to an element via live()? | <p>I have one <code><a></code> tag and bind to it two events. How I can get information about other events attached to it?</p>
<p>The follow code explains what I mean:</p>
<pre><code><a href="#" id="sample" class="sample-cls">Click me</a>
$(function(){
$('#sample').live("click", function(){
... | javascript jquery | [3, 5] |
4,005,826 | 4,005,827 | How to create draggable widgets? | <h2>Background</h2>
<p>I am tasked with developing the front-end to an analytics product that presents the information to the user in a customizable dashboard like the one used by Google Analytics:
- Dashboard is comprised of draggable widgets arranged in a grid layout
- Widgets have a drag handle which can be click... | javascript jquery | [3, 5] |
95,911 | 95,912 | Why does the html disappear? | <p>I would like to insert <code><div><p>Test</p></div></code> in another DIV at the top. So I try</p>
<pre><code>$(document).ready(function(){
$('form').live('submit', function(){
var aform = $(this);
$('#w').append('<div><p>Test</p></div>');
});
});
</c... | javascript jquery | [3, 5] |
3,454,465 | 3,454,466 | I have an error as raw cant be resolved or is not a field in ADT | <pre><code> InputStream is = getResources().openRawResource(R.raw.map1);
map = convertStreamToString(is);
</code></pre>
<p>How i could resolve this problem, i have used com.mypackage.R even i am getting problem also map1 is a txt file can anyone help me out to fix this error?</p>
<p>Thanks</p>
| java android | [1, 4] |
2,358,088 | 2,358,089 | Asp:Image with Link | <p>I would like to place an image in my application. when I click on it I want to move to another page. In general my asp:image to work as link
Is that possible ??</p>
| c# asp.net | [0, 9] |
3,093,578 | 3,093,579 | android null pointer exception in Application | <p>i have an activity which initialize a variable of my Application class (AppVariables):</p>
<pre><code>protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
app = (AppVariables) getApplicationContext();
}
</code></pre>
<p>when using this if condition which check if a drawa... | java android | [1, 4] |
2,816,321 | 2,816,322 | how do i get rid of a "Unchecked cast" warning? | <pre><code>Map<String,?> one = (Map<String,?>) parent.getAdapter().getItem(position);
</code></pre>
<p><code>Type safety: Unchecked cast from Object to Map<String,?></code></p>
<p>with the above line of code i get that unchecked cast warning. what is the best way for me to have the same results but ... | java android | [1, 4] |
5,813,074 | 5,813,075 | What requires SessionState in ASP.NET | <p>In order to help speed up my page load times I am removing SessionState from as many pages as possible. I have a lot of pages viewed that don't require any session tracking.</p>
<p>I know that storing something in the session e.g. </p>
<pre><code>Session.Add("name", value);
</code></pre>
<p>uses the session state... | c# asp.net | [0, 9] |
2,488,837 | 2,488,838 | Convert PHP script to ASP.NET | <p>Does anyone know how to write the following PHP in ASP.NET(VB.NET)?</p>
<pre><code>foreach ($_GET['listItem'] as $position => $item) :
$sql[] = "UPDATE `table` SET `position` = $position WHERE `id` = $item";
endforeach;
</code></pre>
<p>The data in $_GET['listItem'] looks like this:</p>
<p>item[]=1&it... | php asp.net | [2, 9] |
873,495 | 873,496 | Disable HTML Markup In "Preview Article" | <p>I have a problem displaying a "preview" of a text on my website. Let's assume it's an article and I only want to display the first 50 letters of the article (people will have to click 'read more' to read the rest), that I have accomplished but my issue now is that it displays the text as HTML.</p>
<p>So, what I do ... | c# asp.net | [0, 9] |
5,113,988 | 5,113,989 | Jquery show preloader for every image? | <p>Hey guys,
I've a website with a lot of images:</p>
<pre><code><img class='thumb' src=thumbs/image1.jpg/>
<img class='thumb' src=thumbs/image2.jpg/>
<img class='thumb' src=thumbs/image3.jpg/>
<img class='thumb' src=thumbs/image4.jpg/>
</code></pre>
<p>I wonder if I can display a loading-div ... | javascript jquery | [3, 5] |
5,934,625 | 5,934,626 | how to get instance name using jquery | <p>in my.js</p>
<pre><code>$(document).ready(function(){
a = new person();
b = new person();
...
})
person.prototype.init = function(){..}
function person(){
var someVariable;
function doSomeThing(){
...
// I need my instance name
...
}
return {doSomeThing:doSo... | javascript jquery | [3, 5] |
1,753,202 | 1,753,203 | Open specific jquery ui tab based on which the previous page is | <p>I have created a jquery ui tab and what I would like to do is when the page containing the jquery ui tab loads, specific tab will open depends on the previous page. So far, I have down the following:</p>
<p>PHP:</p>
<ol>
<li>obtain the previous page by using $_SERVER['HTTP_REFERER'];</li>
<li>determine which tab t... | php javascript | [2, 3] |
1,137,882 | 1,137,883 | set values in web.config dynamically? | <p>in my web.config I have things like:</p>
<pre><code> <connectionStrings>
<add name="Entities1" connectionString="metadata=res://*/CData.csdl|res://*/CData.ssdl|res://*/CData.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=ser;initial catalog=dda;persist security info... | c# asp.net | [0, 9] |
3,420,983 | 3,420,984 | Jquery : Automatic type conversion during parse JSON | <p><br>
Is there a way to specify type while parsing Json, so that the conversion happens automatically.</p>
<p>So I have the jsonData, and the x and y values needs to be number. So, the only way I can think about is looping and converting each. Any better logic, or efficient way?</p>
<pre><code>var jsonData = '[{... | javascript jquery | [3, 5] |
914,772 | 914,773 | jQuery: Checking if next element exists | <p>is there a way to check if an next element exists? Check my code:</p>
<pre><code>if($("#people .making-of .mask ul li.current").next("li") != null) {
alert("Exists");
}
else {
alert("Dont exists");
}
</code></pre>
<p>What im doing wrong? Thanks a lot!</p>
| javascript jquery | [3, 5] |
3,749,728 | 3,749,729 | need a script to split and assign values Jquery | <p>I am trying to separate and reassign values in a variable. What I have is </p>
<pre><code>#&first=1&second=2
</code></pre>
<p>can anyone help with a script that will separate and assign this values to another variable so it would be like</p>
<pre><code>var first= val.(first);
var second= val.(second);
</c... | php jquery | [2, 5] |
5,182,005 | 5,182,006 | Pass value to function from <a> tag, not from button | <p>Consider the following link and associated Javascript function:</p>
<pre><code><a class="someClass" href="#" onClick="someFunc('someVal'); return false;">Run someFunc</a>
function someFunc(val) {
doSomething(val);
}
</code></pre>
<p>I would prefer to refactor the link and Javascript function to su... | javascript jquery | [3, 5] |
2,729,409 | 2,729,410 | How to get the text of the selected option of a select using jquery? | <p>If I have this select:</p>
<pre><code> <select id="days">
<option value="0">Today</option>
<option value="1">Yesterday</option>
<option value="7">Last week</option>
</select>
</code></pre>
<p>and someone selects the 3rd option 'last w... | javascript jquery | [3, 5] |
3,698,256 | 3,698,257 | Hide mobile safari keyboard when form submitted in Ajax application | <p>I have a textfield which fires an event in a web app, but I'd like the keyboard to close when the user presses enter. Using jquery to disable usual submission.</p>
| jquery iphone | [5, 8] |
162,057 | 162,058 | javascript Today() function | <p>I'd like to determine if a given date object is the same day as the current day. Below is the psuedo code.</p>
<pre><code>// date is a Date object
function (date)
{
if (date == Today())
alert('How are you today?');
else
alert('How were you last ' + date.toDateString() + '?');
}
</code></pre>... | javascript jquery | [3, 5] |
4,863,476 | 4,863,477 | How to get day of the month? | <p>I am trying to retrieve which day of the month it is.</p>
<p>Such as today is August 29,2011.</p>
<p>What i would like to do is just get the days number such as 29, or 30. Which ever day of the month it is. </p>
<p>How would i go about doing this?</p>
| java android | [1, 4] |
1,768,713 | 1,768,714 | jQuery Can't Append an Object to an Element? | <p>For some reason my object isn't being appended to my element. Do you know why?</p>
<pre><code>row_value_object[row_value] = '<div class="timeline_row row_'+row_value+'"></div>';
$(".trek_timeline_day").append(row_value_object[row_value]);
</code></pre>
<p>Can jQuery do this?</p>
| javascript jquery | [3, 5] |
3,468,962 | 3,468,963 | jQuery index of dom element? | <p>I have...</p>
<pre><code>element = document.elementFromPoint(x, y)
</code></pre>
<p>then I want to do something like...</p>
<pre><code>index = $(element).index()
</code></pre>
<p>The DOM element is a <code>li</code> and I need its position in the list. </p>
<p>Thanks!</p>
<p>EDIT: If what i'm doing is correct ... | javascript jquery | [3, 5] |
882,644 | 882,645 | Hide android soft keyboard in browser | <p>I'm building a webapp for ios/android and currently got a problem</p>
<p>My app has a input element and when people focus on it, the soft keyboard show as usual.
But some times I want to hide it by javascript, I tried this:</p>
<pre><code>document.getElementById('oneinput').blur()
</code></pre>
<p>It works fine i... | javascript android | [3, 4] |
5,532,871 | 5,532,872 | Passing multiple parameter to PHP from Javascript | <p>i am trying to Use this</p>
<pre><code>function GetXmlHttpObject()
{
if (window.XMLHttpRequest)
{
// code for IE7+, Firefox, Chrome, Opera, Safari
return new XMLHttpRequest();
}
if (window.ActiveXObject)
{
// code for IE6, IE5
return new ActiveXObject("Microsoft.XMLHTTP");
}
return null;
}
function... | php javascript | [2, 3] |
4,272,507 | 4,272,508 | determining the type of element selected in jquery | <p>I have a jQuery selection, is there a way to determine what type of element it is (e.g. <a>,<span>,etc...)?</p>
| javascript jquery | [3, 5] |
4,175,882 | 4,175,883 | Parsing date string in Java of format [2012-07-15T20:55:33+00:00] | <p>Im trying to parse a String thats a date "2012-07-15T20:55:33+00:00", however I keep getting illegal argument exception. I don't know what I'm doing wrong.</p>
<pre><code>SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-ddzHH:mm:SS+00:00");
String date = "2012-07-15T20:55:33+00:00";
Log.e("res",sdf.format(dat... | java android | [1, 4] |
2,924,499 | 2,924,500 | c# code to check is string contains only numbers | <p>I'm a C# noob and I have this task.
I have TextBox, and user need to put 13 digits.
I need to check is user correctly populate that TextBox. Only numbers can be acceptable.</p>
<p>After that, I need to check is that last entered (13th) number equal with my int64 variable I got from other function. </p>
<p>Thanks!... | c# asp.net | [0, 9] |
2,987,721 | 2,987,722 | How to raise list controls SelectedIndexChanged event in codebehind? | <p>How to raise the SelectedIndexChanged event of an asp.net List control in a codebehind using C#?</p>
| c# asp.net | [0, 9] |
1,013,077 | 1,013,078 | The remote server returned an error: 227 Entering Passive Mode () | <p>I am doing code which uploads file from one server to another, Following is my code:</p>
<pre><code> string CompleteDPath = "ftp://ExampleURL/photos/";
string UName = "USerName";
string PWD = "Password";
WebRequest reqObj = WebRequest.Create(CompleteDPath + fileName);
reqObj.Met... | c# asp.net | [0, 9] |
700,412 | 700,413 | trouble accessing working HTTPService from Android | <p>I have a working .Net WCF HTTP service. If I put the URL into I.E, FireFox, or google Chrome browsers, I get back the correct stream. But when I try to access that same service in an android app (running in Eclipse) I get a socketException with the detail message "Permission Denied". The service is running on my ... | java android | [1, 4] |
3,226,837 | 3,226,838 | ASP.NET master page and optional Jquery script | <p>I am using a master page, and JQuery is referenced in some, but not all pages. I am adding some user controls which use client side JQuery, and so need to include the reference to the jQuery library in the pages using them.</p>
<p>There are obviously many ways to achieve this but I was wondering thoughts on relativ... | jquery asp.net | [5, 9] |
4,845,470 | 4,845,471 | Download file & get percent complete | <p>Can I Detect how many bytes are downloaded from a large image say 2-4 MB? i.e. to inform the user by the percent of downloaded image? </p>
| javascript jquery | [3, 5] |
4,521,289 | 4,521,290 | how to make a part of the textbox as readonly | <p>i have a tagtextbox on my page
when a user selects a category that category name goes to tagtextbox</p>
<p>now i want that this category name user cant change but he can append some more tags
means first tag becomes readonly and further he can add too in same text box</p>
| c# javascript | [0, 3] |
4,435,806 | 4,435,807 | Declare variable in C# | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/41479/use-of-var-keyword-in-c">Use of var keyword in C#</a> </p>
</blockquote>
<p>Hi, I am pretty new in C#,</p>
<p>I would like to know the best practices in declaring variables.</p>
<p>I know it is possible ... | c# asp.net | [0, 9] |
567,133 | 567,134 | How can I get dropdown selected value using javascript? | <p>I have an asp.net DropdownList Control. when i use this code</p>
<pre><code>var id = $("[id*='drpCategory'] option:selected").val();
</code></pre>
<p>the id is always come first index of dropdown. How can i get other selected values. ?</p>
| javascript jquery asp.net | [3, 5, 9] |
4,345,262 | 4,345,263 | JQuery UI Dialog and OnClick event | <p>I have a JQuery UI Dialog which I have put an ASP.NET button on. I need to be able to call a server side OnClick event from this, but it is never called. Here is my Dialog, can somebody help?</p>
<pre><code><div id="dialogWrapper" runat="server">
<div style="height: auto; width: auto;" id="dialog">... | jquery asp.net | [5, 9] |
2,920,232 | 2,920,233 | When you write your own jquery function, what does this mean? | <p>Hi I came across this piece of code and I was wondering specifically what is going on with <code>this.each(function(i,e)</code> and <code>var $e = $(e);</code>. I'd like to know what the programmer is trying to do.</p>
<p>Thanks!</p>
<pre><code>$.fn.rssfeed = function (url, options, fn) {
return this.each(func... | javascript jquery | [3, 5] |
5,660,487 | 5,660,488 | Usage of ITemplate in custom control | <p>I'm trying to figure out if I can use the <code>ITemplate</code> interface in a custom control. Here is what I've done so far.</p>
<pre><code>public class Tooltip : Control
{
public ITemplate ContentTemplate { get; set; }
protected override void CreateChildControls()
{
base.CreateChildControls(... | c# asp.net | [0, 9] |
5,135,076 | 5,135,077 | Package private in C#? | <p>In Java a method that hasn't any visibility keyword is called package private and can be seen in from objects in the same package.</p>
<p>If a method or a field hasn't any visibility keyword in C# is it also package private and if not whats the visibility then?</p>
<p>And how can I make a field package private in ... | c# java | [0, 1] |
1,951,479 | 1,951,480 | adding php string to some javascript | <p>I'm trying to add a php string to some javascript:</p>
<pre><code>document.getElementById("button").value = mygetrequest.responseText;
</code></pre>
<p>basically there are a load of buttons on one page. </p>
<p>So i need to add a value at the end of button.
<br>Basically the ID of each row so button<code><? e... | php javascript | [2, 3] |
3,606,770 | 3,606,771 | JavaScript, jQuery - How would I reuse this function properly | <p>Maybe Im just confusing myself due to being pressed for time, but how would I reuse this function without reloading the page itself? </p>
<pre><code>$(function() {
var uploadqueue = $("#uploader").pluploadQueue({
// General settings
runtimes : 'html4,silverlight',
url : 'upload_file.jso... | javascript jquery | [3, 5] |
1,194,194 | 1,194,195 | carriage return internationalize without ASCII | <p>Is there any other way to identify the carriage return rather than using the ASCII to internationalize it.</p>
<p>I don't want this as i have already used this</p>
<pre><code>$("var").keypress(function(event){
if(event.which==13){
event.preventDefault();
});
</code></pre>
| javascript jquery | [3, 5] |
2,728,033 | 2,728,034 | Application Runs when Debugging but not when Published | <p>When publishing my web application and then running it will return the error </p>
<p><strong>"Could not load file or assembly 'BaseApplicationName' or one of its dependencies. An attempt was made to load a program with an incorrect format."</strong></p>
<p>However if I run the application through <strong>debugging... | c# asp.net | [0, 9] |
438,658 | 438,659 | Setting Label Text to Number of Rows with jQuery | <p>This is my code but nothing happens.</p>
<pre><code>$(document).ready(function() {
var totalRows = $("#<%=GridView3.ClientID %> tr").length;
document.getElementById('Label6').InnerHTML = totalRows;
});
</code></pre>
<p>this is what i ended up using</p>
<pre><code>var rqnum = $("#<%=GridView3.ClientID... | jquery asp.net | [5, 9] |
2,334,033 | 2,334,034 | trying to append content to DOM element | <p>I'm trying to add a div to a row of content with the click of a button. My code works for the first row but not for any other row. Please help. This is the function for the button:</p>
<pre><code>$(".addMMbtn").each(function() {
$(this).bind("click",
function() {
var thisRow = $(... | javascript jquery | [3, 5] |
5,776,405 | 5,776,406 | Sending and receiving an SMS by an application in Java | <p>I want an application in Java that can receive SMSes from the users and send the response back to the users.</p>
<p>For example, I want the users to send the SMS to a particular number, say 5000 or 6000 and the application should recieve it and send back the response to the user itself. </p>
<p>How do I implement ... | java android | [1, 4] |
1,231,830 | 1,231,831 | How to call jar files from PHP? | <p>I know this question is not new but I am posting this after going through enough googling around.</p>
<p>I have a jar file which I don't control. I mean I have not written the Java class in there and all I know is that there is a class named "hist" in it which takes two arrays and gives out the output. Now I have t... | java php | [1, 2] |
4,639,703 | 4,639,704 | how to import multiple excel sheets into 2 sql server tables? | <p>Am having one excel file with 2 different worksheets as fundmodelrate and project.Now I want to import these 2 different sheet values into 2 different sql tables(k2_fundmodelrate,k2_project).I can able to do import only if am working with 1 sheet and and 1 table,but I want two sheets values to be imported on two tab... | c# asp.net | [0, 9] |
5,263,192 | 5,263,193 | ASP.NET w/ C# SortedList | <p>How do I create a SortedList that holds multiple variables? I want to keep multiple instances of (date, height, weight).</p>
| c# asp.net | [0, 9] |
707,148 | 707,149 | Update Custom ListView Item | <p>I have a listview that uses a customadapter based on the baseadapter. The listview populates ok using external data and I can pick up the click events and know which item has been selected. </p>
<p>I'm having a problem updating the clicked item's views, like TextView and ViewFlipper.</p>
<p>Do I have to update som... | java android | [1, 4] |
3,803,053 | 3,803,054 | Correct way to deal with potential session expiration | <p>I am wondering what is the best (e.g. most efficient, commonly accepted, industry standard) way to deal with the potential expiration of a session when you are regularly using the values stored in it in your code.</p>
<p>For example, I am often using (in C#) lines similar to the following:</p>
<pre><code>Guid pers... | c# asp.net | [0, 9] |
3,076,263 | 3,076,264 | jQuery .contains(+number+) | <p>it's been a long day and I think I just have code blindness but..</p>
<p>Trying to figure out if an element contains a number, do something to another element.</p>
<pre><code>result_val = 9;
$(".result").contains("+result_val+") (function() {
$(".parag").css("color", "#eee");
});
</code></pre>
<p>Maybe I'm t... | javascript jquery | [3, 5] |
5,304,063 | 5,304,064 | onClose event is not called on cancel click in simple modal...when i am loading another jquery dialog on simple modal? | <p>I am using Eric martin simple modal (1.3)to show some dynamic data (table) this table is clickable (when i click cells of table which i am showing on simple modal) , I am showing another popup jquery dialog which is also showing some content.....here i got the problem .
After my 2nd popup (jquery dialog) when i am... | javascript jquery | [3, 5] |
4,435,762 | 4,435,763 | What are the hardest parts of the C++/C#/Java programming languages? | <p>Just wondered what are the features of the three main programming languages which show you are an 'expert'? Please exclude 'practical' skills such as indenting.</p>
<p>Am I right in saying for C++ the most difficult aspect to master is STL/generics? Java seems much easier as memory is handled for you. I'm not entir... | java c# c++ | [1, 0, 6] |
3,400,056 | 3,400,057 | How to remove object from inside .each() | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/4178123/how-to-remove-a-property-from-an-object">How to remove a property from an object?</a> </p>
</blockquote>
<p>I am comparing two JSON objects and then deleting the old items from a list with this code:</p>... | javascript jquery | [3, 5] |
767,376 | 767,377 | The notification can't skip to another activity? | <p>my code is</p>
<pre><code>public class AlarmReceiver extends BroadcastReceiver {
public Notification mNotification = null;
public NotificationManager mNotificationManager = null;
@Override
public void onReceive(Context context, Intent intent) {
Toast.makeText(context, "time up!", Toast.LENGTH_SHORT).show();
... | java android | [1, 4] |
2,965,470 | 2,965,471 | Pre-fill a form (no control over form code) | <p>I'm using a form plugin / addon where I don't have control over how the form is generated.</p>
<p>The form generates HTML which looks like this:</p>
<pre><code><form>
<label>First Name</label><input name="Question25" type="text" value="" />
<input class="formBlockSubmitButton" name="add"... | php javascript jquery | [2, 3, 5] |
1,106,731 | 1,106,732 | Best method for a PHP script to communicate with an application? | <p>I'm currently writing a c++ application for a linux server which basically handles requests (I haven't coded the part handling the requests yet, as I'm not sure of the best method).</p>
<p>Basically I have a PHP page that when fired (client hits the page) needs to communicate with the above mentioned application.</... | php c++ | [2, 6] |
730,734 | 730,735 | Sort Arraylists according to Dates with particular format | <p>I have a problem that I want to sort multiple Arraylists with respect to Date Arraylist with a format as: 2011-07-18T10:39:32.144Z. How to that in java? Can anyone Help me out?</p>
<p>Thanks in advance.</p>
| java android | [1, 4] |
1,565,418 | 1,565,419 | How to make fixed floating element stop at #footer? | <p>Below is the code I am using to fix a sidebar as the user scrolls. As of now, it overlaps with my footer. How can I make it stop at a certain point or when it hits the footer?</p>
<pre><code><script type="text/javascript">
$(document).ready(function() {
if ($('.pageheaderwrap').length) {
$(win... | javascript jquery | [3, 5] |
485,706 | 485,707 | How to convert a java swing application to work on android | <p>So I built a program in Java using swing for the interface and i didn't realize how difficult it would be to convert it to be used as an android application. Is there any way for me to easily convert or rebuilt the program to be sold in the android market place? If not can anyone point me toward any resources to hel... | java android | [1, 4] |
5,664,227 | 5,664,228 | Serialize inputs and select option | <p>I need to serialize inputs and selected option in table row(tr)<br/></p>
<pre><code><form action='' METHOD='post' id='formConfirmOrder'>
<table id='viewTableOrders'>
<tr id='vagon1'>
<td>
<select name="order[1][rail_path]" title="1">
<option value="" selected="selected"&... | javascript jquery | [3, 5] |
3,642,602 | 3,642,603 | How can I embed a static HTML page in a aspx page? | <p>I have a static HTML page complete with client-side scripts and css (both are included in the html). I was wondering if it would be possible to embed this HTML page into an ASPX page and have the ASPX page be able to respond to javascript events that are raised from within the static html document? Does asp.net pro... | javascript asp.net | [3, 9] |
10,824 | 10,825 | remove everything after a certain character | <p>Is there a way to remove everything after a certain character or just choose everything to that character, either way. my scenario is like this that its always gone be different amount of characters and im getting the value from a href and up to the ? </p>
<pre><code>like /Controller/Action?id=11112&value=4444
... | javascript jquery | [3, 5] |
969,731 | 969,732 | java Script User Define $ function like jquery | <p>I'm trying to Create user define $ function as i cannot use Jquery in existing project.</p>
<p>I want to get this function as work as Jquery $('ID')</p>
<p>Please give me some hint Any hint OR Example
for Example</p>
<pre><code>function $(element) {
}
var value = $('elementID').value
</code></pre>
<p><strong>U... | javascript jquery | [3, 5] |
2,218,621 | 2,218,622 | Recording button ID's in Javascript | <p>I am trying to create an item selection menu, where the user is presented with multiple buttons to pick their choices. I am creating several divs with PHP.</p>
<pre><code> <div id="h1-1"><input type="button" value="h1-1" onclick="recordValue()"></div>
<div id="h1-2"><input type="... | php javascript | [2, 3] |
437,584 | 437,585 | Adding jQuery function to select box to make it change the CSS dynamically | <p>I want my select box to dynamically change the CSS of another part of the page so that the right options are visible according to each selection.</p>
<p>E.g. the right DIV elements are shown when the correlating select option is selected. </p>
<p>My select input and DIVs:</p>
<pre><code><select id="chooser" cl... | javascript jquery | [3, 5] |
1,212,112 | 1,212,113 | jQuery Image fadeIn Upon Scroll Inside DIV | <p>I can't get the actually LazyLoad plugin to work for me so I am trying to write my own with. Currently I have a list of images loading inside of a DIV. They are pulled by a PHP query to the mysql database. The DIV scroll is set to auto. The code I am using is:</p>
<pre><code><div id="b1" style="overflow:auto;"&g... | javascript jquery | [3, 5] |
5,672,899 | 5,672,900 | Android package name must start with "com."? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/189209/do-you-really-use-your-reverse-domain-for-package-naming-in-java">Do you really use your reverse domain for package naming in java?</a> </p>
</blockquote>
<p>I am a beginner in android programming. I made... | java android | [1, 4] |
3,366,791 | 3,366,792 | Android Notepad exercise. Menu isn't working | <p>I'm using <a href="http://developer.android.com/resources/tutorials/notepad/notepad-ex1.html" rel="nofollow">http://developer.android.com/resources/tutorials/notepad/notepad-ex1.html</a> as a guide.</p>
<p>I've got to step 13 and ran the application, but when I pressed the menu button, the application stopped worki... | java android | [1, 4] |
85,184 | 85,185 | Joint image and data display in a gridview bound to a database | <p>Good evening</p>
<p>I am inserting book items into a table of an access database on a web service from my web site and this table I add to a dataset(using a method in the web service) which I return to the website and bind to a gridview control to display the items. So far so good.</p>
<p>My problem is that I woul... | c# asp.net | [0, 9] |
5,599,122 | 5,599,123 | What is the most idomatic way to index a list of objects by coordinates | <p>I have a strong python background and a total newbie with Java, so I try to do things in <em>Pythonic</em> way in java and end up struggling. Currently I have a problem to figure out how to do store objects, indexed by coordinates, so that they are iterable. I <em>could</em> create an 2-dimensional array of the obje... | java python | [1, 7] |
2,086,041 | 2,086,042 | asp.net textbox with java script problem | <p>I'm trying to check if asp.net textbox is empty or not using java script.
my code working ok but if
I enter only numbers will conder it empty so I have either enter letters and numbers or only letters.</p>
<p>Please advice.</p>
<p>here is my code</p>
<pre><code> <script type="text/javascript">
function che... | asp.net javascript | [9, 3] |
3,049,568 | 3,049,569 | Passing a variable in as a JQuery ID | <p>I am passing an id into a function as a string. I want to use that ID to then change the background color. I have used:</p>
<pre><code>$("#"+address).css("background-color", "#3399FF");
</code></pre>
<p>but it is not changing the background color and when I do a:</p>
<pre><code>console.log($("#"+address).css("b... | javascript jquery | [3, 5] |
3,660,457 | 3,660,458 | Move row to top in data table c# | <p>I have a data table in which if the Addresses match move one of the rows to the top of the data table. I am using the following code but it doesnt work. Any idea how to achieve this. The data in the data table is imported from an excel file. I have tried the same if statement in GridView to highlight the duplicates ... | c# asp.net | [0, 9] |
1,544,186 | 1,544,187 | Creating a textfield which takes values based on the first character | <p>I have a textfield. If we enter a number for the first character, the textfield should only accept numbers. Otherwise if the first character is a letter, then the textfield should accept only letters. I am trying to achieve this in jQuery/Javascript.</p>
| javascript jquery | [3, 5] |
5,870,495 | 5,870,496 | jQuery UI Not being loaded properly? Dialog method not found | <p>I'm having an issue with my jQuery UI dialog on this page (and this page only):</p>
<p><a href="http://www.satelliteinternet.com/" rel="nofollow">http://www.satelliteinternet.com/</a></p>
<p>I'm not sure what the issue is as it's working on all the other pages on the site. The error I'm getting is the $("#DealerSe... | javascript jquery | [3, 5] |
4,837,172 | 4,837,173 | Get image from portfolio page and post in homepage | <p>Hi I have created myself a portfolio website.On the homepage in the footer on the right I would like to add four images from the portfolio page that change every time the page is loaded.Can anyone tell me how this can be achived? </p>
<p>On the portfolio page this is the structure for the html:</p>
<pre><code><... | php javascript jquery | [2, 3, 5] |
1,127,360 | 1,127,361 | Java Script Undefined Error in mozilla? | <p>I use the following Javascript function.It will not work.It will give the <strong>Undefined Error</strong> in the following line, <code>c= row.cells[0].innerText.strip();</code></p>
<pre><code>function a()
{
var table = getServerObject("b");
var row,c;
for (var i = 2; i < table.rows.length - 1; i++)... | javascript asp.net | [3, 9] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.