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 |
|---|---|---|---|---|---|
3,786,256 | 3,786,257 | jquery word limiter? | <p>Hello I am looking for a jquery (or javascript) based word limiter ? searched on web but only char. limiters</p>
<p>please help</p>
<p>Thanks a lot</p>
| javascript jquery | [3, 5] |
5,003,913 | 5,003,914 | problem in wordpress like delete rows in jquery | <p>im trying to impelement a technique to delete stories with jquery animation exactly like wordpress </p>
<p>this is my script part :</p>
<pre><code>$(function(){
$('#jqdelete').click(function() {
$(this).parents('tr.box').animate( { backgroundColor: '#cb5555' }, 500).animate( { height: 0, paddingTop: 0, paddingB... | php jquery | [2, 5] |
921,716 | 921,717 | jquery validation issues | <p>I am a newbie for jquery and currently have a problem on jquery validation. Here is my codes:</p>
<pre><code>jQuery(function(){
jQuery("#qty").validate({
expression: "if (VAL) return true; else return false;",
message: "please enter buying amount"
... | php jquery | [2, 5] |
587,829 | 587,830 | Jquery Model Popup | <p>Dear Expert i have a aspx apge in which i want to open a Jquery modelpop up having some information like Username and pasword and model pop up also having two button like login and cancle when i click login then i want to redirect to user to his dashbord i want to use this in aspx page and cs page how i will achive ... | asp.net jquery | [9, 5] |
4,207,527 | 4,207,528 | System.Exception: Incorrect syntax I can't find the problem | <p>So I have a grid view with checkboxes in it.
This is the code behind the page.</p>
<pre><code>protected void BtnApproveUsers_Click(object sender, EventArgs e)
{
var num = new List<int>();
try
{
for (var i = 0; i< GvApproveUser.Rows.Count; i++)
{
... | c# asp.net | [0, 9] |
2,162,816 | 2,162,817 | Toggle between two forms with one edit button | <pre><code> $('div#showme').css('display', 'none');
$('#edit').click(function() {
event.preventDefault();
console.log("detected click")
$('div#showme').toggle();
});;
</code></pre>
<p>I have two #showme forms, and two #edit buttons, I want to show just one form at a time u... | javascript jquery | [3, 5] |
2,459,060 | 2,459,061 | How to use Image conrtrol in asp.net (C# web) | <p>I have an image stored in my MS Access database with the data type OLE Object. I want it to display in an <code>Image</code> control. How can I do this? I tried this, but only in a <code>PictureBox</code> control in windows forms. Please help. Thanks in advance.</p>
| c# asp.net | [0, 9] |
5,239,917 | 5,239,918 | How to compare items between two disordered ListBox | <p>I have 2 <code>ListBoxs</code> which has a set of items. The count between each <code>ListBoxs</code> can be same or different, if the count is same, I want to check if items between the <code>ListBoxs</code> are same. The items can be disordered or ordered as shown below:</p>
<pre><code>ListBox1 = { "C++", "C#", "... | c# asp.net | [0, 9] |
381,187 | 381,188 | Javascript - Change button onclick to an existing function | <p>I have a button:</p>
<pre><code><button onclick = "doDisactivate(5);" id = "status_button_5" value = "Disactivate" />
</code></pre>
<p>where 5 is a dynamically added ID. I have two javascript functions, doDisactivate(ID) and doActivate(5). </p>
<pre><code>function doDisactivate(serviceID) {
// logic tha... | javascript jquery | [3, 5] |
3,580,583 | 3,580,584 | Trying to set fileinput val from drag and drop Jquery file | <p>Im trying to make a simple uploader where users drag and drop files from the desktop into the website element. I believe I figured out how but I cant seem to get any information on the file. How can I set a file inputs value from a drag and drop? Here is the drag and drop code im not sure if its correct. The box doe... | javascript jquery | [3, 5] |
2,422,882 | 2,422,883 | jQuery watermark "Object doesn't support this property or Method" | <p>I am using <code>WaterMark.min.js</code> for password boxes so that by default text 'Password' and 'Re-Enter' should appear in text. After the user clicks on that textbox these texts should be removed and typing password should convert the user's text to password dots.</p>
<p>Here is my Javascript</p>
<pre><code>&... | javascript jquery asp.net | [3, 5, 9] |
5,680,472 | 5,680,473 | Anyone know how to use the jQuery Gallery View Plugin? | <p>I found the <a href="http://spaceforaname.com/galleryview" rel="nofollow">jQuery Gallery View plugin</a> because I was looking for a good way to cycle through pictures including text and one that was well designed. This plugin does not seem to be updated anymore and does not have much documentation so I am having di... | javascript jquery | [3, 5] |
2,812,322 | 2,812,323 | Passing Object data to jQuery.post successor function | <p>I want this.item of an instance of the class to be filled by the data received through jQuery.post successor function. I am able to do this using some another user-defined function to set this.item with the data received.</p>
<p>Question : Is there any way to set this.item inside the successor function of jQuer.pos... | javascript jquery | [3, 5] |
3,260,417 | 3,260,418 | jQuery.replaceAll multiple elements? | <p>This isn't working for me:</p>
<pre><code>$('<span>Something</span><span>Something else</span>').replaceAll('<span>Something New</span><span>Something New Too</span>');
</code></pre>
<p>How do I replace more than 1 element? Help please.</p>
<p>The elements are on th... | javascript jquery | [3, 5] |
3,933,551 | 3,933,552 | C# - Get JavaScript variable value using HTMLAgilityPack | <p>I currently have 2 JavaScript variables in which I need to retrieve values from. The HTML consists of a series of nested DIVs with no id/name attributes. Is it possible to retrieve the data from these variables using HTMLAgilityPack? If so how would I go about doing so, if not what would be required, regular expr... | c# javascript | [0, 3] |
5,705,354 | 5,705,355 | Editing a jQuery plugin for matching different jQuery version | <p>I have assigned <code>jQuery.noConflict()</code> to <code>$jq</code>:</p>
<pre><code>var $jq = jQuery.noConflict();
</code></pre>
<p>Now I want to edit a jquery plugin to use $jq. There are a lot of codes in the following style:</p>
<pre><code>(function($) { /* some code that uses $ */ })(jQuery)
</code></pre>
<... | javascript jquery | [3, 5] |
453,430 | 453,431 | jQuery - setting an element's text only without removing other element (anchor) | <p>I have an element like this:</p>
<pre><code><td>
<a>anchor</a>
[ some text ]
</td>
</code></pre>
<p>And i need to set it's text in jQuery, without removing the anchor.</p>
<p>The element's contents could vary in order (text before or after), and the actual text is unknown.</p>
<p>Than... | javascript jquery | [3, 5] |
3,263,642 | 3,263,643 | What are the uses of jquery ui ? and why not use jquery instead? | <p>What are the uses of jquery ui ? and why not use jquery instead ?</p>
<p>I've read about Jquery ui in their official site , however , I'm still confused as to what it can do for me and whether I should study it or not ? I'm an aspiring Website Designer.</p>
| javascript jquery | [3, 5] |
2,466,211 | 2,466,212 | Not able to add 15 minute to 00:00 | <p>I have written a function for adding time in a 24 hour format as given below</p>
<pre><code>for (int i = 0; i < cursor.getCount(); i++) {
String RevisedTime="00:00";
// get hour and minute from time string
StringTokenizer st1 = new StringTokenizer(RevisedTime, ":");
int j... | java android | [1, 4] |
4,805,959 | 4,805,960 | How to pass DataTable values in a loop in aspx? | <p>I have a DataTable called dt5 which has 4 rows. I am trying to pass the src of image in aspx from dt5, but its not working. Here is my code...</p>
<pre><code><%
for (int i = 0; i < dt5.Rows.Count; i++)
{
string a = dt5.Rows[0]["imageurl"].ToString();
string b = dt5.Rows[1]... | c# javascript asp.net | [0, 3, 9] |
72,035 | 72,036 | Java scripts conflict on my home page | <pre><code><script type="text/javascript" src="jquery-1.js"></script>
<script type="text/javascript" src="mootools.js"></script>
<script type="text/javascript" src="slideshow.js"></script>
<script type="text/javascript">
//<![CDATA[
window.addEvent('domready', function... | javascript jquery | [3, 5] |
2,490,129 | 2,490,130 | Name of a Page Validator using JQuery? | <p>I m using Page_Validator function in jquery to get all the Page Validators in my asp.net page..Is there some way so that i can fetch the name of Validator using Page Validator?? For e.g Can i know that whether the particular Page Validator is RequiredField or RegularExpression or CustomValidator? I have tried this..... | jquery asp.net | [5, 9] |
2,308,992 | 2,308,993 | ASP.NET control with jquery in seperate .js file | <p>i have just wrote a jquery voting script which is working fine if i leave the code within the header of the page. however im looking to move it to a seperate .js file and then just include this .js at the top of the page. for some reason when i do this i get an exception error occurs on the control!!! can anyone ... | javascript jquery asp.net | [3, 5, 9] |
3,301,134 | 3,301,135 | Write .csv file(Excel type File) data to .csv file(Excel type File) in c# | <p>I have an excel <code>.csv</code> file that has some data in the below formats in cells:</p>
<pre><code>NAME Address Contact
Shoeb Lko 675567
Rajesh Banaras 7687678
</code></pre>
<p>.csv file is not a text file having only .csv extension. It is a csv file that is made using Microsoft Excel file...For testing yo... | c# asp.net | [0, 9] |
4,614,241 | 4,614,242 | 'System.Web.UI.WebControls.ListItem' in Assembly is not marked as serializable | <p>I have made a property, which looks like below.</p>
<pre><code>public ListItem[] DropDownListItems
{
get { return (ListItem[])ViewState["DropDownListItems"]; }
set { ViewState["DropDownListItems"] = value; }
}
</code></pre>
<p>And this is how i assign it values</p>
<pre><co... | c# asp.net | [0, 9] |
3,885,596 | 3,885,597 | Can I create an inline function/method inside of a user control? | <p>I want to create an inline function/method inside of my user control, so that I can do this:</p>
<p>Inside my test.ascx:</p>
<pre><code><asp:Repeater ...>
<itemTemplate>
<p><%# MyInlineMethod(Eval("hello").ToString())%> </p>
<itemTemplate>
</asp:Repeater>
</code><... | c# asp.net | [0, 9] |
3,228,304 | 3,228,305 | How to send message through net to mobile? | <p>currently we are developing website which send sms alert to user for perticular service
but i am not able to set script which will do the same</p>
<p>Please somebody tell me what will be solution....
Please tell any script or site for this problem</p>
<p>thanks...</p>
| php javascript | [2, 3] |
5,564,707 | 5,564,708 | Jquery targeting when multiple items of a class exist | <p>I have the following code:</p>
<pre><code>$(function () {
var target = $('span.slider') //can I make the variable apply to the target span?
target.mousedown(function() {
sliding = true
})
$(document).mouseup(function() {
sliding = false
})
... | javascript jquery | [3, 5] |
3,736,242 | 3,736,243 | ASP.Net assign event handler to asp button click | <p>this is my code </p>
<pre><code><asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
<div>
<asp:Table id="tb" runat="server" Height="239px" Width="417px" >
</asp:Table>
</div>
<table>
<tr>
... | c# asp.net | [0, 9] |
5,141,568 | 5,141,569 | Retrieve primary key of the row that clicked on it (edit and delete button) | <p>I have a gridview that shows information from a <code>SqlDatasource</code>. Now the gridview shows some information with an edit button and a delete button at the end of the row.</p>
<p>I want to retrieve the primary key of that row from a table in C#, when I click on the edit or the delete button.</p>
<p>For this... | c# asp.net | [0, 9] |
1,654,307 | 1,654,308 | Check for data in database before delete | <p>I have these 2 forms (Add.aspx) "CalculationParameters" and "CalculationParametersValues". I also have 2 forms (Delete.aspx). These two forms are related. If there is no CalculationParameter, then you cannot add CalculationParametersValues. Now my problem is... when I delete a CalculationParameter, I want to check f... | c# asp.net | [0, 9] |
3,290,631 | 3,290,632 | jQuery fancy box question | <p>I have a jQuery fancybox with an iframe. It loads the code from a .php.
Inside that .php file, I have a button which does a post when clicked. </p>
<pre><code>$(".next").click(function() {
$.post("update.php", {page: $(this).attr('data-page')}, function(success){
... | php jquery | [2, 5] |
2,019,742 | 2,019,743 | form send button is already pre clicked when the jquery function is loaded | <p>Suppose, a,b,c results are dynamically generated from database via echoing <code>$scname</code> variable and <code>showtablesc</code> is trigered on <code>onclick</code>. But except first time clicked, send button on the form is always seems pre clicked when I click on any <code>a,b ,c</code> results. </p>
<... | php jquery | [2, 5] |
1,311,931 | 1,311,932 | Add no. of days in a date to get next date(excluding weekends) | <p>I have an date, i need to add no. of days to get future date but weekends should be excluded.
i.e </p>
<pre><code>input date = "9-DEC-2011";
No. of days to add = '13';
next date should be "27-Dec-2011"
</code></pre>
<p>Here weekends(sat/sun) are not counted. </p>
| javascript jquery | [3, 5] |
1,702,175 | 1,702,176 | Repeating a method every 60 seconds in Java on Android | <p>I am busy with a application for my phone for a project. I am not a programmer, so have learnt a bit of java for android so far.</p>
<p>I am stuck on running a method every 60 Seconds while the application is running on the phone.</p>
<p>The application uses the GPS and then sends a User Id & Gps co-ords to a ... | java android | [1, 4] |
1,496,296 | 1,496,297 | Access to restricted URI denied" code: "1012 | <p>I am using jsGantt chart. To fill chart I am using xml file.<br><br>
<strong>Problem is that xml file is outside project(root directory). so when jsgantt.js try to load xml file to fill chart it gives error like <br></strong>
<img src="http://i.stack.imgur.com/yJ8kZ.png" alt="enter image description here"></p>
<p>j... | javascript asp.net | [3, 9] |
2,195,239 | 2,195,240 | jQuery resize() using browser maximise button | <p>This is my code that fires whenever the window is resized:</p>
<pre><code>$(window).resize(function()
{
setDisplayBoardSize();
});
</code></pre>
<p>Fires fine when I resize the window and runs my function just fine, as expected. </p>
<p>If I hit the maximise button though it doesn't work correctly.</p>
<p... | javascript jquery | [3, 5] |
4,076,637 | 4,076,638 | What do you call it when you pass a parameter to the next parameter | <p>I notice a lot of code where people do something like:</p>
<pre><code>myClass.someMethod(something here, $1);
</code></pre>
<p>The $1 is picking up a value from "something here"?</p>
<p>What is this known as? I can't seem to find it anywhere? But this step, process is used in cases with regex quite a bit..</p>
| c# javascript | [0, 3] |
5,603,256 | 5,603,257 | Jquery timer Stop when Mouse hover | <pre><code> $(function() {
setInterval(transition, 9000);
});
function transition() {
var current = $('.shown');
var next = null;
if (current.next('.box').size() == 0) {
next = $('.container .box:first');
} else {
next = current.next('.box');
if($(next).children()... | javascript jquery | [3, 5] |
4,756,588 | 4,756,589 | Issue with callback functions | <p>I have three dropdowns I am trying to dynamically populate when an HTML form loads. They all use API callback functions provided by a third-party cloud database provider to retrieve the data and populate the dropdowns. The problem I am encountering is that only the last one populates. Here is how I'm calling the fun... | javascript jquery | [3, 5] |
5,553,121 | 5,553,122 | Stop page scroll after the page reaches certain point | <p>How can scroll be prevented after scrollTop reaches certain value say 150.</p>
<pre><code>$(window).scroll(function() {
if($(window).scrollTop() >=50)) {
return false; // basically don't scroll
}
});
</code></pre>
| javascript jquery | [3, 5] |
3,913,504 | 3,913,505 | Trying to delay/pause/slow a while loop in jQuery | <p>I have looked around a lot, and not found the answer yet. Maybe it is simply something that cannot be done.</p>
<p>I am new to jQuery and JavaScript. Just to test the limitations I am trying to create a script that will continuously append a list item to an un-ordered list while a check box is not checked. I know I... | javascript jquery | [3, 5] |
2,551,178 | 2,551,179 | It scrolls to the top of the page after clicking | <p>I have this code to switch a switching button image:</p>
<pre><code>$("#invio_scatola_on, #invio_scatola_off").click(function(){
$("#invio_scatola_off").toggle();
$("#invio_scatola_on").toggle();
});
</code></pre>
<p>when it is executed, the browser goes to the top of the page. why?</p>
| javascript jquery | [3, 5] |
104,985 | 104,986 | Loop through textNodes within selection with unknown number of descendants | <p>I'm required to basically <em>Find and replace</em> a list of words retrieved as an array of objects (which have comma separated terms) from a webservice. The <em>find and replace</em> only occurs on particular elements in the DOM, but they can have an unknown and varying number of children (of which can be nested a... | javascript jquery | [3, 5] |
2,225,876 | 2,225,877 | How to make resolution free app | <p>I have set 320x480 size for canvas/widget of app. How can I make it resolution free.I have to draw some tips on particular location using AbsoluteLayout.If I change size of canvas/widget then the tips are displaying at wrong coordinates.</p>
| java android | [1, 4] |
176,829 | 176,830 | Javascript - override or prevent execution | <p>I'm working on a client project and I have to include their header and footer, which includes some core javascript files. I have a couple of PNGs on the page, but their core JS file is poorly coded and doesn't check for IE 7 before attempting to replace IMG tags that contain .png files with DIVS that use the AlphaIm... | javascript jquery | [3, 5] |
4,510,628 | 4,510,629 | Get selected value from select list | <p>I have this part here, which i use in order to print some values in a list:</p>
<pre><code><select id = "paisja" name="paisja" >
<?php
while( $row = odbc_fetch_array($resultpaisja) ) {
?>
<option value="<?php echo $row['id_paisje']; ?>"><?php echo $row['paisje']; ?></option>
&l... | php javascript jquery | [2, 3, 5] |
5,975,160 | 5,975,161 | jQuery each() with a delay | <p>So, I would like an element to fade in and wait half a second, then fade the next in etc...</p>
<p>My code:</p>
<pre><code>$('.comment').each(function() {
$(this).css({'opacity':0.0}).animate({
'opacity':1.0
}, 450).delay(500);
... | javascript jquery | [3, 5] |
4,697,691 | 4,697,692 | asp.net and permissions on a share | <p>I have an app that needs to update a txt file on another server. The asp.net app runs under iis6.0. Ive tried setting the permissions on the share for the server that runs the app. e.g DOMAIN\ServerA$ however it still says access to path blah blah is denied.</p>
<p>Any ideas?</p>
| c# asp.net | [0, 9] |
1,229,663 | 1,229,664 | Using JavaScript With C# For non browser based operations | <p>I recently had to take a quick look at Adobe InDesign server. In this enviroment you write your interactions with the servers libs via JavaSscript. </p>
<p>This got me thinking, how could I use the Javascript language within a C# application so that I could expose set bits of functionality of my API/framework and a... | c# javascript | [0, 3] |
2,291,500 | 2,291,501 | JAVA's System.currentTimeMillis() or C#'s Environment.TickCount? | <p>Hey, as of lately, I've been trying to find good ways to smoothen out thread sleeps (incase it gets disturbed or if your computer laggs etc).</p>
<p>So which is an overall "better performance" method?</p>
<p>JAVA's System.currentTimeMillis() method for C#:</p>
<pre><code>public static double GetCurrentMillisecond... | c# java | [0, 1] |
4,106,487 | 4,106,488 | Multiple instances of a view object within an android activity | <p>I have two custom view objects that are created within an activity like so.</p>
<pre><code>public class Statistics extends Activity {
GraphWindow graph1;
GraphWindow graph2;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(... | java android | [1, 4] |
4,633,797 | 4,633,798 | How to change the value of textbox when form is submitted? | <p>I have a form which has fields pre-filled with a default value, like this:</p>
<pre><code><input type=text name=first value="First Name" class="unfilled" />
</code></pre>
<p>When the textbox is clicked, the class <code>unfilled</code> is removed from the textbox, and the textbox is made blank so the user can... | javascript jquery | [3, 5] |
3,934,136 | 3,934,137 | issue in disabling submit button using jquery | <p>i am iterating a list , and displaying its values in textboxes.
there is two textboxes with name <code>checkquantity</code> & <code>quantity</code> whose values i am iterating from a list.</p>
<p>Now users have to enter the quantity values, if they enter the quantity values more then the allocated quantity. ... | javascript jquery | [3, 5] |
3,985,969 | 3,985,970 | Set active tab without page view changing | <p>Using the following code to initialize tabs, then activate the tab selected in the url (mypage#this_tab, for example). The problem is on page load it shifts the view to the tab. Subsequent clicks on tabs do not shift the view. How can I fix the view to the top of the page on page load?</p>
<pre><code><!-- ******... | javascript jquery | [3, 5] |
2,572,839 | 2,572,840 | unicode to utf-8 in JavaScript | <p>i have output from a server like</p>
<pre><code>["alex", "\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd"]
</code></pre>
<p>i want to convert it like
["alex", "to its right language"]
using js or jquery</p>
<p>i tried </p>
<pre><code>function encode_utf8( s )
{
return unescape( encodeURIComponent( s )... | javascript jquery | [3, 5] |
3,380,469 | 3,380,470 | Difference between code beside and code behind | <p>Can anyone tell me what are the differences between code beside and code behind in Asp.NET?</p>
| c# asp.net | [0, 9] |
5,370,972 | 5,370,973 | Android Dev: AlertDialog with SurfaceView | <p>I am developing an Android game and I have my SurfaceView rendering the game and I want to make it so when the player loses or wins an AlertDialog pops up and either restarts the level or whatever.</p>
<p>Basically I have two questions:</p>
<ol>
<li><p>How do I use AlertDialogs with SurfaceViews? Do I have to put ... | java android | [1, 4] |
658,572 | 658,573 | Freeze body scroll when hover a div | <p>I am using a slim scroll jQuery plugin in my DIV.</p>
<p>but there is a problem:</p>
<p>when i scroll inside that <code>DIV</code>, then Body also scroll. </p>
<p>So, I want to freeze the <code>BODY</code> scroll when i hover inside that <code>div</code>.</p>
<p>Thanks</p>
| javascript jquery | [3, 5] |
5,320,363 | 5,320,364 | jQuery mouse out and not hiding a particular element | <p>Let's say I've got two elements: an anchor which causes an occurence of a particular div.
In that single case I'm not able to wrap these two into a parent container, thus the whole markup has to be as following:</p>
<pre><code><a href="#" class="trigger">click me</a>
<div class="info">info display... | javascript jquery | [3, 5] |
4,569,404 | 4,569,405 | Link detect and replace the other,in js | <p>Hello
I wonder how Replace automatically links on my site
that start with:</p>
<p><a href="http://site.com/00000/" rel="nofollow">http://site.com/00000/</a></p>
<p>to:</p>
<p><a href="http://site.com/11111/" rel="nofollow">http://site.com/11111/</a></p>
<p>detects> replaces</p>
| javascript jquery | [3, 5] |
3,174,165 | 3,174,166 | Creating multiple transitional buttons from 1 image | <p>I have a very simple looking image of different coloured bars which 'fan' left to right, a bit like the choc bars here:</p>
<p><a href="http://www.lifeafterbagels.com/blog/wp-content/uploads/2012/05/Fanned-Bars.jpg" rel="nofollow">http://www.lifeafterbagels.com/blog/wp-content/uploads/2012/05/Fanned-Bars.jpg</a></p... | javascript jquery | [3, 5] |
2,213,519 | 2,213,520 | Which iPhone first supported JavaScript? | <p>What version of the iPhone first supported JavaScript?</p>
| javascript iphone | [3, 8] |
3,427,867 | 3,427,868 | jquery return false in form | <pre><code><script LANGUAGE="JavaScript">
function confirmSubmit() {
jConfirm('Is the Appointment Confirmed?', 'Confirmation Dialog', function(r) {
if(r) {
return true;
} else {
return false;
}
});
}
</script>
<form name='cancel_form'id='cancel_for... | javascript jquery | [3, 5] |
5,513,674 | 5,513,675 | Getting values of all controls | <p>i am trying to get the values of my controls like this:</p>
<pre><code> function ConfirmWithUser()
{
var nodeText = '';
$('.mytreeview input[@type=checkbox]:checked').each(function() {
nodeText += $(this).next('a').text() + '\r';
});
var con... | c# javascript asp.net | [0, 3, 9] |
1,820,229 | 1,820,230 | Is it realistic for an android newbie to successfully complete a project in 30 days and submit it to ADC2? | <p>Just for the disclaimer, I'm not trying to win the prize in Android Developer Challenge, but just want to participate.</p>
<p>I heard about the Android buzz lately and got interested in it. And today I stumbled upon a site talking about Android Developer Challenge 2. Luckily, the submission hasn't ended but unfortu... | java android | [1, 4] |
5,843,372 | 5,843,373 | Resize HTML elements on Android orientation change | <p>I am trying to bind an event in Javascript to either the orientationchange or resize events in Android in order to change the width/height of some elements for my web app. In the event, I use window.innerHeight and window.innerWidth to get the current height and width of the window.</p>
<p>This works great on iOS a... | javascript android | [3, 4] |
2,175,774 | 2,175,775 | Decompose URLs into multiple keyword arrays | <p>I need a script in jQuery with the following features:</p>
<ol>
<li>Gets actual URL of the page</li>
<li>Depending on that URL search for words in that URL (utf-8 and ISO)</li>
<li>Display or execute a given code (jQuery code) depending on words found in URL</li>
</ol>
<p>I need to use multiple words in multiple a... | javascript jquery | [3, 5] |
5,174,396 | 5,174,397 | Should I Learn C# or C++? | <p>When I first became interested in programming, I took a class that introduced me briefly to C++ for a semester (this class mostly focused on topics like "what is a variable", so I know very little about what C++ is capable of). Up next was a year of AP Computer Science, where I learned Java. Don't get me wrong, I lo... | c# java c++ | [0, 1, 6] |
5,168,319 | 5,168,320 | Use jQuery to check for link extension | <p>I'm trying to read all links on the page and check if link extension is ending with '.png'. If it does, then when that link is clicked, I want to grab that image and append into div with the class 'test'. If link doesn't end with '.png' just ignore it and open normally. </p>
<p>This is markup, you can grab it on <a... | javascript jquery | [3, 5] |
2,714,750 | 2,714,751 | how can i do jquery's $.get in pure javascript? (without wanting to return anything) | <p>I want the mobile version of my site to be as snappy as possible, however i still want some basic analytics.</p>
<p>I want to ping a php file (hit counter) after the mobile page has loaded to count the amount of hits from javascript enabled browsers.</p>
<p>Jquery's a bit overkill for 1 ajax function so i'm keen t... | javascript jquery | [3, 5] |
4,661,632 | 4,661,633 | How to run a loop on a bunch of Android buttons that need to control their neighbors? | <p>I have a list of text inputs that each contain numbers. To the left of each is a button that says " - " to the right one that says " + ".</p>
<p>So, it looks like this:</p>
<pre><code>[ - ] [ 1111 ] [ + ]
[ - ] [ 1112 ] [ + ]
[ - ] [ 1113 ] [ + ]
etc...
</code></pre>
<p>I want each [-] to alter the value of the ... | java android | [1, 4] |
2,251,290 | 2,251,291 | Removing title bar of android application | <p>I'm making a small android application, and I want to remove the android title bar. </p>
<p>I've tried using the </p>
<pre><code>this.requestWindowFeature(Window.FEATURE_NO_TITLE);
</code></pre>
<p>But it still makes the title bar show for 0,1 second when the application starts. I would love to make it not even s... | java android | [1, 4] |
998,278 | 998,279 | How to create new packages in an Android project | <p>I have too many activities in my Android app project and I'd like to manage them using packages.</p>
<p>How can I do it? </p>
| java android | [1, 4] |
3,738,926 | 3,738,927 | Detecting ASP form submit no longer works | <p>I have the following code on my ASP.Net pages.</p>
<pre><code>$(window).submit(function () {
prompt = false;
});
</code></pre>
<p>The point of this code is that if the user clicks a button on the page and does a postback for example then I set the prompt flag to false and do not prompt the user with "Are you s... | javascript jquery asp.net | [3, 5, 9] |
786,421 | 786,422 | Why we can't use Response.Write on Page_Unload Event? | <p>I am using <code>Respose.Write</code> on <code>Page_Unload</code> event, then I get the error </p>
<blockquote>
<p>Response is not available in this context.</p>
</blockquote>
<p>May I know why we can't use? </p>
<pre><code>protected void Page_Unload(object sender, System.EventArgs e)
{
Response.Write(" hi "... | c# asp.net | [0, 9] |
3,284,740 | 3,284,741 | Can I hide SMS on Android? | <p>I would like to develop an application for Android 3.0 with only one button...
When I click on this button I should HIDE all the SMS sent from a specific phone number.</p>
<p>Is it possible?</p>
| java android | [1, 4] |
5,776,873 | 5,776,874 | JS detect the width of the screen, running a different JS files | <p>I write two js code. I want first detect the width of the screen, then run a different JS files. How to write correctly?</p>
<pre><code>$(document).ready(function() {
if ((screen.width>=1024) && (screen.height>=768))
{
$("link[text/javascript]:not(:first)").attr({src : "1024.js"});
}
else
{ ... | javascript jquery | [3, 5] |
4,446,590 | 4,446,591 | Textbox using password mode | <p>Hi I am using a text box with Password mode. And inserting the value using encryption. After that while updating the information I have to display the text again using password mode. But While assigning the data It is not displaying it in the textbox. How can I overcome this?</p>
| c# asp.net | [0, 9] |
6,032,505 | 6,032,506 | jquery select remove undefined? | <p>I using jquery how do i remove the one of the elements of the select dropdown where the value</p>
<pre><code><option value=" ">undefined</option>
</code></pre>
<p>i tried </p>
<pre><code>$("#subType option[value=' ']").remove();
$("#subType option[value='']").remove();
</code></pre>
<p>None of them w... | javascript jquery | [3, 5] |
5,204,789 | 5,204,790 | jQuery equivalent of PHP's strtr | <p>What is the jQuery equivalent of PHP's strtr.</p>
<p><a href="http://php.net/manual/en/function.strtr.php" rel="nofollow">http://php.net/manual/en/function.strtr.php</a></p>
<p>I would prefer the simplest possible, pure jQuery solution.</p>
<p>JS would also be a great alternative.</p>
| php javascript jquery | [2, 3, 5] |
4,689,030 | 4,689,031 | How to access the elements in <script> inside the body tag | <p>I am using <code><script></code> inside the body tag.</p>
<pre><code><script type="text/javascript" language="javascript">
$('#audioVolume').text($('#audioVolume').text(Math.round((document.mediaPlayer.Volume + 2000) / 10) + "%"));
</script>
</code></pre>
<p>Error: Microsoft JScript runtime erro... | javascript jquery | [3, 5] |
929,245 | 929,246 | Loop through a php page until session reaches a certain value | <p>I am currently developing a web based examination. all the question and answers are save on mysql database. I started the system by retrieving and displaying one question together with the answers which is on radio type. i used a session $_SESSION['questionno']=1; to indicate on what question number will be retrieve... | php javascript | [2, 3] |
1,323,838 | 1,323,839 | Pass client side value to server side | <p>I need to use a javascript variable value in server side.</p>
<p>Example:</p>
<p><strong>JavaScript</strong></p>
<pre><code>var result = false;
</code></pre>
<p><strong>CS Code</strong> </p>
<pre><code>if(result)
{
Console.Write("Welcome..")
}
else
{
Console.Write("plz try again..")
}
</code></pre>
... | javascript asp.net | [3, 9] |
6,000,360 | 6,000,361 | JavaScript form validation not working | <p>I have a very simple form with a very simple JavaScript validator. </p>
<p>I want an alert to popup if the first nae isnt filled out only it doesnt seem to be alerting and still submits. </p>
<p>I've uploaded a fiddle here <a href="http://jsfiddle.net/nvgMq/" rel="nofollow">http://jsfiddle.net/nvgMq/</a> </p>
| javascript asp.net | [3, 9] |
5,161,127 | 5,161,128 | Registering Coords for two fingers | <p>I want to build an android application that would register the x,y for two fingers on the screen at the same time. Is this possible or does android not allow that?</p>
| java android | [1, 4] |
2,950,202 | 2,950,203 | Access asp:lable value which set using jquery? | <p>I am making web application in asp.net, I have one label control in my .aspx page. I have to set label text value using jquery. want to access this value in my .cs file.</p>
<pre><code><asp:Label ID="lbltext" runat="server" Text=""></asp:Label>
</code></pre>
<p>By using this am able to change label tex... | c# javascript jquery asp.net | [0, 3, 5, 9] |
566,322 | 566,323 | A better way to detect the index in the parent's children array by using JQuery? | <p>for example, how to detect the index of the li elem in it's parent ul?</p>
| javascript jquery | [3, 5] |
4,306,487 | 4,306,488 | Recall a function | <p>I have made a simple image slideshow using jQuery. I need the "next" button to execute exactly the same function I use on each image click above. Since I am noobie, I can't get the issue.</p>
<p><a href="http://jsbin.com/etajuv/6/edit" rel="nofollow">Demo</a></p>
<pre><code>$('.show').each(function(){
var $t... | javascript jquery | [3, 5] |
3,087,854 | 3,087,855 | jquery firstChild.data equivalent | <p>Is there an equivalient of the firstChild.data in JQuery?</p>
<p>Given the following HTML :</p>
<pre><code><p id='test'>Hello<span>world</span>/<p>
</code></pre>
<p>the below javascipt will return : "Hello"</p>
<pre><code>document.getElementById('test').firstChild.data
</code></pre>
<p>t... | javascript jquery | [3, 5] |
4,772,813 | 4,772,814 | hyperlink to jquery tabs | <p>We have our accordion tabs ( horizontal as follows )</p>
<pre><code><ul class="tabs">
<li><a href="#tab1"><span class="upArrow">Inbox (2)</span></a></li>
<li><a href="#tab2"><span class="downArrow">Sent (8)</span></a></li>
&... | javascript jquery | [3, 5] |
3,352,675 | 3,352,676 | Creating a loop that fades out each article in succession. jQuery | <p>So the idea is to fade each image out from the bottom.. obviously it's going to have to backwardly traverse the array. However, i can't seem to figure it out at the moment. The idea is that it would pause after running the fadeOut() function, I thought set time out would work, but firebug gives me this error:
useles... | javascript jquery | [3, 5] |
2,351,785 | 2,351,786 | how to use asp.net list view control of framework 3.5 into framework 2.0? | <p>Can I use the list view control of framework 3.5 in a framework 2.0 app? If so, how?</p>
| c# asp.net | [0, 9] |
4,822,107 | 4,822,108 | Convert String to Integer/Float/Double | <p>I am trying to convert a string to <code>Integer/Float/Double</code> but I got a <code>NumberFormatException</code>.</p>
<p>My String is <code>37,78584</code>, Now I am converting this to any of them I got <code>NumberFormatException</code>.</p>
<p>How can I convert this <code>string</code> to any of them.</p>
<p... | java android | [1, 4] |
3,485,290 | 3,485,291 | variable initialized in class loses its previous value with the page loading | <p>I've declared a String variable test with "hi". every time I click on Button1, I expect that test will be appended with its previous value. But I have noticed that it loses its previous value when the button is clicked and the page is reloaded. That is every time I click it, it has its text as "hihi". I expect "hihi... | c# asp.net | [0, 9] |
5,094,190 | 5,094,191 | Long running operation on website | <p>What if I have website with a button. User clicks on the button and starts a long running process. After a few hours (or minutes) user update webpage and see results. What is the best (and any other) way to implement long running operation on website?</p>
| c# asp.net | [0, 9] |
4,611,901 | 4,611,902 | LINQ - return random value does not work | <p>I have this class in my infrastructure that suppose to return random image. It always returns same image. I have exactly same code used in different place on my website and it works. Any ideas?</p>
<p><a href="http://stackoverflow.com/questions/648196/random-row-from-linq-to-sql">This</a> question is where I got th... | c# asp.net | [0, 9] |
2,957,488 | 2,957,489 | Change URL on first and second clicks | <p>I've searched the internet and stackoverflow for how to trigger a second click function and this is what I found:</p>
<pre><code>$('.elementclass').toggle(
function(){
//on odd
},
function(){
//on even
});
</code></pre>
<p>It's perfect. Now according to this I try to change the URL of my document but so... | javascript jquery | [3, 5] |
596,840 | 596,841 | how to copy checkboxlist item's value to listbox using jquery | <p>I have a checkboxlist in my page having item text as some languages (ex: c, c++, java, c#sharp.net etc.). I have an empty listbox called desired skills. HR recruiter will select some of the languages (items of checkboxlist) and click a button called desire to copy the selected ckeckboxes and that need to be populate... | jquery asp.net | [5, 9] |
2,949,751 | 2,949,752 | Replace Picture Source (Adding) | <p>What i wish to do is have a div containing a image, when a button/mini picture is pressed the image's source will change from 1-2 2-3, etc adding 1 each time. This needs to go both ways:
i.e Right Arrow: 1.jpg 2.jpg Left Arrow 3.jpg 2.jpg Now the script also needs to include a IF statement so if the picture doesn't ... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.