Unnamed: 0 int64 302 6.03M | Id int64 303 6.03M | Title stringlengths 12 149 | input stringlengths 25 3.08k | output stringclasses 181
values | Tag_Number stringclasses 181
values |
|---|---|---|---|---|---|
1,429,431 | 1,429,432 | Fill gridview using javascript on selected tree node value | <p>my requirement is to get the result in gridview based on the treeview node selection using javascript i.e. client scripting. Currently the same can be achieved using server side scripting, but i want to do this without postback and without using selectednodeindexchanged event. Pls. help me to solve this problem.</p>... | javascript asp.net | [3, 9] |
1,169,734 | 1,169,735 | Passing around "this" context in jquery | <p>Is this the right way of doing things. Also here i am passing around <code>this</code> context via <strong>_this</strong> is there a better way of doing it </p>
<pre><code>var messages = {
getLoadMore : function(_this){
...............
},
getSwappingData : function(_this){
................ | javascript jquery | [3, 5] |
736,619 | 736,620 | Search Hash Map array for specfic key android | <p>I have an <code>ArrayList</code> of <code>HashMap</code> like this:</p>
<pre><code>ArrayList<HashMap<String, String>> playListSongs = new ArrayList<HashMap<String, String>>();
</code></pre>
<p>I populate the list like this:</p>
<pre><code>for (int i1 = 0; i1 < nl.getLength(); i1++) {
... | java android | [1, 4] |
3,937,694 | 3,937,695 | Javascript struct function that takes an argument | <p>Javascript Noob calling for duty!</p>
<p>I would like to write the code for the following:</p>
<pre><code>var p1 = new LatLon(userLat, userLon);
var p2 = new LatLon(destLat, destLon);
var dist = p1.distanceTo(p2);
</code></pre>
<p>which means I need to cre... | javascript jquery | [3, 5] |
3,494,424 | 3,494,425 | Method undefinied for type ImageView | <p>Hi there
I'm trying to create an ImageView and to set its position without XML.</p>
<p>I've the following code:</p>
<pre><code>public class myClass {
Activity act;
public myClass(Activity act) {
this.act = act;
}
public void setImage(){
ImageView img = new ImageView(act);
i... | java android | [1, 4] |
1,003,090 | 1,003,091 | MembershipProvider Class include reference in Class Project | <p>Im creating a new MemebershipProvider class. but in my project MemebershipProvider class isn't in the references so i had a look for System.Web.Security to include in my project there wasn't one so i included the reference System.Web but i still get no reference to the MembershipProvider class does anyone know what ... | c# asp.net | [0, 9] |
3,822,432 | 3,822,433 | Show or hide a field using jQuery or Ajax | <p>I am new to jQuery and I want to know how to show the date field on a form after a click(select) on the check box and hide it after unselecting it. Below is the screenshot. - Thank you.</p>
<p><img src="http://i.stack.imgur.com/8YdgB.png" alt="enter image description here"> </p>
| javascript jquery | [3, 5] |
1,518,875 | 1,518,876 | Two ASP.NET Postback related questions | <p><strong>Question 1)</strong>
I have a control to which I add an attribute from the server side by using a sentence like:</p>
<pre><code>ControlName.Attributes.Add("myTestAttribute", "")
</code></pre>
<p>From the client side I modify the value of this attribute by using the Javascript function:</p>
<pre><code>Docu... | asp.net javascript | [9, 3] |
1,426,390 | 1,426,391 | How to determine if a web page is jquery-enabled? | <p>What is the best way to determine if a webpage is jquery enabled? Using jquery itself if that's the best way to determine it.</p>
| javascript jquery | [3, 5] |
785,363 | 785,364 | PHP chart Libraries VS JavaScript Chart Libraries | <p>I am just stuck a little in making a choice between PHP chart Lib and JavaScript Chart Lib. I do understand that PHP if for the server side and Javascript for the client side. My problem is what difference does it make when using their charting libraries. Is it performance issue or what? </p>
<p>I want to understan... | php javascript | [2, 3] |
227,204 | 227,205 | How to call javascript/JQuery function from .cs file C# | <p>I'm working on asp.net (C#) project which include some page files (aspx, aspx.cs) and some only (.cs) file. I'm able to access javascript/jquery function from page files (aspx, aspx.cs) using scriptregister. but my question is how to access the javascript/jquery function from alone (.cs) file. I'm generating some ht... | c# javascript jquery asp.net | [0, 3, 5, 9] |
4,313,051 | 4,313,052 | How to stop propagated event from a third function or plugin where we don't have event object | <p>I am creating a plugin to show a modal box . In that i want to assign event on html so that clicking outside of that box ,it must close. If the plugin is called from any event handler it is propagated to body , and closing function is called.
I want to stop propagated event from within the plugin. As i can't ask us... | javascript jquery | [3, 5] |
1,215,237 | 1,215,238 | How do I listen for specific button presses, and home view user interactions? | <p>My application listens for user input from the touchscreen and the buttons, but I would like to listen for interaction with specific items in the homescreen view. So, for example, I need to listen for the user to tap the menu button, and then to produce output. Is there a paramater I can pass through the onClick()... | java android | [1, 4] |
5,311,385 | 5,311,386 | repeater databinding , with manipulation of certain data on every item binded | <pre><code>in a repeater, i want to do a function on every item bounded, example
<asp:Repeater runat="server" ID="rptArticleContent"
OnItemDataBound="rptArticleContent_ItemDataBound">
<ItemTemplate>
<tr>
<td width="365" valign="top" align="left" class="bodyContent" bgcolor="#FFFFFF">
<div>... | c# asp.net | [0, 9] |
5,833,192 | 5,833,193 | How to delay an event in jQuery? | <p>In jQuery can you do something after you press a button and the timer starts to go from 3 seconds down to 0?</p>
<p>Like you have a button. You press it. 3 Seconds go by and bam.. an event fires.</p>
| javascript jquery | [3, 5] |
3,922,467 | 3,922,468 | How to replace force close screen with appropriate error message. | <p>How to replace force close screen with dialog box and appropriate error message?
Can any one help me to come out of this ?</p>
| java android | [1, 4] |
2,788,170 | 2,788,171 | Insert an element before and after substring | <p>How would you insert substrings between elements using regular expressions or an alternative form in javascript/jQuery?</p>
<p>For example I have the following string:</p>
<blockquote>
<p><code>This is a string 015 with numbers 1486453 randomly 10 inserted
between words 0954</code></p>
</blockquote>
<p>If my... | javascript jquery | [3, 5] |
322,312 | 322,313 | How to reference xml file locally? | <p>I have a solution with an ASP.NET project and a Class library project where the ASP.NET project depends on the Class library as a data access layer.</p>
<p>In my Class library project, I have SiteSetting.xml and c# code that's requesting the xml file as follows.</p>
<p>C# Code:</p>
<pre><code>
DataSet ds = new Da... | c# asp.net | [0, 9] |
3,837,110 | 3,837,111 | Javascript debugging plugin for eclipse | <p>I'm new to Java and I'm doing a project with Ext JS and Java. I'm using Eclipse Java EE IDE for Web Developers (Build id: 20100218-1602). Can anyone suggest any Javascript debugging plugin for this build? Links appreciated</p>
| java javascript | [1, 3] |
4,168,121 | 4,168,122 | Receiving data from Android in a ASP.NET web site | <p>I wrote an Android app that sends data to an ASP.NET web site. When I test the app, I get the error:</p>
<blockquote>
<p>Connection to <code>https://localhost:1863</code> refused.</p>
</blockquote>
<p>How do I solve this problem? Also, how do I go about storing this data into <a href="http://en.wikipedia.org/wik... | android asp.net | [4, 9] |
5,930,169 | 5,930,170 | jQuery/javascript object passing | <p>Up until this point, I haven't done much in javascript. I recently started playing with jQuery and came across a tutorial on how to do <a href="http://docs.jquery.com/Tutorials:Edit%5Fin%5FPlace%5Fwith%5FAjax" rel="nofollow">Edit in Place</a> on a form.</p>
<p>The resulting code works perfectly if you hard-code th... | javascript jquery | [3, 5] |
5,877,668 | 5,877,669 | How do i stop the script message i am getting this message in internet explorer? | <p><img src="http://i.stack.imgur.com/mVzR6.jpg" alt="error screenshot"></p>
<p>I have designed hotel reservation system ,i have customized jquery calender and i have functions for the dates to check if they are booked or not then i lock these dates through my javascript functions . It works perfect in all br... | php javascript jquery | [2, 3, 5] |
3,237,829 | 3,237,830 | Java 1.7 vs C# List/Set/Map syntactic sugar | <p>The following is supposed to be part of Java 1.7:</p>
<pre><code>List<String> list = ["item"];
String item = list[0];
Set<String> set = {"item"};
Map<String, Integer> map = {"key" : 1};
int value = map["key"];
</code></pre>
<p>The same can pretty much be done in C# (and VB.NET) with a slightly ... | c# java | [0, 1] |
3,446,534 | 3,446,535 | Prevent keypress whilst shift key is held | <p>I'm trying to prevent certain keys from being entered into an input box, but only if that particular key is pressed <strong>whilst the <kbd>shift</kbd> key is held</strong>:</p>
<pre><code>$('selector').keydown(function(e) {
console.log(e.shiftKey);
if (e.shiftKey && e.which == 51) {
e.preventDefaul... | javascript jquery | [3, 5] |
3,583,499 | 3,583,500 | converting selected value from dropdownlist into int | <p>I have a drop down list and I want the selected value to put into an int variable, then in my aspx page I want to assign it to a rowspan. This is my C# code for getting the value and converting it:</p>
<pre><code>protected void drop_SelectedIndexChanged(object sender, EventArgs e)
{
int a = Int3... | c# asp.net | [0, 9] |
2,730,304 | 2,730,305 | Create a custom print ready image | <p>I am looking to create a small app that allows a user to create a custom cover for a book. The client doesn't want to just be supplied with what the customer selected but a print ready 300dpi JPEG or PDF. </p>
<p>I know PHP can handle most of this. But the customisation seems to be a bit difficult to get right. I h... | php javascript | [2, 3] |
5,101,104 | 5,101,105 | How to check if EditText has a value in Android / Java | <p>This should be simple, but I have tried if statements checking for null values and also ones checking the .length of it:</p>
<pre><code>EditText marketValLow = (EditText) findViewById(R.id.marketValLow);
EditText marketValHigh = (EditText) findViewById(R.id.marketValHigh);
if (marketValLow.g... | java android | [1, 4] |
701,753 | 701,754 | Why can't I hide inherited events the same way I can hide properties? | <p>I've got a usercontrol which inherits from the UserControl class. There are a bunch of items I want to hide from anyone who uses the class.</p>
<p>I can hide properties just fine...</p>
<pre><code>public partial class userControls_MyControl : System.Web.UI.UserControl {
private new bool EnableTheming {get; se... | c# asp.net | [0, 9] |
3,510,603 | 3,510,604 | Quiting the page before a form submission | <p>In my application I am showing the warning message when the user want to leave the page before submitting the form. I am using window.onbeforeunload() in the script. My application has a Master page.</p>
<p>I have four different views for a single form. I am inserting record in first view itself.
When user quits t... | asp.net javascript | [9, 3] |
6,030,804 | 6,030,805 | Listview: Bind data from db to label control by column id not name | <p>Appologies if this has already been visited a 1,000 times over but I cant think how to word my search to get the result.</p>
<p>I've inherited a crappy db structure where various table use the same column names, meaning that various stored procedure return result with duplicated column names such as 'id'.</p>
<p>S... | c# asp.net | [0, 9] |
4,735,871 | 4,735,872 | CSS Emoticons plugin and realtime update of text | <p>This code read the pms, that is stored inside a php file and print them on the screen every 0.01 second to be in realtime or work dynamic, but i'm using a "CSS Emoticons plugin", it works and show the emoticons, but i can't use the animate one or i can, but it would not finish, it would restart every 0.01 second unl... | javascript jquery | [3, 5] |
1,554,157 | 1,554,158 | Better way to develop a remote database driven android app? | <p>i have a wordpress blog hosted over my personal shared hosting.Now i want to develop an android app for that blog so the users can use the mobile app to see what i am writing on my blog.</p>
<p>Like for example you can take mashable.com android app.</p>
<p>so basically i have experience in programming android aap ... | java android | [1, 4] |
4,178,218 | 4,178,219 | jQuery DIV click, with anchors | <p>To make click-able divs, I do:</p>
<pre><code><div class="clickable" url="http://google.com">
blah blah
</div>
</code></pre>
<p>and then </p>
<pre><code>$("div.clickable").click(
function()
{
window.location = $(this).attr("url");
});
</code></pre>
<p>I don't know if this is the best way, but... | javascript jquery | [3, 5] |
4,154,029 | 4,154,030 | Continuously updating chat messages | <p>I'm creating a very simple chat application. It has an ASP.NET web page as front-end and a WCF service as back-end for storing the messages to a database.</p>
<p>Everything works great except one thing; when Browser A enters a chat message I want Browser B to see the message as soon as possible (yeah, I know, that'... | c# asp.net | [0, 9] |
750,331 | 750,332 | can't get string result of replaceWith | <p>this is what I'm trying to do:</p>
<pre><code>var x = $("<div><div class='aaa' /></div>").find('.aaa').replaceWith("hi");
alert(x);
</code></pre>
<p>the result of the alert is <code>object</code> I need <code><div>hi</div></code></p>
| javascript jquery | [3, 5] |
1,792,875 | 1,792,876 | How to check adobe reader installed or not without Active-X checking in Javascript | <p>I have a situation where in clients system active-x checking is disabled it seems and because of security reason they cant enable it.</p>
<p>In my application i have to test whether client system has adobe reader installed or not. Is it possible without checking/creating new active-x object to validate for IE?</p>
... | java javascript | [1, 3] |
3,161,354 | 3,161,355 | Is it possible to animate Jquery .CSS background change? | <p>I am attaching background images to the body element using this: </p>
<pre><code><script>
$(document).ready(function(){
$("body").css( "background" , "url(someimage.jpg)");
});
</script>
</code></pre>
<p>This is nice, but the background images are really large and I would like to fade them in usi... | javascript jquery | [3, 5] |
2,419,060 | 2,419,061 | Program Logic to show two customized dialogs with in one onCreateDialog()? | <pre><code>public class HomeScreen extends Activity {
static final int DIALOG_ID_X = 0;
static final int DIALOG_ID_Y = 1;
button1.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
// TODO Auto-generated method stub
showDialog(DIALOG_ID_X);
... | java android | [1, 4] |
2,657,325 | 2,657,326 | ASP.NET beginner question: How do I implement something like this is my ASP.NET C# website? | <p>I want to create an FAQ page like the one on this website</p>
<p><a href="http://www.microsoft.com/windows/windows-7/faq.aspx" rel="nofollow">http://www.microsoft.com/windows/windows-7/faq.aspx</a></p>
<p>When you click on the question, the answer expands. Click it again and it collapses.</p>
<p>My question, answ... | c# asp.net | [0, 9] |
3,659,643 | 3,659,644 | How to run the main method of an Android Activity class? | <p>I'd would like to examine a private method of an <strong>Android Activity</strong> by executing it within the Activity's <strong><em>public static void main(String[] args)</em></strong> method which I created.</p>
<p>I use <strong>Eclipse ADT</strong> and my naive approach of running the <em>Activity</em> as a <str... | java android | [1, 4] |
5,298,776 | 5,298,777 | Javascript calling so fast | <p>I have an annoying little issue here. I have code which loads content from page2 and appends it to <code>#content</code>. That works, but sometimes it happens twice, then appends page3 before page2. Thats because in page3, there is just one post, but in page2, 4 posts.</p>
<p>How can I make my code wait until the... | javascript jquery | [3, 5] |
4,395,270 | 4,395,271 | Looking for ideas for Multipart Form Handling on Web Service | <p>I'm playing around with writing a web service that runs on Android
that handles uploading photos. I am only writing the server, and do
not have any control over the client. </p>
<p>Inside of the message is a small SOAP message, and then the binary
data. I am trying to figure out if there's a library that can d... | java android | [1, 4] |
2,814,122 | 2,814,123 | 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] |
2,497,278 | 2,497,279 | android.os.NetworkOnMainThreadException in AsyncTask | <p>I realise that this error happens when you attempt to do some sort of network request on the UI thread, but as you can see in the code below I am actually calling the Http Get in an AsyncTask:</p>
<pre><code>public class LeftPaneFragment extends Fragment {
private ImageView _profileImage;
@Override
pu... | java android | [1, 4] |
610,669 | 610,670 | How to edit the style attribute from an element with Jquery | <p>I need to edit the style attribute with jQuery.
Here is what I am trying to do. </p>
<p>I have a div</p>
<pre><code><div style="background:url('images/image.png') no-repeat scroll 0 0 transparent;color:red;">
hello
</div>
</code></pre>
<p>and I need to change the <code>background</code> to something e... | javascript jquery | [3, 5] |
5,452,209 | 5,452,210 | Php and Javascript connection | <p>I'm very interested in if it is possible to connect javascript variables to php. I know that in php we can write javascript code, but on the contrary we could not. To express my aim better , lets bring example like that: </p>
<pre><code><form name="some" action="<?php $_SERVER['php_self']; ?>" method="post... | php javascript | [2, 3] |
4,676,920 | 4,676,921 | Android Run Java everytime page accessed | <p>I currently have a home screen of my app where it displays a number all this shows is how many questions have been answered. Another button takes you to answer questions and it updates the database value.</p>
<p>I have found that the home page number display only updates the first time the app is opened. If you go ... | java android | [1, 4] |
1,628,753 | 1,628,754 | How to verify that the mouse over an element? | <p>Do you know how to check whether the mouse is over an element?</p>
<p>Somethnig like this?</p>
<pre><code>setTimeout(function() {
if($(this).mouseover()) { // this not work
return false;
} else {
$(this).hide();
}
}, 1000);
</code></pre>
<p>Thanks.</p>
| javascript jquery | [3, 5] |
4,909,180 | 4,909,181 | How to assign the function keys in web application in ASP.Net with C# | <p>I am using the web application and i want to use the function keys(f1,f2,...) in my web application as we can do in the windows application.</p>
<p>How can i do this?</p>
<p>Thanks,
Vara Prasad.M</p>
| c# asp.net | [0, 9] |
2,144,176 | 2,144,177 | jQuery slidetoggle resizable sharing height issue | <p>I have a container that is the page's height. In this container is a series of slideToggle containers that also are re-sizable. I am trying to figure out a way to make it so they all the slideToggle containers can share the parent's height. They can all either be opened or closed and also re-sized. Here is a <a ... | javascript jquery | [3, 5] |
3,910,256 | 3,910,257 | Custom Handler Doesn't Like Spaces On Firefox | <p>I have a custom handler implementing IHttpHandler. The custom handler allows us to produce a dynamic URL for people to download files.</p>
<p>The code looks like this,</p>
<pre><code>public void ProcessRequest(HttpContext context)
{
context.Response.AddHeader("Content-Disposition", "attachment;filename=" + att... | c# asp.net | [0, 9] |
1,852,069 | 1,852,070 | javascript: is it possible to embed a script if it isn't already defined? | <p>I'm having an issue where I have a page with a bunch of user interface based tabs. When a particular tab gets hit, an HTML form gets retrieved via XHR. That form has JavaScript embedded in it, some jQuery ajax form handlers, etc. Works fine and everything the first time the form is submitted. On subsequent submissio... | javascript jquery | [3, 5] |
2,330,007 | 2,330,008 | how to get id from .html() in jquery | <p>following is my code i want to access "course-type" id from .htm() method how to access that id</p>
<pre><code> $("#question-type").html("<option>Select</option><option>Excel Sheet</option><option>One by One</option>");
$("#question-type").change(function(){
$("#course").htm... | javascript jquery | [3, 5] |
4,738,845 | 4,738,846 | enter qty and update total order | <p>Just making a very very simple order form.</p>
<p>Want a input box ( only accept numbers )</p>
<p>User enters a quantity , lets say 50</p>
<p>We have a multiplier value which is lets say 10</p>
<p>Want a disabled form field, showing the result of 50 x 10 </p>
<p>So form field would show 500</p>
<p>so now we ha... | javascript jquery | [3, 5] |
8,945 | 8,946 | Access hidden input variable from base class | <p>My aspx page has:</p>
<pre><code><input type="hidden" id="txtHidden" runat="server" />
</code></pre>
<p>This aspx page has a ascx control (inherits from <code>BaseUserControl</code>) which calls a method in the base user control class</p>
<pre><code>base.SetHidden("test");
</code></pre>
<p>The base user co... | c# asp.net | [0, 9] |
5,824,387 | 5,824,388 | Reverse Polish notation as code parser for Delphi | <p>Are there any known solution to implement code syntax checker for Delphi?</p>
<p>It would be written in any languahe, C++, C#, JAVA, no matter..</p>
| c# java c++ | [0, 1, 6] |
4,031,721 | 4,031,722 | Grab innertext from an anchor serverside | <p>How can I grab the <code><a></code> inner text? Are there any HTML helpers for this to work serverside with ASP.NET webforms? (this is not an MVC app)</p>
<pre><code>Method()
{
string trackingNumber = Database.GetTrackingNumber();
ExtractText(trackingNumber);
}
string GetTrackingNumber()
{
return... | c# jquery asp.net | [0, 5, 9] |
5,726,057 | 5,726,058 | SlideUp block in the block that is already SlidedUp | <p>I have a #cart_block_top_no_products with 'No products' text at the top right - here is the link <a href="http://livedemo07682.prestatrend.com" rel="nofollow">http://livedemo07682.prestatrend.com</a> just hover over the cart please. When adding product to the cart and quickly hover the cart we will see that product ... | javascript jquery | [3, 5] |
4,077,719 | 4,077,720 | jQuery Setting an option on a select box | <p>I can't seem to get this to work...</p>
<pre><code><select id="selectBox">
<option value="A">Number 0</option>
<option value="B">Number 1</option>
<option value="C">Number 2</option>
<option value="D">Number 3</option>
<option value="E">Number 4</option... | javascript jquery | [3, 5] |
5,838,820 | 5,838,821 | read name of unknown properties | <p>I have a simple javascript object with several unknown properties containing a value. The problem is that i don't really know the name of the field since it is variable. How can I access this unknown property?</p>
<p>For better understanding I have a simple object like following:</p>
<pre><code>var a = { cat : "me... | javascript jquery | [3, 5] |
347,920 | 347,921 | how to remove and <br> using javascript or jQuery? | <p>I have written the following code. But it is removing only <code>&nbsp;</code> not <code><br></code></p>
<pre><code>var docDesc = docDescription.replace(/(&nbsp;)*/g,"");
var docDesc1 = docDescription.replace(/(<br>)*/g,"");
</code></pre>
| javascript jquery | [3, 5] |
4,209,506 | 4,209,507 | Google Map Marker + JQuery: Change icon | <p>If I already displayed a google map marker.</p>
<p>How could I change its icon using Jquery?</p>
<p>Thanks in advance.</p>
| asp.net jquery | [9, 5] |
1,121,923 | 1,121,924 | javascript jQuery get object key | <p>I have the following code:</p>
<pre><code>!function($){
$.keys = {
backspace: 8,
tab: 9,
enter: 13,
escape: 27,
space: 32,
pageUp: 33,
pageDown: 34,
end: 35,
home: 36,
left: 37,
up: 38,
right: 39,
down: 40,
... | javascript jquery | [3, 5] |
4,322,305 | 4,322,306 | Why "this" argument in jQuery returns href with anchors | <p>I have this for exemple:</p>
<pre><code><div id="example">
<a href="http://www.google.com/#1">Hello</a>
<a href="http://www.google.com/#4">Hello</a>
</div>
</code></pre>
<p>And this two line of jQuery:</p>
<pre><code>jQuery("a").filter(function() {
console.log(""+th... | javascript jquery | [3, 5] |
3,333,888 | 3,333,889 | javascript escaped string is not getting unescaped with c# regex.Unescape() | <p>I am sending an escaped string from javascript to c# controller and now i want it to unescaped in c#. I used regex.Unescape() in c# but its not working. Now how i will Unescaped it in c#?</p>
| c# javascript | [0, 3] |
3,486,017 | 3,486,018 | jquery work in json | <p>i am new in jquery.<br>
i want to send data in my index.php through ajax. i want to encode it in json and the decode it in normal to work on it. any one help me or suggsest me some helpfull url?<br>
I am using jquery ajax function.
thanks in advanse.</p>
| php jquery | [2, 5] |
5,224,637 | 5,224,638 | online payment process in radio button | <p>hi guys im developing in my own website.every thing works fine.i want to know if i clicks the any one of the radio button that value change correspondingly.can any one please post some code i tried this below code. my website is http:spsmobile.co.uk just check the link
in this page u just go to phone unlock and clic... | javascript jquery | [3, 5] |
3,275,045 | 3,275,046 | How to raise an event on find bar text change | <p>How can i get the find bar text in a browser and is there any way to raise an event when the text is changed inside findbar.<br>
My Intention behind this is assigning the value to a Local variable on findbar change.</p>
| javascript jquery | [3, 5] |
4,506,654 | 4,506,655 | Sizzle Selector Engine Error | <p>I'm attempting to use jQuery and ASP.NET. I am pasting the server control "ClientID" into a jQuery selector and I'm getting an error (with no error text) from the Sizzle selector engine.</p>
<p>My selector looks like this...</p>
<pre><code>$('#ctl00_ContentPlaceHolder1__phProfileHeader__filProfileImage')
</code><... | asp.net jquery | [9, 5] |
905,856 | 905,857 | get id parameter and increment count for each click in jquery | <p>I want to get the id value of <strong>c_i</strong>. And each time <strong>c_i</strong> is clicked I want to increment the value at <strong>chk_count</strong>, using jquery</p>
<pre><code><div id='d<? echo $i; ?>' style='margin-bottom:8px; border:#cccccc thin solid; height:25px;'>
<span st... | php jquery | [2, 5] |
1,290,370 | 1,290,371 | setting margin of a TableRow issue | <p>I have the following code, which tries to set the margin:</p>
<pre><code>TableRow tr = new TableRow(this);
TableLayout.LayoutParams tableRowParams=
new TableLayout.LayoutParams
(TableLayout.LayoutParams.FILL_PARENT,TableLayout.LayoutParams.WRAP... | java android | [1, 4] |
1,426,028 | 1,426,029 | Setting ASP.NET control property using jquery script | <p>I'm trying to set new value for asp.net control property when I check a checkbox.</p>
<p>In my case I have RegularExpressionValidator asp.net control and when I check the box I would have new value for the properties ErrorMessage and ValidationExpression.</p>
<p>I tried this code but did not work with me.</p>
<p>... | asp.net jquery | [9, 5] |
2,248,361 | 2,248,362 | Call a javascript from java step by step | <p>Is there a way to execute a java script from within a java program in a step-by-step manner?</p>
<p>I know how to call javascript from java. I know about Rhino or Beanshell.
No web server involved.</p>
<p>What I'm trying to achieve:
Have multiple scripts execute semi concurrently scheduled by a scheduler where eac... | java javascript | [1, 3] |
5,274,262 | 5,274,263 | jquery: event for when ajax loaded content is all loaded (including images) | <p>I'm loading in some html via ajax, I need an event to catch on to when the new images are loaded...</p>
<p>becuase it's in a div and not a whole page, I can't use <code>$(window).load(....</code></p>
<p>I've tried the following but it doesn't work:</p>
<pre><code>$('.banners_col img:last').load(function(){.....
<... | javascript jquery | [3, 5] |
5,134,935 | 5,134,936 | Any Idea for Andriod app development | <p>Just wondering if anyone can help me in andriod app development. Im new to this one and i dont know where to start. </p>
<p>andriod app has extension name .apk and im thinking if it uses different language to develop or i can use PHP, JAVA or c++ to create an app then save the app as .apk.</p>
<p>Any idea guys?? <... | java php android c++ | [1, 2, 4, 6] |
2,703,292 | 2,703,293 | Login status lost after closing the browser | <p>I have a login system using FormsAuthentication that for some reason is logging me out when closing and opening the browser. Here is how I have setup my login code:</p>
<pre><code> FormsAuthenticationTicket ticket;
ticket = new FormsAuthenticationTicket(1, tbUsername.Text, DateTime.Now, ... | c# asp.net | [0, 9] |
3,903,089 | 3,903,090 | Ensuring correct date/time | <p>we are creating a location-enabled app where users use this app to record certain events in the field. </p>
<p>The important part of the event data is when an event happened. This is no issue when user is online, but we also support situations when user is offline (by remembering & later syncing events). </p>
... | iphone android | [8, 4] |
2,080,679 | 2,080,680 | Jquery help me analyze what happened: mouseover/mouseout ok but not hover/unhover | <p>I've been working on some code where I trigger the code on <code>hover/unhover</code>. Then I decided to trigger the same code also on <code>focus/blur</code>. Usually with <code>hover/unhover</code> only, I go for the usual <code>hover comma no unhover</code> format. But this time since I was trying to add <code>fo... | javascript jquery | [3, 5] |
2,749,484 | 2,749,485 | the main cause of application force close on android | <p>What is the main cause of force close on android? Is there any way to help avoid unwanted force close problem when coding an android application?</p>
| java android | [1, 4] |
3,861,643 | 3,861,644 | How to select different input type at the same time? | <p>Is it possible to do something like this in jQuery to select multiple input control so that I can bind the onchange event on all of them at the same time.</p>
<pre><code>jQuery('div input[type=(text|select|radio|checkbox)]')
</code></pre>
<p>or is it something like this <code>jQuery('div input[type=*]')</code> ?</... | javascript jquery | [3, 5] |
3,519,145 | 3,519,146 | jQuery retrieve parameter from function call | <pre><code> $(document).ready(function(){
$('#cumulative-returns').graph({
width: 400,
height: 180,
graphtype: 'bar'
});
});
</code></pre>
<p>I have a binded a function on click to <code>#cumulative-returns</code> and I want to be able to get the <code>graphty... | javascript jquery | [3, 5] |
3,243,598 | 3,243,599 | How to stream music in aspx | <p>I'd like to stream music with aspx, but i dont know how to start!
My general idea is that users, can have their one playlists, and upload their musics, but i dont know how can they hear their own musics trough the website.
The second idea is that the most voted playlist is streamed online for the people who want to ... | c# jquery asp.net | [0, 5, 9] |
388,744 | 388,745 | How to access complex object in jquery | <p>The beans are defined as,</p>
<pre><code>class A
{
String id;
}
class B
{
A a;
String name;
}
</code></pre>
<p>From the controller class, an object of B is returned, I can access name but not a.</p>
<pre><code><script type="text/javascript">
$(document).ready(function(){
$("#name").change(func... | java jquery | [1, 5] |
1,266,867 | 1,266,868 | Run javascript after CSS is dynamically load and rendered | <p>I would like to load css files dynamically, and run a js script after the css is <em>rendered</em> on the document. I want to use an element's new width and height which is set by the loaded css.. So it's important to run the js after render. Is it possible? I'm using jQuery.</p>
| javascript jquery | [3, 5] |
5,936,072 | 5,936,073 | loading several forms in a div but every form disappears when i click submit | <p>I have an index page, i am loading several pages in a div in that page by clicking links , some of them are forms(pages). When i click submit, the information is processed correctly and it is stored in the database but the page disappears because of which i am unable to see some useful information like errors genera... | php javascript jquery | [2, 3, 5] |
1,425,800 | 1,425,801 | Custom events and event pooling in jQuery - What's the point? | <p>I've been reading about custom events in jQuery and why they should be used but I'm still clearly missing the point. There is a very good article I read <a href="http://www.michaelhamrah.com/blog/index.php/2008/12/event-pooling-with-jquery-using-bind-and-trigger-managing-complex-javascript/" rel="nofollow">here</a> ... | javascript jquery | [3, 5] |
668,581 | 668,582 | jQuery target $(window) on a specific webpage | <p>I'm just wondering if there is any easy way i can target $(window) to only work on localhost/website/hello and not localhost/website/bye</p>
<p>I've made a easy test script,</p>
<pre><code>$(window).scroll(function(){
if ($(window).scrollTop() == $(document).height() - $(window).height()){
alert('Hello... | javascript jquery | [3, 5] |
28,861 | 28,862 | how can change value of a div | <pre><code>"<div id="diva">this is div a</div>"
"<div id="divb"> this is div b</div>"
</code></pre>
<p>now how can I change the text of <code>div</code> dynamically by button click. here also mention that all text come from a database. when I click the button then it detects the <code>div</code... | php javascript | [2, 3] |
1,063,793 | 1,063,794 | Inspect UI elements in Android | <p>One of the most powerful tools coming from web development is the inspect elements capability in webkit/firebug that allows you to inspect the items in the DOM. Is there any equivalent for Android (non-web) development? I've been looking into MonkeyRunner but I'm not sure it has a way to describe the running app yet... | java android | [1, 4] |
2,549,724 | 2,549,725 | detect numbers or letters with jquery/javascript? | <p>i want to use an if-statement to run a code only if the user types in a letter or a number.</p>
<p>i could use </p>
<pre><code> if(event.keyCode == 48 || event.keyCode == 49 || event.keyCode == 50..) {
// run code
}
</code></pre>
<p>but is there an easier way to do this? maybe some keycodes dont work in a... | javascript jquery | [3, 5] |
4,126,030 | 4,126,031 | Javascript onclick and not mouseover | <pre><code>$(function() {
$(".popup").hide();
$(".clickMe").mouseover(function () {
$(".popup").show();
}).mouseout(function() {
$(".popup").hide();//Set this to default hide
});
});
<script type="text/javascript"src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.... | javascript jquery | [3, 5] |
2,343,463 | 2,343,464 | Select pdf urls with jQuery | <p>I want to select urls with pdf file extension and list the pdfs separately, using jQuery or PHP.</p>
<p>Thanks
Jean</p>
| php jquery | [2, 5] |
4,385,298 | 4,385,299 | Javascript stopped working | <p>For some reason, the scripts that I have set up on my wordpress install stopped working yesterday afternoon. I had been editing things, but I'm not sure what I could have done that caused it to stop.</p>
<p>Is there any way that I can error check why it's not working, or any common reasons why it might not be?</p>
... | jquery javascript | [5, 3] |
4,811,463 | 4,811,464 | Custom Text Box control | <p>I have a specific need to control how some text is entered in a multiline textbox (ASP:TextBox)</p>
<p>At first I though I could control it with just JavaScript but it appears I can get close but not 100% of what I need.</p>
<p>Now I'm wondering if I need to write a control from scratch (never done that) or if I c... | c# javascript asp.net | [0, 3, 9] |
865,971 | 865,972 | Android - exact mathematical calculation | <p>I have got a Problem, I am developing an Application which should be able to do some mathematic calculations. These calculations have to be exact (or rather not obviously wrong)</p>
<p>But this simple Code </p>
<pre><code>double a = 3.048d;
double b = 1000d;
double c = a / b;
</code></pre>
<p>gives me a wrong re... | java android | [1, 4] |
1,511,755 | 1,511,756 | Acer support style search boxes | <p>I would like to create a search box, with sliding the boxes contain the results. I would like to create a search form like this:</p>
<p><a href="http://www.acer.co.uk/ac/en/GB/content/drivers" rel="nofollow">http://www.acer.co.uk/ac/en/GB/content/drivers</a></p>
<p>How can i do this? Could you suggest me an exampl... | php javascript jquery | [2, 3, 5] |
2,949,456 | 2,949,457 | moving back to the position of a div is not correct jquery | <p>I have a div and then move the div by using drag function of Jquery.</p>
<p>after dropping the item, I made it such a way that if I click on the item, it will be back to the old position.</p>
<p>I saved the initial position of the div: <code>offset()</code> and then set it again.</p>
<p>I check on the debug data,... | javascript jquery | [3, 5] |
2,841,051 | 2,841,052 | need to add a word to a div if a certain object value is true | <p>Okay, so I'm parsing some data from a webservice here.
I'm just throwing in a bunch of values from a json object into html, however! i need to check if a certain json value is set to true or false. If so, i need to remove/add a word.</p>
<p>So i basicly i need to get a bunch of prices out. That's easy</p>
<pre><c... | javascript jquery | [3, 5] |
4,854,599 | 4,854,600 | Hide 'View Item' link in preview window in sharepoint asset library | <p>I need to hide 'view Item' link in pop up (shown below) from preview window. I uploaded a video in asset library. As per requirement users should not download videos from library. How to hide or disable view item link. Any help?<img src="http://i.stack.imgur.com/zsCsf.png" alt="Hide 'View Item' link"></p>
| javascript jquery | [3, 5] |
4,146,218 | 4,146,219 | On Mouse Over change the RotatorType property of RadRotator using javaScript | <p>*<em>Below is my Code:- But its not working *</em></p>
<pre><code><telerik:RadRotator ID="TestRotator" runat="server" Width="560px" Height="140px"
ScrollDuration="2000" FrameDuration="20000" ItemHeight="120" ItemWidth="520"
WrapFrames="true" Skin="Forest" SlideShowAnimation-Type="none" RotatorType="SlideShow... | 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.