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,282,655 | 2,282,656 | Is this Possible to Count a Button Click in postbacks | <p>What i trying to do is simply <strong>disable a button after 4 clicking</strong> but when the post backs occurs then it doesn't have a count of clicks.
i trying to do that by jquery. Any suggestions.?
<br/>
Correct me if i am wrong by asp.net we do that by putting a static variable and increment the count on butt... | c# jquery asp.net | [0, 5, 9] |
276,430 | 276,431 | From javascript array to mysql | <p>Im making a 100% javascript and canvas web application, no forms at all. I have a js array with data and I'm wondering how could be possible to pass it to a php script so it gets loaded into the database. Suggestions? </p>
| php javascript | [2, 3] |
3,186,498 | 3,186,499 | How do I get Jquery to compare between two selectors? | <p>I think my JQuery knowledge is a little lacking.</p>
<p>On my page I have 0 or more hidden variables that look like this.</p>
<pre><code><input type='hidden' class='defaultTickedStatus' value='INACTIVE' />
<input type='hidden' class='defaultTickedStatus' value='ACTIVE' />
</code></pre>
<p>They can be ... | javascript jquery | [3, 5] |
2,381,896 | 2,381,897 | put value in textarea using jquery | <p>I want to put the value in textarea using the jquery. I'm using the following code. It is not working.</p>
<pre><code> <link rel="stylesheet" href="css/jquery.wysiwyg.css" type="text/css" />
<script type="text/javascript" src="js/jquery.wysiwyg.js"></script>
<script type="text/javascri... | javascript jquery | [3, 5] |
4,362,029 | 4,362,030 | How to create delay before ajax call? | <p>I am using jQuery 1.8. </p>
<p>I have a series of checkboxes that a user can check to get information on particular product. When the box is check, a function is called and loads the product info into a div. CURRENTLY, the function fires immediately after each click. So, if the visitor checks all five boxes, the ... | javascript jquery | [3, 5] |
2,849,070 | 2,849,071 | Converting string to object | <p>Is it possible to convert a string that was created by Object.ToString() back to the original object i.e:</p>
<pre><code> public boolean dispatchKeyEvent (KeyEvent event) {
appendLog(event.toString());
return super.dispatchKeyEvent(event);
}
</code><... | java android | [1, 4] |
3,127,453 | 3,127,454 | calling alert from code-behind | <p>i have a dropdownlist and a listbox both asp.net controls</p>
<p>i am trying to prevent the user add duplciate items to listbox control</p>
<p>i able to block it but i want to display DIV or Alert box saying,"duplciate names are not allowed"</p>
<pre><code>protected void btn_AddRecipientAction_OnClick(object sen... | asp.net jquery | [9, 5] |
1,474,859 | 1,474,860 | Eval() in ASP. How to pass values on redirect throught session | <p>I have this image button inside a grid view which redirects the groupname to the send message.aspx. </p>
<pre><code> <asp:ImageButton ID="img_Send" ImageUrl="Styles/Images/Message.jpg" Enabled="True" Width="" runat="server" PostBackUrl='<%# Eval("GroupName", "SendMessage.aspx?GroupName={0}") %>'></as... | c# javascript asp.net | [0, 3, 9] |
4,324,791 | 4,324,792 | .sortable() adding 50px height, dispurts scrollbar | <p>I have a draggable list of elements. The only jQuery I am using is:</p>
<pre><code>$('.section_rows').sortable();
</code></pre>
<p>This works fine. However, when I am at the bottom of the page (vertical scroll all the way at the bottom), and click a row to drag and sort it, the page 'jumps' up by <code>55px</code>... | javascript jquery | [3, 5] |
1,431,541 | 1,431,542 | asp - Cannot find method 'IsNullOrEmpty(String)' in 'String' | <p>Trying to only print if a string isn't empty, and am using the code below, but it keeps coming up with that error... </p>
<pre><code><%if(!String.IsNullOrEmpty(o_handler.renderDesc())) { %>
<strong>Description:</strong><BR>
<HR SIZE="1">... | c# asp.net | [0, 9] |
1,032,241 | 1,032,242 | How to pass a derived class to a function accepting the parent type | <p>I have a Sport base class that has a couple variables. I also have a few different classes derived from Sport such as Volleyball, Soccer, etc. that have additional methods and variables. They look somewhat like this.</p>
<pre><code>public class Sport {
public String commonVar;
public Sport(String c) {
... | java android | [1, 4] |
5,905,283 | 5,905,284 | why this not adding to array | <p>I am trying to create a multidimenssional array like this</p>
<pre><code>var myArray = new Array();
var test = new Array(1, 100,200,2);
$.each(test, function(index, val) {
myArray['value'].push(val);
myArray['index'].push(index);
});
</code></pre>
<p>but console.l... | javascript jquery | [3, 5] |
5,093,922 | 5,093,923 | Pattern for wiring up events using jQuery | <p>Please look at the code at the end to see the method I've been using to wire up events in my jQuery code. I prefer using bind and as you can also see I don't like using Anonymous functions in my event handlers. </p>
<p>I'm using named functions because of the following two reasons:</p>
<ol>
<li>Readability</li>
<l... | javascript jquery | [3, 5] |
4,654,535 | 4,654,536 | Getting images and description of a webpage using its link in ASP.Net | <p>hi i am making a website in asp.net which is like social netwroking. users shares their updates and views. i am able to complete all modules but now stucked at a requirement.</p>
<p>i want to get images (not screenshot of page) and description from webpage link, when entered by user into the update status bar. just... | c# asp.net | [0, 9] |
5,080,426 | 5,080,427 | C# button click once a day | <pre><code>protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.GetLeft.Value = invited.GetInviteCountByWeb().ToString();
HttpCookie oldCookie = Request.Cookies["Time"];
if (oldCookie != null)
{
if (DateTime.No... | c# asp.net | [0, 9] |
2,949,350 | 2,949,351 | add or remove a datepicker from a tex field according to seleced dropdown value | <p>I have a form used to search data. On that form I have a textbox, a dropdown list, and a search button. In my dropdown, I have options: </p>
<ul>
<li>check in date</li>
<li>last name </li>
<li>reservation id </li>
</ul>
<p>I want to add a datepicker to the textbox, but only when "check in date" has been selected... | php javascript jquery | [2, 3, 5] |
2,866,975 | 2,866,976 | Open a new window and submit a form with a single click | <p>when i click on submit button then :
<li>first : open a new window to display process (by ajax call)
<li>second : submit current form (processing time consuming job)</p>
<p>on Click of submit following JQuery function is being called :</p>
<pre><code>function submitForm(){
window.open('displayGetStatus.action?... | javascript jquery | [3, 5] |
5,500,938 | 5,500,939 | Variable Scope: cross-class function call | <p>I have a <code>vehicle</code> and a <code>product</code> object and I need vehicle to call a function within product.... I can't seem to figure it out, what should I do here?</p>
<pre><code>var vehicle = function () {
return {
init: function () {
var that = this;
jQuery('.vehicl... | javascript jquery | [3, 5] |
6,021,711 | 6,021,712 | jQuery pop up window in background | <p>I have a div with <code>id="icontainer"</code> in my web page and when the user clicks on it a new url opens in a new tab and the user stays there in the new tab.</p>
<p>How it is possible when the user clicks on my div the new url is opening in background of the browser, or a new tab, but the user remains in my we... | javascript jquery | [3, 5] |
367,903 | 367,904 | jQuery slideUp() content when clicked for a second time | <p>How would I slideUp() the content only when '.areaCodeList' is clicked a second time?</p>
<pre><code>$(".areaCodeList").on('click', function() {
$(this).next('.churchList').slideDown();
($this.die());
$('.churchList').slideUp();
});
</code></pre>
| javascript jquery | [3, 5] |
5,181,748 | 5,181,749 | Binding event with mouseover on an iframe that sits on my page with a src that contains | <p>I have some third party iframes that sit on my page and I want to capture when a user <code>mousesover</code> them ONLY if the src of those iframes contain either twitter or facebook anywhere in the src text. Since I can't capture the clicks (I can with their custom methods, I want to keep code completely seperate).... | javascript jquery | [3, 5] |
5,754,203 | 5,754,204 | Preserve Active Tab after PostBack when using Simple Tab in Asp.Net | <p>I am using <a href="http://www.htmldrive.net/items/show/542/Simple-Tabs-w-CSS-jQuery.html" rel="nofollow">Simple Tab</a> for ASP.NET web application. You can see the <a href="http://www.htmldrive.net/items/demo/542/Simple-Tabs-w-CSS-jQuery" rel="nofollow">Demo</a> of simple tab here.</p>
<p>I want to preserve the ... | c# javascript jquery asp.net | [0, 3, 5, 9] |
3,249,133 | 3,249,134 | How to draw a dotted circle in android sdk? | <p>I am very new to Android sdk. I need to display a dotted circle with in the view. But My requirement is to display a dotted circle. But I don't have an idea how to do it?. Can you guys please let me know if any one know this ?</p>
<p>Thank you,
-Sek.</p>
| java android | [1, 4] |
3,609,011 | 3,609,012 | is it possiable to call our server side(like gridview events) event from javascript | <pre><code><img src='<%# "ThumbNailImage.ashx?ImID="+ Eval("ImageID") %>' id="ImgShow" runat="server"
align="top" style="border: solid 1px Gray;" height="150"
width="170" onclick="javascript:myFunction();" >
... | asp.net javascript | [9, 3] |
3,212,090 | 3,212,091 | Going from Java desktop programming to Android Application Developement | <p>I know similar questions have been asked before but i think this is slightly different. for about a year Ive been learning Java. I have been building a few applications on the desktop using my-eclipse and swing GUI. Now i want to start programming for the android. I understand how to do what i want in Java but it al... | java android | [1, 4] |
1,470,737 | 1,470,738 | Looking for a good name for interface with inUse() method | <p>How would you name an interface which provides 1 method inUse()?</p>
| c# java | [0, 1] |
3,715,361 | 3,715,362 | Android ListItem Not Working | <p>When I click on a List Item, it doesn't start a new activity. What is the reason? Other people have implemented the same code and there program is working. What should I do with this problem?
Here is the code:</p>
<pre><code>public class Menu extends ListActivity {
String classes[]={"StartingPoint","Splash", "... | java android | [1, 4] |
877,257 | 877,258 | AES-256 compatible for both c# and android | <p>I am developing an android application in which i need to encrypt files from my c# application and decrypt it from android application and vice versa through AES-256. any guide or help would be so much appreciated.</p>
<p>Thanks.</p>
| c# java android | [0, 1, 4] |
849,391 | 849,392 | how to toggle addClass and removeClass? | <p>my code:</p>
<pre><code><a href=# onclick="obj.addClass('fliph'); return false;">toggle</a>
</code></pre>
<p>i want click <strong>toggle</strong> to <code>obj.addClass('fliph')</code>,then click again run <code>obj.removeClass('fliph')</code>.</p>
<p>how to fix my code?</p>
<p>thanks all! :)</p>
| javascript jquery | [3, 5] |
2,317,464 | 2,317,465 | Alternative in PHP for java DefaultMutableTreeNode | <p>Can anyone please tell me about the java "DefaultMutableTreeNode" and how can i use this PHP.</p>
<p>Thanks in advance.</p>
| java php | [1, 2] |
1,446,135 | 1,446,136 | Checkbox is checked, but :checked doesn't work | <p>I have a few checkboxes. I'm setting and resetting the default values of the checkboxes with the .prop() function, based on a JSON response (loading the data via ajax-requests). The problem is, that they apparently don't change this behaviour, if I change them manually. I can't pass the value of the checkboxes via $... | javascript jquery | [3, 5] |
5,057,518 | 5,057,519 | jquery ajax not catching error when posting to an aspx page | <pre><code>$.ajax({
type: "POST",
url: "/zzz/bbb/abcd.aspx?deleteIDs=" + request_ids,
contentType: "application/x-www-form-urlencoded",
data: '',
dataType: "html",
complete: function(xhr, status) {
if (status == "success")
{
}
else {
}
}
</code></pre>
<p>The jquery code above has its status ="su... | jquery asp.net | [5, 9] |
1,352,745 | 1,352,746 | Character limit for asp label upto 1000 characters | <p>I want to restrict my label upto 1000 characters only.
how to achieve this?
please help...</p>
| c# asp.net | [0, 9] |
2,744,809 | 2,744,810 | how to change button image by javascript | <p>I have 2 button and i want to change background image of that button which is clicked.</p>
<pre><code><input style="float:right; padding-right:10px;" name="comp_sephora" id="comp_sephora" type="submit" value="Sephora" onClick="change(this.style);">
<input style="float:right;" type="submit" name="comp_bloo... | php javascript | [2, 3] |
163,416 | 163,417 | Using Javascript/JQuery and getting undefined var when the page loads | <p>I have this Javascript/JQuery code:</p>
<pre><code><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
name = $("#name").val();
alert("Name: " + name);
</script>
</code></pre>
<p>And this ... | javascript jquery | [3, 5] |
4,286,233 | 4,286,234 | Javascript Date Validation | <p>How to validate particular format date string using Javascript?
I have one date picker which has the display format like "dddd MMMM dd, yyyy"(displaying like this:"Wednesday February 03, 2010".) So i have to validate this format using javascript. Please help me for implementing this..</p>
| asp.net javascript | [9, 3] |
2,166,271 | 2,166,272 | How do I create a superclass that extends AsyncTask? | <p>I have to extend the android class android.os.AsyncTask (Params, Progress, Result). I have to add new methods and class variables without setting (Params, Progress, Result) in the superclass, as types will be defined by its children.</p>
<pre><code> AsyncTask <Params, Progress, Result>
... | java android | [1, 4] |
5,313,544 | 5,313,545 | DllImport method isn't receiving data | <pre><code>BYTE* pImageBuffer = NULL;
eResult res = PlayerLib::CreateImageSnapshot( iPlayerRef, eBMP, &pImageBuffer );
if( res > 0 )
{
.... // do something with the image
WriteFile(FileHandle, pBuffer, eRes, NULL, NULL);
ReleaseImageSna... | c# c++ | [0, 6] |
5,717,407 | 5,717,408 | stack activity in android | <p>Hi i am working with android , and i have a problem with the activity stack. As i know, when someone uses the back button, reload the back activity. But in the case i have many layouts shown from one activity, how can i go back to them.</p>
<p>Here is the deal, i am using a listview filled with categories, and when... | java android | [1, 4] |
687,089 | 687,090 | what is the difference between .last() and :last? | <p>Can someone explain the difference between .last() and :last ? I can't seem to find a definitive explanation.</p>
<p>Why Exactly does this <code>$('td.cellsOfSpecificClass:last', '.table tr')</code> return the last td in each tr instead of the last td in the whole table?</p>
| javascript jquery | [3, 5] |
260,599 | 260,600 | Multiple JQuery actions based on timer | <p>I have a testimonial box that has the testimonial within it, and then I have icons indicating whom provided the testimonial underneath. Connected to the box and right above the icon is a little arrow that can be generated via CSS or an image.</p>
<p>Every 5 seconds, it should change the testimonial content via a fa... | javascript jquery | [3, 5] |
4,048,085 | 4,048,086 | Get Windows Service Description ASP .NET | <p>I'm writing a service monitoring ASP .NET app and I'm having issues particularly with getting the service descriptions. My current method (reading from registry) is not going to work due to registry read permissions on the production server.</p>
<p>For example:</p>
<pre><code>Microsoft.Win32.RegistryKey system, cu... | c# asp.net | [0, 9] |
5,427,540 | 5,427,541 | How to hide any row in a table whose third cell value does not match a given string in JQuery | <p>If i have a table:</p>
<pre><code><table id="myTable">
<tr>
<td>1</td><td>2</td><td>NoMatch</td><td>4</td>
</tr>
<tr>
<td>1</td><td>2</td><td>Match</td><td>4</td>
... | javascript jquery | [3, 5] |
5,440,376 | 5,440,377 | jquery cycle to vertically scroll through table | <p>Okay I have a table that I am populating with 25 rows of information. I want to use Jquery cycle or something similar to create a vertical scrolling effect, so the rows constantly scroll vertically upwards through a container that can display roughly five rows at a time. </p>
<p>I have used jquery cycle for numerou... | javascript jquery | [3, 5] |
3,296,830 | 3,296,831 | web-development: how to display an increasing number of messages? | <p>I want to build a website that display changing text-messages.</p>
<p>The server gets the text-messages from a DB.
I wanted to grab a chunck of msgs, shufle them and send them to the client to present each of them. When the client is done with the current chunck he asks the server for the next chunck.</p>
<p>can ... | c# javascript asp.net | [0, 3, 9] |
2,113,955 | 2,113,956 | Jquery Asp.net button disable | <p>html code:</p>
<pre><code><asp:Button runat="server" ID="btnTest" Text="Test" OnClick="btnTest_Click" />
</code></pre>
<p>Jquery Code:</p>
<pre><code>$('[id$=btnTest]').click(function(){
$('[id$=btnTest]').attr('disabled', 'true');
});
</code></pre>
<p>CodeBehind:</p>
<pre><code>protected void btnTest_... | asp.net javascript jquery | [9, 3, 5] |
5,327,287 | 5,327,288 | Error when does not select data from DDL | <p>I had this message </p>
<blockquote>
<p><em>Input string was not in a correct format</em> </p>
</blockquote>
<p>when inserting values into the database. When I checked I have DDL but I did not select value from it so this message appeared, although I make this column in the database to allow NULL value.</p>
<pr... | c# asp.net | [0, 9] |
4,095,748 | 4,095,749 | Posting data to an aspx form from an android app | <p>I want to send data from my app to <a href="http://studentssp.wit.ie/Timetables/POSTT.aspx" rel="nofollow">http://studentssp.wit.ie/Timetables/POSTT.aspx</a> that page and I'm not sure how to do that. All that I have tried atm is adding some of the form values to the url to see if that changes anything, but it hasn'... | android asp.net | [4, 9] |
2,787,189 | 2,787,190 | How do I pass a customer keyup handler with params? | <p>So say I have this ..</p>
<pre><code> keyup_handler: function(e, item){
if (e.which == 27) {
close_lightbox(item);
return false;
};
}
$(document).live('keyup', function(e){ keyup_handler(e, item) });
</code></pre>
<p>This is not returning any console.log()'s I place in here. So I ass... | javascript jquery | [3, 5] |
3,708,003 | 3,708,004 | OnmouseOver Jquery/Javascript call external function | <p>I could be mistaken here but I thought that inline html can call an external javascript file's function with onmouseover.</p>
<p>For example:</p>
<pre><code><a href="#" onmouseover="updateParentImage('<?php echo $this->getGalleryUrl($_image) ?>');">
</code></pre>
<p>And my EXTERNAL jquery/javascrip... | php javascript jquery | [2, 3, 5] |
561,672 | 561,673 | Python web client programming library | <p>I am working on a client-server simulation software. And I want the client to be implemented on the web, and also require that the client can do computations like matrix multiplication, random number generation etc., which framework can I use? And also I hope that the client side and server side communicate using si... | c++ python | [6, 7] |
1,679,346 | 1,679,347 | how to view Pdf from url in PdfViewerActivity | <p>Hi i made an android app for viewing local Pdf file in PdfViewerctivity.It is working fine for local pdf.How can i read pdf fetched from URL in PdfViewerActivity?
My java code for downloading file from url and storing it in sdcard is here <a href="http://pastie.org/6191997" rel="nofollow">http://pastie.org/6191997</... | java android | [1, 4] |
3,734,675 | 3,734,676 | Select first word in a container | <p>maybe this is easy or I overlooked it</p>
<p>but if i have:</p>
<pre><code><div class='test'>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</div>
</code></pre>
<p>how can i select the first word of it? [in this example 'Fusce']</p>
| javascript jquery | [3, 5] |
11,826 | 11,827 | Runing a cpp binary on php could speed up my code? | <p>I'm a php developer as well as cpp developer. I was wondering: if I make a cpp binary and I run it on php. Will that make my process run faster?</p>
<p>For example: </p>
<p>I have to compare 1,000 array elements and execute a process for each of them and in some cases I had to run it over and over again ( recursiv... | php c++ | [2, 6] |
4,738,467 | 4,738,468 | increase response rate to ip log | <p>I am logging visits to several of my pages to determine geographic areas of visitors. I am using the google client location api. I seems to work correctly on my development equipment. However, only a few of my visitors are actually being logged to the database. What can I do to increase the logging percentages?</p>
... | php javascript | [2, 3] |
2,193,582 | 2,193,583 | How to verify Digital Signature generated in C# for JAVA | <p>I have a string digitally signed in C#.
The target to which the string is needed to be send use JAVA.</p>
<p>How can i verify Digital signature in JAVA before send it to other end.</p>
| c# java | [0, 1] |
1,456,239 | 1,456,240 | extract line from javascript | <p>I need to extract this line of code from a script i am retrieving via ajax..</p>
<p>this line <code>new Date(2010, 10 - 1, 31, 23, 59, 59)</code> from </p>
<pre><code>jQuery(function () { jQuery('#dealCountdown').countdown({
until: new Date(2010, 10 - 1, 31, 23, 59, 59),
serverSync: serverTime,
timezone: +11, ... | javascript jquery | [3, 5] |
4,365,258 | 4,365,259 | Jquery div scroll question | <p>I have a page that requires multiple divs with the same class name. Within each div is text that I'd like to scroll via controllers.</p>
<p>I can't figure out how to make it so that the controllers in each div only scroll the text that's in their specific div and not the text in every div that shares the same class... | javascript jquery | [3, 5] |
3,294,684 | 3,294,685 | Something is overriding some of my jigoshop widgets | <p>I'm creating my first eCommerce wordpress website which I have work on for weeks now, I'm nearly at finished but some of the jigoshop widgets and features are not working for example the price filter is not showing up and the fancy box feature isn't showing up too.</p>
<p>I have a demo of the site up at <a href="ht... | php jquery | [2, 5] |
3,186,208 | 3,186,209 | Using LoadControl without a Page | <p>How can I load a control without a Page?</p>
<pre><code>public void Something()
{
var ascx = /*LoadControl*/("my.ascx"); // being Page = null
var ctl1 = ascx.Controls[0];
var ctl2 = ascx.Controls[1];
}
</code></pre>
<p>my.ascx:</p>
<pre><code><%@ Control Language="C#" %>
<asp:Literal ID="ctl1... | c# asp.net | [0, 9] |
5,775,563 | 5,775,564 | Getting JavaScript variable in embeded C# code | <p>I am trying to write a simple <em>for</em> in JS which uses an element from a list declared in C# code behind. Actually there is a problem here: <code>['i']</code> - compiler doesn't know what is <code>i</code>. </p>
<p>How can I write this for properly? </p>
<pre><code>for (var i = 0; i < '<%= poz.Count %&g... | c# javascript asp.net | [0, 3, 9] |
2,373,193 | 2,373,194 | Meaning of :: Operator in C# and PhP | <p>In my work I have come across syntax like global:: (C#) or G:Loading($value) in Php, what do they mean?</p>
| c# php | [0, 2] |
492,005 | 492,006 | How can I use delay on textview for show text? | <p>When i click button first time. Program will random text. then when i press button again it will delay slow to show text</p>
<p>my code</p>
<pre><code>public void onClick(View v) {
final MediaPlayer mp = MediaPlayer.create(getBaseContext(), R.raw.yeehaw);
showRandom = !showRandom;
t = new Thread() {
... | java android | [1, 4] |
3,250,814 | 3,250,815 | Jquery fade-in and out loop | <p>I've updated an old javascript of mine to work with Jquery recently. </p>
<p>It does the following:</p>
<p>When a user hovers over a link with a class of <code>content-fade</code> it causes content with an associated <code>id</code> to fade-in and then within a set time fade-out unless the user leaves their mouse ... | javascript jquery | [3, 5] |
465,435 | 465,436 | Which is more efficient - $('selector').last() or $('selector:last')? | <p>I have a parent element with a real lot of child elements (1000s). I am looking for the fastest possible way to get a handle to the last child element. The options I've found are:</p>
<pre><code>$('.parent .child').last()
</code></pre>
<p>and </p>
<pre><code>$('.parent .child:last')
</code></pre>
<p>Any opinions... | javascript jquery | [3, 5] |
3,383,303 | 3,383,304 | Animating a div's apearance on mouseover in jquery | <p>I wanted to animate a div on mouseover.
I just don't know how to make it fade in/appear slowly (I think we have to use the .animate function or something like that)</p>
<pre><code>$("#logo").mouseover(function() { $("#nav").css('visibility','visible'); });
</code></pre>
<p>Will appreciate any help :)</p>
| javascript jquery | [3, 5] |
4,968,306 | 4,968,307 | Jquery find next (specified) element not working | <p>I am trying to find the next div using Jquery. Here is the code:</p>
<pre><code>$('.menu-item').hover(function() {
$(this).stop(true, true).addClass("menu-item-hover", 300);
$(this).next('div').stop(true, true).fadeIn(300);
}, function() {
$(this).stop(true, true).removeClass("menu-item-hover", 300);
$(this... | javascript jquery | [3, 5] |
6,015,617 | 6,015,618 | jQuery - iterate through all elements with class and change their style | <p>I know this is supposed to be simple, but I'm running into multiple problems. First of all, I don't know how to get all elements of a class and change their display. I found the <code>.each</code> method with this sample code:</p>
<pre><code>$('.classname').each(function(index) {
alert(index);
});
</code></... | javascript jquery | [3, 5] |
1,708,103 | 1,708,104 | How enable existing radio to broadcast on website? | <p>With existing radio; for example the BBC, how to enable internet users to listen to it through the BBC website?
Any specific reference would be appreciated that is compatible with PHP or Java.</p>
| java php javascript | [1, 2, 3] |
2,292,828 | 2,292,829 | Fade Div out and fade next div and animate child element within | <p>I have 3 divs i want to fade in, then out and once they have faded in, have the child element animate its way up, so it comes in from the bottom right. </p>
<p>Ive made the following but cant seem to get any further, has anybody got at ideas? </p>
<p><a href="http://jsfiddle.net/FeqkB/2/" rel="nofollow">http://jsf... | javascript jquery | [3, 5] |
4,820,372 | 4,820,373 | javascript error with label | <p>I have a function as follows:</p>
<pre><code>function textNext(element, num) {
document.getElementById("lblContent").innerHTML = "hello";
}
</code></pre>
<p>However, the text of the <code>lblContent</code> label won't change when the function is called. </p>
<p>What am I doing wrong?</p>
<p>btw : lblContent ... | javascript asp.net | [3, 9] |
4,712,539 | 4,712,540 | Jquery Wait for animation to finish before leaving the function | <p>I have an animation inside a function. How can I code such that the animation should finish first before leaving the function?</p>
<p>Consider the code below:</p>
<pre><code>ShowBanner.prototype.basicRotate = function (pos, callback) {
var self = this;
self.animation = true;
this.bigbannerScroll.anima... | javascript jquery | [3, 5] |
1,300,772 | 1,300,773 | $.ajax JQuery progress bar | <p>I have a sql queries being executed via an ajax call, but I need to be able to check the progress of it and update a progress bar.</p>
<p>Here's my simple ajax call (using JQuery):</p>
<pre><code>var strResult = (($.ajax({url: URL,async: true}).responseText));
</code></pre>
<p>Any ideas how I listen for changes t... | php javascript jquery | [2, 3, 5] |
2,252,010 | 2,252,011 | Hide a div on hover outside of div | <pre><code><div id='container'>
<div id="animate"></div>
</div>
</code></pre>
<p>I have a small div inside a big div with id container . i want to hide div with id animate if someone hovers the out side of small div . it should remain open when mouse is over the small div . </p>
| javascript jquery | [3, 5] |
1,195,091 | 1,195,092 | control after unexpected shutdown | <p>I'm working on a program that sends a command to the server and creates a file on the server to let it know its connected for example, while the program is running it creates a file say "here" everytime it loops, a php site then checks the server for that file, if the file is there it knows the program is connecte... | php c++ | [2, 6] |
913,163 | 913,164 | How to animate an items transparecy while it is moving | <p>I am trying to have a dollar sign pup up and move up about 100px. The dollar sign should fade in then fade out while it is in the process of moving. I cannot figure this out. Here's what I'm using right now, which has a pause in between operations. I need no pause. Thanks!</p>
<pre><code>$("#dollar1").animate({
... | javascript jquery | [3, 5] |
408,198 | 408,199 | Selecting all check boxes using header check box in grid of asp.net | <p>It tried many solutions but nothing worked. Please provide me jquery code to select all check boxes of current page of gridview by checking checkbox in header template. I am using asp.net 4 using c#. Any detailed guidance will be highly appreciated. </p>
| c# jquery asp.net | [0, 5, 9] |
4,759,533 | 4,759,534 | How to change the weight size of a fragment in android? | <p>Here is the xml-Layout of my fragment view</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal"
android:weightSum... | java android | [1, 4] |
5,517,162 | 5,517,163 | Call jQuery defined function via string | <p>I'd like to call functions I've defined within the document ready function of jQuery, but am having a bit of trouble. I have the following code:</p>
<pre><code>jQuery(document).ready( function($) {
function test1() {
alert('test1');
}
function test2() {
alert('test2');
}
var t... | javascript jquery | [3, 5] |
732,577 | 732,578 | How do I get the onclick variable into a dialog function | <p>I have a onclick event that has a value in it that I want to post to a backend php script. Just not sure how to get it in the dialog function. </p>
<pre><code>function reorder(job_index)//<--------this fella
{
$('#dialog').dialog('open');
}
$(document).ready(function(){
$(function() {
$("#dialog").dialog({
... | javascript jquery | [3, 5] |
4,170,453 | 4,170,454 | jQuery Datepicker - Multiple instances and disable previously selected dates? | <p>I have a page where the user can select three different appointment days using the jQuery UI Datepicker. When the user selects a day in the first field, I would like that date blocked out from the other two fields. I currently am also disabling Sundays, but cannot get dynamic date disabling working.</p>
<pre><code>... | javascript jquery | [3, 5] |
2,533,387 | 2,533,388 | Shorten C# ASP.NET URL's when submitting a form | <p>My URL length is capped at 2084 characters and I have forms that need to have essay's emailed. I am not using MVC, not sure if that matters. Forms are set to POST data, runat=server. I just want the code behind the main page to load and send an email, I don't need all the variables passed in the URL. Is this poss... | c# asp.net | [0, 9] |
2,908,534 | 2,908,535 | jQuery functions | <p>I'm trying to remove a class from a HTML tag along with adding a new one and also doing some other magic.</p>
<p>Right now I just have a procedure style coding going on... which I know there's another way of doing it. Like creating a function within another function? I'm not sure what it's called and sometimes when... | javascript jquery | [3, 5] |
5,087,131 | 5,087,132 | How can I access content of a website client side? | <p>I've set up my own whatsmyip type site that returns a simple string of the callers external IP.</p>
<p>But I can't figure out how to get the queried text into an asp control for use.</p>
<p>I can load it up in an iframe and see it on the page, but accessing it and using it is blocked for built in security reasons.... | c# javascript asp.net | [0, 3, 9] |
355,549 | 355,550 | for loop inside scroll function | <p>How can i multipy functions inside the scroll loop?</p>
<p>I have:</p>
<pre><code>$(window).scroll(function() {
b1Center = $("#block-1").offset().top - ( $(window).height() - divHeight )/2;
b1Bottom = $("#block-1").offset().top - $(window).height()
b1Top = $("#block-1").offset().top + divHeight;
if(getScrollTop() ... | javascript jquery | [3, 5] |
2,478,674 | 2,478,675 | Server tags cannot contain <% ... %> constructs | <p>I am trying to use CDN for my images on the website.
Problem is, sometimes I have server controls such as ImageButton, and I would like to use a class in order to fully extract the path of the CDN. for that purpose I tried doing:</p>
<pre><code><asp:ImageButton runat="server" OnClick="Agree" ImageUrl="<%=Reso... | c# asp.net | [0, 9] |
175,195 | 175,196 | How to manage the native heap? | <p>I'm researching about lazy list, and i have a concern about it</p>
<p>When the native heap is too lager, how can we detect and control it (clearing or reset all count ... ) ??</p>
<p>Please, help me :(!</p>
| java android | [1, 4] |
1,154,569 | 1,154,570 | Issue with jQuery ajax post | <p>This is a followup to this <a href="http://stackoverflow.com/questions/10730765/how-to-find-a-sibling-elements-value-using-jquery-upon-click">question</a>. Since the problem that I'm now facing is different from that, I thought I'll pose a new question. </p>
<p>I'm having an issue with the following code where in, ... | javascript jquery | [3, 5] |
4,414,595 | 4,414,596 | Cancel hoverIntent timer | <p>I've used jQuery and hoverIntent plugin many times, for dropdown menus and advanced navigation that should be a bit more elegant. But I've run into a problem. </p>
<p>I have a menu with a clickable li element that also has a hover. <strong>If someone clicks it before the intent timer triggers I want to cancel the h... | javascript jquery | [3, 5] |
543,879 | 543,880 | How do I load results using php and jquery as I scroll? | <p>How do I load results using php and jquery as I scroll? E.g. like twitter, facebook and Especially <a href="http://cssline.com/" rel="nofollow">http://cssline.com/</a></p>
| php jquery | [2, 5] |
303,906 | 303,907 | how to show 20 rows on datagrid each time? | <p>i show data on gridview like this:</p>
<pre><code>SQL = "SELECT * FROM MEN ";
dsView = new DataSet();
adp = new SqlDataAdapter(SQL, Conn);
adp.Fill(dsView, "MEN");
adp.Dispose();
GridView1.DataSource = dsView.Tables[... | c# asp.net | [0, 9] |
293,541 | 293,542 | DetailsView Preview mode? | <p>DetailsView1.DefaultMode = DetailsViewMode.Insert;</p>
<p>After inserting how can i Preview Data before Submitting/Inserting data in the table?</p>
<p>I know the code would be:
DetailsView1.DefaultMode = DetailsViewMode.ReadOnly;</p>
<p>Where do I put this code BEFORE submitting/inserting data in the table?</p>
| c# asp.net | [0, 9] |
5,838,954 | 5,838,955 | using jquery with elements inside a asp:gridview | <p>i am trying to add some style with jquery to some elements inside a grid-view but jquery cannot identify those element. i am trying something like this</p>
<p><code>$("name").css("border", "3px solid red");</code></p>
<p>thanks</p>
| jquery asp.net | [5, 9] |
1,208,121 | 1,208,122 | load an event on a finished redirected page after an AJAX call | <p>How do I load an event after a redirected page has finished loading, following an ajax call?</p>
<p>For the sake of simplicity, here is some sample code:</p>
<pre><code>$.ajax({
type: "POST",
url: "some_page.php",
success: function() {
window.location.href="new_page.php"; // redirect to this page
... | php javascript jquery | [2, 3, 5] |
4,206,423 | 4,206,424 | Asynchronous Callback functions: Iphone Versus Android | <p>On Callback</p>
<p>On Iphone </p>
<h2>File A:</h2>
<p>@protocol servicedelegate
-(void)taskCompleted:(NSDcitionary*) dict;
@end</p>
<p>-(void) performtask
callback=@"taskCompleted:";</p>
<p>[(id)delegate performSelector:NSSelectorFromString(callback) withObject:data];</p>
<h2>File B:</h2>
<p>-(void) taskcomp... | android iphone | [4, 8] |
3,955,928 | 3,955,929 | Submit cross domain ajax POST request | <p>I swear I saw an article about this at one point but can not find it...</p>
<p>How can I perform a jQuery ajax request of type POST on another domain? Must be accomplished without a proxy. Is this possible?</p>
| javascript jquery | [3, 5] |
106,982 | 106,983 | How do you share variables with other activities easily? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/2091465/how-do-i-pass-data-between-activities-in-android">How do I pass data between activities in Android?</a> </p>
</blockquote>
<p>I am making a card game and I have an activity for discarding cards and an ac... | java android | [1, 4] |
2,324,481 | 2,324,482 | How do I get the value of the input field? | <p>this is my input field:<pre><code>$("<td class='testclass'><input id='field-search' value='' type='text'></td>")</code></pre></p>
<p>How do I get the value of the input field?</p>
<p>I tried it this way:</p>
<pre><code>var mytest =$('#field-search').val();
alert(mytest);
</code></pre>
... | javascript jquery | [3, 5] |
2,479,644 | 2,479,645 | Convert datetime to Time and show in a label in GridView | <p>I have a grid view in which I have a label in which I want to show the date and time as</p>
<p><strong>Nov 19 at 07:30 am</strong></p>
<p>i have a field in the database which give the datetime value as <strong>2011-11-19 07:30:43.193</strong></p>
<p>How can I get the desired result?</p>
| c# asp.net | [0, 9] |
3,927,901 | 3,927,902 | For loop breaks when it encounters an image that doesn't exist | <p>I am trying to load a series of images inside a div using for loop and when the file does not exist, the <code>for</code> loop breaks. This code doesn't seem to work.</p>
<p>I've tested many others but no success. Any tips?</p>
<p>HTML:</p>
<pre><code><div id="project_img">
</div>
</code></pre>
<p>Ja... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.