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,231,264
2,231,265
Could not determine a MetaTable
<p>I have simple application with FormView and SQLDataSource. When I check "Enable dynamic data support" I get following error:</p> <blockquote> <pre><code>Could not determine a MetaTable. A MetaTable could not be determined for </code></pre> <p>the data source 'SqlDataSource1' and one could not be inferred fro...
c# asp.net
[0, 9]
36,237
36,238
See if Input Has Spaces with jQuery
<p>I'm trying to write a function that reads a inputs value, and determines if a space has been used in it's creation. I'm not trying to trim anything -- just see if it would have needed the ability to trim.</p> <p>I'm not even sure where to begin on this, so I don't have any code to look at. Please help if you can!</...
javascript jquery
[3, 5]
621,960
621,961
How to resolve Object reference not set to an instance of an object.
<p>Beating my head against the wall on the error Object reference not set to an instance of an object. See code below. The offending line is marked with &lt;!--->>>>>>></p> <pre><code>string htmlOutput = " "; htmlOutput += "&lt;h3&gt;employee: " + employee.lastName + ", " + employee.firstName + " (" + thisForm...
c# asp.net
[0, 9]
4,271,879
4,271,880
How to set the scrollbar to move at last line in multiline textbox?
<p>I am using asp.net. How to set the scrollbar to move at last line in multiline textbox at client side?</p>
javascript jquery asp.net
[3, 5, 9]
1,013,259
1,013,260
Launch camera activity with alternate permissions
<p>I'd like to launch the camera activity and have it dump subsequent pictures into my private app storage. Since the camera doesn't have write permission to that directory, it can't save any of its pictures there.</p> <p>I could make my private app storage world writable, but that defeats the purpose of having it be ...
java android
[1, 4]
3,007,961
3,007,962
getting the entire file code on the page while using include/ include_once/ require_once
<p>While using include / include_once / require_once of the form <code>include 'filename.js'; </code></p> <p>I get the entire code of the file displaying on the page. What am i doing wrong?</p>
php jquery
[2, 5]
1,865,418
1,865,419
How to show a div when Click on text box in asp.net. using jquery
<p>I tried like this </p> <pre><code>&lt;script type="text/javascript"&gt; $(document).ready(function () { $('#divID').hide(); $('#txtInsertComments').Onfocus(function () { $('#divID').show(); }); }); &lt;/script&gt; //Asp.net Design &lt;asp:TextBox ID="txtInsertComments" runat="server" Text="Demo"&gt;&lt;/a...
javascript jquery asp.net
[3, 5, 9]
4,683,616
4,683,617
C#/asp.net geting error when sending data from one page to another
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stackoverflow.com/questions/12768674/send-data-from-one-page-to-another-in-c-sharp-asp-net">Send data from one page to another in C# ASP.Net</a> </p> </blockquote> <p>Hi I am trying to send data from one page to another in asp.net I found ...
c# asp.net
[0, 9]
3,133,582
3,133,583
jQuery code not executing - iPhone
<p>Im using jquery in webview basically im calling jquery method inside the html string loaded inside the webview. problem is webview is loaded properly but method is getting executed. i tried putting breakpoints it's hard to see the execution inside the string.</p> <p>Thanks in advance.</p>
jquery iphone
[5, 8]
5,647,099
5,647,100
Jquery html() not not working
<p>I have a simple js function: </p> <pre><code> function changeContent(id, content) { $(id).html(content); } </code></pre> <p>which gets called on ajax callback. id is an id of a div, and $(id) does indeed find it.</p> <p>On Chrome I get an unhandled exception that HTMLDivElement doesn't contain metho...
javascript jquery
[3, 5]
2,084,278
2,084,279
Convert scalar variable to array containing variable in javascript
<p>How would one convert <code>5</code> to <code>[5]</code> in JavaScript? I have a method that uses jQuery's <code>$.inArray</code> and I would like it to work if someone just passes in a scalar variable by converting to an array with one entry, which would be the scalar.</p>
javascript jquery
[3, 5]
452,033
452,034
convert string data array to list
<p>i have an string data array which contains data like this</p> <pre><code>5~kiran 2~ram 1~arun 6~rohan </code></pre> <p>now a method returns an value like string [] data</p> <pre><code> public string [] names() { return data.Toarray() } public class Person { public string Name { ...
c# asp.net
[0, 9]
4,121,821
4,121,822
remembering what $(this) is
<p>I have the following script which changes a jquery made object's color to blue:</p> <pre><code>$(".objects_list").live('click', function(event) { $(this).css("color", "blue"); }); </code></pre> <p>How do I remember what $(this) is so I can change the color again but from a different function or from an event o...
javascript jquery
[3, 5]
618,928
618,929
jQuery validation and check all together
<p>I make a jquery validation, problem is here that this part from code first(first click on button) check selectbox and second(second click on button) fields. how can it fix as that check all together with one click on button?</p> <p><strong>Exampel(see full code):</strong> <a href="http://jsfiddle.net/JfPaN/" rel="n...
javascript jquery
[3, 5]
572,032
572,033
change font style in c#
<p>hi there I want to change the font style of a label in an aspx page, through choosing options provided by a dorpdownlist. None of these methods work. I know I might be on the right path, but just can't seem to get it right. Please enlighten me. Thanks In my code behind:</p> <pre><code>public void button1_Click(obje...
c# asp.net
[0, 9]
1,987,021
1,987,022
addView equivalente but adding Preference to PreferenceScreen?
<p>I had recently had to do add a view to a LinearLayout programatically, I have to do the same for a for a PreferenceScreen but I don't know how. This is how it was done for a LinearLayout:</p> <pre><code> LayoutInflater localLayoutInflater = (LayoutInflater)getBaseContext().getSystemService("layout_inflater"); ...
java android
[1, 4]
2,974,529
2,974,530
Show hide image by generated id
<p>I have this code that generates a group ID with javascript. It's shown here: <a href="http://jsfiddle.net/LwtvK/5/" rel="nofollow">http://jsfiddle.net/LwtvK/5/</a>. Now instead of it writing the text "Group id : X", I want it to control an image that gets shown. There are 7 group id's and 7 images</p> <pre><code> ...
javascript jquery
[3, 5]
5,808,382
5,808,383
javascript\jquery: Event that fires when textbox changes
<p>I'm looking for a jquery/simple javascript (not some other library) solution that set an event to a textbox that will fire when the textbox being changed? (not after blur)<br> I need it to fire no matter how it was changed (keyboard char key/tab/enter or mouse paste) And I need it to be fired one time only.</p>
javascript jquery
[3, 5]
5,422,557
5,422,558
Uncaught TypeError in Chrome and Safari when referencing the name of a dropdown in JavaScript
<p>The following code only seems to work in IE. In Chrome or Safari, I get the following error:</p> <p>The console error I get in Chrome is:</p> <blockquote> <p>Uncaught TypeError: Property 'choosetext' of object # is not a function </p> </blockquote> <p>Here's the code:</p> <pre><code>function LoadPageText(){ do...
javascript jquery
[3, 5]
3,490,093
3,490,094
How to print div inner html
<p>I have aspx page and some html in div control. I am trying to print the html, after print the page i got url in the page bottom and title of the page on the uppaer side. but I want to print only div inner html. please help.</p>
javascript asp.net
[3, 9]
143,973
143,974
Jquery deferred from callback of ajax calls
<p>I'm trying to write an procedure that does something after 2 objects are returned as a result of the callback of an ajax function.</p> <p>I know the classic example of using Jquery when():</p> <pre><code>$.when($.get("http://localhost:3000/url1"), $.get("http://localhost:3000/url2").done(//do something)); </code>...
javascript jquery
[3, 5]
793,157
793,158
Best way to block on a socket for data
<p>What is the efficient way of blocking on the socket for data after opening it.The method i used is to call read on input stream (this is a blocking call that waits till some data written to this socket).</p> <pre><code>//Socket creation SocketForCommunication = new Socket(); InetSocketAddress sAddr = new InetSocket...
java android
[1, 4]
2,286,800
2,286,801
Uniquely identify a file without downloading
<p>So the base project is this... </p> <p>I am trying to write a server application that will download and hash files off of a website. </p> <p>The reason for this is so that I can blacklist particular files that are re-uploaded under different names or provide further descriptions as to what a file really is. These ...
php javascript python
[2, 3, 7]
2,899,062
2,899,063
JQuery: How to select table rows but not the rows of the table inside the cell
<p>So I have a table, and there are tables within the cell too, like this:</p> <pre><code>&lt;table id='table1'&gt; &lt;tr&gt; &lt;td&gt;xyz&lt;/td&gt; &lt;td&gt; &lt;table&gt;&lt;tr&gt;&lt;/tr&gt;&lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;/tr&gt; &lt;tr&gt;&lt;/tr...
javascript jquery
[3, 5]
5,320,973
5,320,974
How to automatically click a link when the website loads
<p>I am trying to figure out how to make an anchor link clicked when the website is visited. I would be grateful if someone can help me, here's a demo code, you can match the id for my ease thank you.</p> <pre><code>&lt;body&gt; &lt;a id='deepakkamat' href='http://mywebpage.com'&gt; This is my webpage &lt;/a&gt; &lt;/...
javascript jquery
[3, 5]
2,401,384
2,401,385
Finding position of cursor with window scroll
<p>Is there any way to find the cursor is at the top of a HTML element with window scroll function. </p> <p>EDIT: I have to call the below script to suspend the window scroll function if the cursor is at the top of one div:</p> <pre><code>document.addEventListener('DOMMouseScroll', function(e){ console.log(e); ...
javascript jquery
[3, 5]
4,920,185
4,920,186
Grabbing asp.net controls in javascript
<p>I have a page where it is getting overwhelmed with code like:</p> <pre><code>var textBox = $get("&lt;%=textState.ClientID%&gt;"); </code></pre> <p>This requires me to have my JavaScript inside the page instead of nicely tucked in a js file. <strong>Is there a better approach to this?</strong></p> <p>document.getE...
asp.net javascript
[9, 3]
2,225,175
2,225,176
How to organise jquery code
<p>I discoverd my jquery code is a mess, right now it doesnt follow any type of logic build up. I have lots of ajax calls, nested functions, dom manipulations, plugin calls in my main js file.</p> <p>Lot of calls are fired on every page, what is a no-no, and get the undefined error on a few pages because some function...
javascript jquery
[3, 5]
5,828,980
5,828,981
Show another div if earlier div height<300px
<p>I am working on dynamic page where height of the page is concern.</p> <p>So, What I want is if height of <code>&lt;div id="a"&gt;</code> <strong>&lt; 300px</strong> , <strong>Then only show</strong> new <code>&lt;div id="b"&gt;</code></p> <p>How can I achieve this ?</p> <p>Thanks.</p> <ul> <li>Mandar</li> </ul>
javascript jquery
[3, 5]
1,007,551
1,007,552
Filtering table rows with Jquery
<p>I have a table showing registered users and the rows of this table can be filtered according to Status (active/inactive users or both) or User Type (admin/user or both). In order to make sure all of the table rows are filtered according to both criteria, I have PHP generate a 'info' attribute for each table row. Inf...
javascript jquery
[3, 5]
4,897,780
4,897,781
Getting select info from SQLiteDB?
<p>I have an SQLiteDB, in one of the tables, I have a column for date (formatted as 3-1-2011) and a column for quantity. I want to grab the quantity for all results in the specified month. So if my table is looking like this:</p> <pre><code>1-28-2011 9 2-2-2011 2 2-5-2011 6 2-12-2011 3 2-20-2011 6 3-1-2011 12 </code><...
java android
[1, 4]
1,351,481
1,351,482
Help! Ajax not getting an external page content?
<p>I want to extract the source code of a webpage which is hosted by other website, but the problem is that O get an empty response, I tried to pull the source of multiple websites but the problem is from my code:</p> <pre><code>$(document).ready(function(){ $.get('http://www.xxxx.com', function(xdata) { a...
javascript jquery
[3, 5]
3,646,808
3,646,809
Explanation of two argments for jQuery .each() method
<p>In the following jQuery, the <code>.each()</code> method takes two arguments: <code>'ul li a'</code> and <code>menu</code>. What do these two arguments mean?</p> <pre><code>var menu = $('.menu'); $('ul li a', menu).each(function() { $(this).append('&lt;span /&gt;'); }); </code></pre> <p>HTML:</p> <pre><code>&...
javascript jquery
[3, 5]
2,657,950
2,657,951
Project 'PrjName' is missing required library: 'libs/android-viewbadger.jar' PrjName
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stackoverflow.com/questions/12928623/project-prjname-is-missing-required-library-e-arul-android-libs-android-vie">Project ‘PrjName’ is missing required library: ‘E:/arul/Android/libs/android-viewbadger.jar’ PrjName</a> </p> </blockquote> <...
java android
[1, 4]
344,360
344,361
Find the Jquery version using normal Javascript
<p>Is there any way to find the version of Jquery using normal plain javascript. I know to do this using JQuery itself by using the following code.</p> <pre><code>jQuery.fn.jquery; </code></pre> <p>or</p> <pre><code>$().jquery; </code></pre> <p>But this wont works for me beacuse I am not allowed to use Jquery code....
javascript jquery
[3, 5]
4,467,253
4,467,254
How to pass my php variables to javascript
<p>I have a dynamic dropdown. That populates the second drop down. My javascript is not taking my variables when I change my selection when I tested with one php variable. Am new to this</p> <p>Javascript:</p> <pre><code>&lt;script type="text/javascript"&gt; function populate(s1,s2){ var s1 = document.getElementById(...
php javascript
[2, 3]
1,869,572
1,869,573
How can i debug jquery object
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stackoverflow.com/questions/2948262/debug-javascript">Debug Javascript</a> </p> </blockquote> <p>Every now and then i have one jquery object and i am not able to find whats inside it. I had to try many combinations like see the class name ...
javascript jquery
[3, 5]
4,240,245
4,240,246
Data underlyng e GridView
<p>I have a GridView. At event _RowDataBound I need take the underlying value from every single Field (ex let immagine FirstName), apply some logic to it, and display the field modify to a Textbox.</p> <p>My problem is I do not the syntax to get the values connected with the e.Row.DataItmem for a single row.</p> <p>A...
c# asp.net
[0, 9]
4,067,518
4,067,519
The art of programming: Java vs C#
<p>Throughout my university career I used Java to code projects until I started working which is where I had to delve into the C# realm. Though the .Net library is fairly extensive I can't help but feel that there is something missing in C# as compared to Java. I would like to know if Java is any better than C# or vice...
c# java
[0, 1]
1,447,411
1,447,412
Show a set number of <li>s and then hide them to reveal another set number of <li>s
<p>I am trying to create a carousel, using floated list items.</p> <p>When <em>Next</em> is pressed the current 4 visible <code>li</code>s are hidden and the next 4 shown for as many times as needed. Though, there may not always be another 4 to show, as in the case below there would only be 2 more to display.</p> <p>...
javascript jquery
[3, 5]
1,830,695
1,830,696
.fadein not working on server (working locally)
<p>FadeIn is not working when I upload it to my server, yet it is working on my local machine?</p> <pre><code>&lt;script&gt; $("qfade").click(function () { $("h2").fadeIn(1000); }) &lt;/script&gt; </code></pre> <p>called here</p> <pre><code>&lt;li class="sup"&gt; &lt;qfade&gt;&lt;a href="#stuff"&gt;things&lt...
javascript jquery
[3, 5]
94,566
94,567
On enter key move to next cell down in a table
<p>I am trying to create a form where, if you press enter key on the serial column, the cell below becomes selected. Can someone please solve the correct jquery formula for this task?</p> <p>I am trying </p> <pre><code>$('.serial').keypress(function(e) { console.log(this); if (e.which == 13) { $(this)...
javascript jquery
[3, 5]
2,588,502
2,588,503
Writing for iphone and android... are any of the js api worth it?
<p>as we're all aware, there is a a stinking iphone so what is the best way to go about making a cross-phone app as long as those are the only two phones you care about no one buys bb anymore</p> <p>p.s. I don't want to argue phone sales... just what js lib works REALLY well for both and more than just links... tell m...
javascript iphone android
[3, 8, 4]
3,038,361
3,038,362
Move div rather than Remove()
<pre><code> $(settings.widgetSelector, $(settings.columns)).each(function () { var thisWidgetSettings = iNettuts.getWidgetSettings(this.id); if (thisWidgetSettings.removable) { $('&lt;a href="#" class="remove"&gt;CLOSE&lt;/a&gt;').mousedown(function (e) { /* STOP event...
javascript jquery
[3, 5]
4,836,866
4,836,867
How to work with JSON
<p>Okay I'm really sorry if this question has been asked, but I can't seem to find any good help on this. </p> <p>I coded myself a little API for my android app using PHP and Codeigniter. It works through GET requests, so I'll send it some info and it'll return something. When I send it a login request, I want it to v...
java android
[1, 4]
2,108,468
2,108,469
How to pass a php variable($total) i have, to an External Javascript as in input?
<p>I have a php file with a variable $total as one of its variable.</p> <p>AS part of my project I have to print a table of results. I call an external javascript whenever i display the table, something like this </p> <pre><code>echo "&lt;script src='course.js' language='JavaScript'&gt;&lt;/script&gt;"; echo "&lt;tab...
php javascript
[2, 3]
5,304,397
5,304,398
display info for each drop down option
<p>I have 2 jQuery drop down menus. The content of the second drop down is dependent on the value chosen from the first.</p> <p>The code is on this link <a href="http://jsfiddle.net/5tmwg/" rel="nofollow">http://jsfiddle.net/5tmwg/</a></p> <p>sample of the script in the header tag</p> <pre><code>&lt;script type="tex...
javascript jquery
[3, 5]
2,377,546
2,377,547
Using Javascript (DOM) with ASP.NET
<p>I have an asp.net page with several list boxes.</p> <p>I would like to include some javascript on the page that allows a user to drag individual list elements from one box to another.</p> <p>On a normal web page, the script to do this is reasonably simple, however, with the element IDs generated by ASP.NET, I don'...
asp.net javascript
[9, 3]
992,122
992,123
Sort dropdown list by text rather than value
<p>I have dropdown list as follow:</p> <pre><code>&lt;select id="DropdownID"&gt; &lt;option value="1"&gt;Ccc&lt;/option&gt; &lt;option value="2"&gt;Aaa&lt;/option&gt; &lt;option value="3"&gt;Bbb&lt;/option&gt; &lt;/select&gt; </code></pre> <p>but i want dropdown elements sorted by text not value, in alpha...
c# asp.net
[0, 9]
177,928
177,929
How can I retain a GridViewRow value?
<p>My <code>GridView</code> is loaded with data from my database in a <code>DataSet</code>, which corresponds to <code>Label</code>s inside the <code>GridView</code>.</p> <p>When users click the <code>Select</code> button on a <code>GridViewRow</code>, the button fills a <code>TextBox</code> outside the <code>GridView...
c# asp.net
[0, 9]
593,419
593,420
jQuery $(this).attr("href"); driving my crazy
<p>So i'm trying to make a section fade out before following a link like so</p> <pre><code>&lt;a class="fadelink" href="path/to/file"&gt;Hello&lt;/a&gt; &lt;script type="text/javascript"&gt; $("a.fadelink").click(function(e){ e.preventDefault(); $("#content").fadeTo(400,0,func...
javascript jquery
[3, 5]
5,891,994
5,891,995
How can I make a function act like a callback
<p>How can I make <code>shwOpts.show("fast");</code> to act when <code>removeHighlight()</code> is done?</p> <p>I thought if I put an anonymous function as an argument in the other it will act as a callback. This didn't work.</p> <pre><code>removeHighlight : function(f) { // remove previous highlight. ...
javascript jquery
[3, 5]
5,492,962
5,492,963
How does returning activity result works?
<p>Im searching through the Android Developer's manual but I cant find an answer to my question - how exactly the system handles the returning of a particular Activity's result to another application? They both run in separate instances of Dalvik VM - so if I understand it corretly: I have an activity A, that needs a r...
java android
[1, 4]
2,362,787
2,362,788
Why does my "plugin" execute only once?
<p>This is my first attempt to write a jQuery plugin, this one is supposed to fade out the body, switch class, then make the body reappear and let the user switch class back. Unfortunately at this point it can't switch class more than once. How to fix it?</p> <pre><code>(function($) { $.fn.flashClass= function(cl...
javascript jquery
[3, 5]
3,567,175
3,567,176
How can I focus on a given table's row using javascript/jquery?
<p>Having a big html table with many rows that does not fit on the screen, do you know how to focus on a given row with javascript/jquery avoiding the need to scroll down?</p>
javascript jquery
[3, 5]
1,420,172
1,420,173
Extract an image from a video hosted on a web site
<p>I need to extract an image/thumbnail from a video hosted on some website. For exemple, the host could be youtube.com or whatever.com and i want to extract an image for a precise frame, i.e 2:12. </p> <p>I have the direct URL for the video. I searched and found how to do it for youtube or vimeo, they provide xml or ...
c# asp.net
[0, 9]
983,483
983,484
scroll multiple divs bound to window scroll event
<p>i have the following situation: a div on a page which is displayed as a warning after 10 minutes. after 10 minutes at which point the div is visible it must scroll up and down as the user scrolls the page. Also, i have a user control which can get loaded and be a part of the page which also has a div which scrolls...
asp.net jquery
[9, 5]
1,967,418
1,967,419
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]
4,751,554
4,751,555
Need help to use this
<p>Can any one please make it simple or clear to me how the coder has used (this) here in the last line:</p> <pre><code>@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // Set up click listeners for all the buttons View continueButton...
java android
[1, 4]
4,950,974
4,950,975
JQuery: any browsing divs plugin
<p>Imagine i have a grid of 5x5 divs and the first one is selected with class="selected"</p> <p>there is any plugin ready so i can use my keyboard arrows to navigate left/right up down in that grid?</p>
javascript jquery
[3, 5]
5,959,336
5,959,337
What is the best way keep track of your identifiers for your Jquery and CSS?
<p>This is more of an organisation question concerning Jquery.</p> <p>Using the following simple example:</p> <pre><code>&lt;a href="#" class="click"&gt;click me&lt;/a&gt; &lt;script&gt; $(document).ready(function(){ $('.click').on('click',function(){ alert('Clicked!'); }); }); &lt;/script&gt; </co...
javascript jquery
[3, 5]
4,656,258
4,656,259
javascript one letter function names in jQuery
<p>I noticed that the production version of jquery has one-letter function and variable name and was wondering how they achieve that. are there tools to create a production level javascript file from the one use during development? I am having a hard time figuring out how they make sure there are no mistakes, especiall...
javascript jquery
[3, 5]
4,794,382
4,794,383
User generated page? Android
<p>First off, if this is a dumb question, I apologize ahead of time but I cannot seem to find what I need through searching online so I figured I would just ask...</p> <p>Secondly as a little background info... I'm quite new to Android Development, and actually Java in general. No formal training or prior experience t...
java android
[1, 4]
2,970,662
2,970,663
Get IP address of user computer in C#
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stackoverflow.com/questions/735350/how-to-get-a-users-client-ip-address-in-asp-net">How to get a user&#39;s client IP address in ASP.NET?</a> </p> </blockquote> <p>I have a application in which i have to get IP address of user who accessin...
c# asp.net
[0, 9]
2,190,587
2,190,588
setImageresource in android - how to use it for many pictures in a loop
<p>it is a rather simple question. I have 5 imageViews and 5 images in drawable folder. ImageViews are named <code>imageView1</code>...<code>imageView5</code> and images are named <code>image1</code>...<code>image5</code></p> <p>I want how can I write the following elegantly:</p> <pre><code> imageView1.setImageResou...
java android
[1, 4]
497,478
497,479
Using jQuery filter() to get all matched .val()
<p>I have a number of textfields and I need to select the values of those textfields whose values are not equal to their <code>title</code> attribute.</p> <p><strong>Problem:</strong> With my attempt, the jQuery code below simply selects the value of the first matched textfield. How do I get all matched textfields' va...
javascript jquery
[3, 5]
3,728,343
3,728,344
jQuery wait till function is executed
<p>I'm trying to call 2 functions. The first function includes a jQuery effect. The second function (in this case is a jQuery effect), but may only execute if the first function is executed (and finished). Can someone help me out? Thanks!</p> <p>Fox example: <a href="http://jsfiddle.net/fNH2u/1/" rel="nofollow">http:/...
javascript jquery
[3, 5]
4,395,602
4,395,603
Change button background on touch
<p>i want to change the green background of a button when this is touched without using OnTouchListener. i have this situation: i put some butons in a layer, then the layer in another layer, and the last layer in onother layer. when i touch the button the background is changing(i m using OnTouchListener right now) but ...
java android
[1, 4]
785,692
785,693
Best way to Connect to SQL server 2000 with ASP 4.0 on .NET 4.0 build
<p>Can I do this using SqlClient or do I have to use the ODBC route > ? I get error's in VS but from reading through the other post it appears to be an IDE specific problem. </p>
c# asp.net
[0, 9]
47,594
47,595
submitting form with two buttons
<p>I have 2 buttons in HTML form. And both of them should submit the form. I would need to capture which button has been clicked so i can use it to perform different actions based on which button was clicked.</p> <p>I am able to submit the form with both the buttons but how would i capture which button was clicked in ...
php jquery
[2, 5]
3,035,228
3,035,229
Send commands between two computers over the internet
<p>I wish to control my computer (and usb devices attached to the computer) at home with any computer that is connected to the internet. The computer at home must have a program installed that receives commands from any other computer that is connected to the internet. I thought it would be best if I do this with a web...
java php javascript python
[1, 2, 3, 7]
877,747
877,748
Slide div from x,y to x,y?
<p>When someone click on my fields on my virtual game, i get my current left and top cordinates with this:</p> <pre><code> function moveDiv(fromSeat, toSeat){ var fromTop = $('#seat-' + fromSeat).css("top"); var fromLeft = $('#seat-' + fromSeat).css("left"); var toTop = $('#seat-' + toSeat).css("top"); ...
javascript jquery
[3, 5]
247,679
247,680
Know how of Cross Domain Request in Jquery
<p>Can anyone please explain how jquery handles cross domain requests? I understand the theory that it does via script using src attribute as url. But i was trying to test the same thing in plain javascript . I need to know the sequence of activities to be done for a post request. at what stage the data is sent and scr...
javascript jquery
[3, 5]
302,687
302,688
Is there a way to increment time using javascript?
<p>So I am storing times as '01:30:00'. I have a start time and a date time dropdown. I want the dropdown to be set to the start time + 1hr. Is there a way to add the time via javascript or jquery?</p> <p>Here's my current code:</p> <pre><code>$(".start_time").change(function(){ $(".end_time").val($(this).val...
javascript jquery
[3, 5]
50,838
50,839
Which PHP-template to load depends on javascript support
<p>I have the following scenario:</p> <p>A multiple step registration procedure. Let's say it's 4 steps, and each step depends on previous input. This could be solved with or without Javascript.</p> <p>Without JS: A "proceed"-button is attached to each step With JS: The next part is automatically revealed to the user...
php javascript
[2, 3]
5,617,633
5,617,634
jquery append works well for facebook fb:comment-counts but html() is not rendering fb:comment
<p><strong>URGENT REQUIRED</strong></p> <p><strong>using this code to load contents dynamically:</strong></p> <pre><code>function lastAddedLiveFunc() { $('div#lastPostsLoader').html(''); $.get("{/literal}{$baseurl}/{literal}indexmore.php?page="+tpage).done(function(data) { if (data != "") { $(".col-1").ht...
javascript jquery
[3, 5]
4,446,620
4,446,621
Where can I find a plugin that will zoom in and out a div's content with a slider?
<p>Are there any plugins that allows zooming in and out a div and it's content via a slider?</p> <p>Thanks</p>
javascript jquery
[3, 5]
642,641
642,642
Send POST array
<p>i wish to send some data as array from my iphone app to server</p> <p>When i was posting single variables before i was sending the post as an NSString </p> <pre><code>NSString *post =[[NSString alloc] initWithFormat:@"userName=%@&amp;accountID=%@&amp;", username,ac...
php iphone
[2, 8]
1,373,115
1,373,116
jQuery plug-in to remap numeric keypad
<p>Is there a jQuery plug-in to remap the "dot" key in the numeric keypad? The purpose is to make it print a decimal separator, rather than a dot, in languages that use commas or other characters. I'd like to mimic the behaviour of some desktop applications like MS Excel.</p> <p>(It's okay to hard-code the output char...
javascript jquery
[3, 5]
699,845
699,846
Has anyone implemented/imitated the new gawker/lifehacker/gizmodo Layout in Javascript
<p>I'd like to implement the same layout as Gawker sites; <a href="http://lifehacker.com/" rel="nofollow">lifehacker</a> and <a href="http://gizmodo.com/" rel="nofollow">gizmodo</a>.</p> <p>If anyone can suggest a good starting point.</p> <p>--I use JupiterIt JavascriptMVC extensively.</p>
javascript jquery
[3, 5]
3,303,424
3,303,425
Simple android and ASP.NET mix
<p>I write an android application that send text data to asp.net webserver. I'm using next code to sent data via Http:</p> <pre><code>try { URL url = new URL(serverUrl); connection = (HttpURLConnection)url.openConnection(); connection.setDoInput(true); connection.setDoOutput(true); connection.setU...
c# android asp.net
[0, 4, 9]
4,513,853
4,513,854
LinkButton does not invoke on click()
<p>Why doesn't this work?</p> <pre><code> &lt;script src="Scripts/jquery-1.3.2.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(document).ready(function() { $('.myButton').click(); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;form id...
asp.net jquery
[9, 5]
4,801,667
4,801,668
Copy to clipboard using jquery for all browsers
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stackoverflow.com/questions/1390953/how-to-select-all-text-in-a-textbox-and-copy-it-to-clipboard-using-javascript-jq">How to select all text in a textbox and copy it to clipboard using JavaScript/jQuery?</a><br> <a href="http://stackoverflow...
javascript jquery
[3, 5]
4,393,826
4,393,827
Is is possible to transform all js alert messages in modal window?
<p>I'm working on an old site and i would avoid searching&amp;replacing and i was wondering if it is possible to reaplce all alert massages function </p> <pre><code>alert('some msg'); </code></pre> <p>with a jquery modal window...</p> <p>i'm not asking how to do the modal window but if i can create a protoype to re...
javascript jquery
[3, 5]
1,614,470
1,614,471
Access web.config key from codebehind
<p>I have a key in the web.config file like:</p> <pre><code>&lt;add key="MailFrom" value="my@email.com"/&gt; </code></pre> <p>I need to access it in the code behind.How to do this in c#?</p>
c# asp.net
[0, 9]
2,642,719
2,642,720
adding messagebox in ASP.NET
<p>How would I add a javascript MessageBox in ASP.NET in the code behind pages using C#.</p> <p>I have something like this in mind although I still cant get it quite right.</p> <pre><code>if (success == false) { HttpContext.Current.Response.Write("&lt;SCRIPT LANGUAGE=""JavaScript""&gt;alert('User name alr...
c# javascript asp.net
[0, 3, 9]
3,756,784
3,756,785
Create another div and variable onChange using jQuery
<p>below is a code that gets the value of the selected option and shows the php file in the div. How can I add another file and another div (secondfile) to be displayed ?</p> <pre><code>$('#firstresult').empty().addClass("loading") .load(val + '.php', { value: val }, function(){ $("#firstresult").removeCla...
php javascript jquery
[2, 3, 5]
4,942,417
4,942,418
Add onClick Action Listener for dynamically created CheckBox
<p>I am creating CheckBoxes Dynamically in an Android Class <strong><em>(Not Activity)</em></strong>. So I need to add <code>onClick</code> Action Listener to my checkboxes, how to implement this.</p> <p>I am using following code.</p> <pre><code>public class DataBaseAdapter extends SQLiteOpenHelper { ...//onCreat...
java android
[1, 4]
4,860,280
4,860,281
Scrolling div within bounds
<p>I have div with images inside it and need to scroll it left and right. I,ve managed to get the scrolling to work, but now I need it to stay in the displayable area. I need to use jQuery</p> <pre><code>$('#next').click(function() { $('#slides').animate({left: '-=80',}, 2000, function() {}); }); $('#prev').click(fun...
javascript jquery
[3, 5]
4,456,468
4,456,469
Programatically press the Power button to lock the screen
<p>On Android, I see that to make action like as press Back button, we use:</p> <pre><code>super.onBackPressed(); </code></pre> <p>I want make action like as press Power button, but I can not find the method to do that. I searched on Google and this site but do not received a useful result.</p> <p>How can I display ...
java android
[1, 4]
5,156,399
5,156,400
Clicking a div that opens a corresponding div
<p>I am dynamically creating a div class for a set of divs. The class corresponds with the class of another set of divs (also dynamically generated). I gave them the same class so as to be able to click on the div that displays by default and have the corresponding div appear (which is not displayed by default). The...
php jquery
[2, 5]
1,336,221
1,336,222
How fast is Javascript compared to Java?
<p>Are there any tests that compare Javascript's performance with Java's?</p> <p>UPDATE: Since everyone is asking why the hell this question, here is some context :)</p> <p>As you all know - I hope - Javascript nowadays doesn't only reside in the web client but also in the web server with node.js.</p> <p>It could al...
java javascript
[1, 3]
5,805,006
5,805,007
jQuery - Very simple issue i cant sort out (class's and an alert)
<p>I think this may be my most embarrassing question to date.</p> <p>Why does this not work? Ive been staring at this for around half an hour now and im starting to get desperate</p> <p><a href="http://jsfiddle.net/FU6Jb/" rel="nofollow">http://jsfiddle.net/FU6Jb/</a></p> <p>My HTML</p> <pre><code>&lt;a class="clos...
javascript jquery
[3, 5]
3,353,564
3,353,565
How to return error from webmethod?
<p>suppose i am going to call aspx page method decorated with webmethod. so i need to know that how to return error from my webmethod as a result jquery error portion will be invoked and show the error detail?</p> <p>below is a sample code by which i am calling my aspx method.</p> <pre><code>$.ajax({ type: "POST"...
jquery asp.net
[5, 9]
2,881,637
2,881,638
how to set image height and width?
<p>i want one information how will we set constant image height and width using javascript means if we set height 50 and width 65 so only that much size image will insert if user start to insert more than condition one alert message will come iam write code but it not work </p> <pre><code> if((obj.FileUp.value.width&...
javascript asp.net
[3, 9]
5,717,024
5,717,025
What is the difference between loading JS in FF & IE
<p>I am currently working on a heavy web page. This page contains 5 tabs &amp; each tab contains a gridview &amp; multiple server controls. When i work in Edit mode I fetch data from database for all tabs using Ajax request &amp; fill the controls using Jquery. This works fine in mozilla but IE 6 takes time to fill the...
jquery asp.net
[5, 9]
2,203,367
2,203,368
asp.net error as "Too many characters in character literal"
<p>I am calling a javascript on index change of a DropDownList, i do as follows</p> <pre><code>&lt;asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="toggleVisibility('Button1');"&gt; </code></pre> <p>I get the error during compiling as for the above line of code</p> <pre...
javascript asp.net
[3, 9]
3,792,494
3,792,495
scriptmanager.registerstartupscript not working on scriptManager.RegisterPostBackControl buttonclick
<p>Actually I wanted to display the Loading message when I m fetching data from backend and putting in .CSV file, when I was using HttpContext, I was getting error - </p> <pre><code>Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be p...
jquery asp.net
[5, 9]
3,199,039
3,199,040
Alert after checked input checkbox
<p>I want after click on link <code>append</code> html input checkbox in a class, after it when clicked on input checkbox getting alert <code>is checked</code>.</p> <p>I tried as following code but dont work for me:</p> <p><strong>DEMO:</strong> <a href="http://jsfiddle.net/HsveE/" rel="nofollow">http://jsfiddle.net/...
javascript jquery
[3, 5]
5,417,639
5,417,640
Content Provider Example using two android applications
<p>I want to insert or delete the values in another <code>android</code> applications database from my current <code>android</code> application. I searched a lot. Everybody saying that use <code>content provider</code> its not used with two applications all used with in a application. At last i come to the conclusion t...
java android
[1, 4]