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,386,151 | 2,386,152 | File Upload Control with a progress indiactor | <blockquote>
<p><strong>Possible Duplicates:</strong><br>
<a href="http://stackoverflow.com/questions/5389585/asp-net-file-upload-progress-bar">ASP.NET file upload progress bar</a><br>
<a href="http://stackoverflow.com/questions/49564/how-to-implement-file-upload-progress-bar-on-web">How to implement file upload ... | c# asp.net | [0, 9] |
33,732 | 33,733 | Get the HTML rendered by ASP.NET control in Code behind | <p>Hi I want to call the corresponding html inside a Panel in code behind. How can I do that?</p>
<p>I have this</p>
<pre><code><asp:Panel ID="MyPanel" runat="server">
// other asp.net controls and html stuffs here.
</asp:Panel>
</code></pre>
<p>I want to get the HTML equivalent of <code>MyPanel</cod... | c# asp.net | [0, 9] |
4,747,848 | 4,747,849 | Calculating a date when a date has been chosen by the number of days | <p>I have three selection drop downs in a form comprising of day, month, year. Pretty standard. Ive omitted all the individual select options for the purposes of this question.</p>
<pre><code><label for="start_date">Start Date<font class="required">*</font>:</label>
<select name="place_book... | javascript jquery | [3, 5] |
5,754,956 | 5,754,957 | Can not post the data after validation | <p>The code below are to validate a set of selectbox, however, it will not post and go to that post page after it pass the validation, how to fix it? I have added return true; at the end but it seems not working, Thank you.</p>
<pre><code>var $selects = $('form select[name^=select]'),
values = [];
$(':submi... | javascript jquery | [3, 5] |
1,767,106 | 1,767,107 | how to navigate the users to Login.aspx even if i set HomePage.aspx as the start page? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/549/the-definitive-guide-to-forms-based-website-authentication">The Definitive Guide To Forms based Website Authentication</a> </p>
</blockquote>
<p>how to navigate the users to Login.aspx even if i set HomePage... | c# asp.net | [0, 9] |
5,667,598 | 5,667,599 | I have orders.something.com and hr.something.com. How can I login into both systems? | <p>I have a site orders.something.com and other site hr.something.com. My 1st question should I create different applications for these in VS 2010 or I can run it inside single application too? Secondly, if I create 2 applications how can I establish login into both system? So for example if he is logged into something... | c# asp.net | [0, 9] |
3,998,716 | 3,998,717 | How to create draggable widgets? | <h2>Background</h2>
<p>I am tasked with developing the front-end to an analytics product that presents the information to the user in a customizable dashboard like the one used by Google Analytics:
- Dashboard is comprised of draggable widgets arranged in a grid layout
- Widgets have a drag handle which can be click... | javascript jquery | [3, 5] |
885,229 | 885,230 | how to upload a file to aspx page using fileupload Control? | <pre><code><%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.Master"
CodeBehind="Mortgageclient.aspx.cs" Inherits="MortgageSaver._Default" %>
protected void btnfupload_Click(object sender, EventArgs e)
{
try
{
if (FileUpload1.HasFile)... | c# asp.net | [0, 9] |
5,369,866 | 5,369,867 | Am i limited with C# and ASP? | <p>Currently, i have basic C++ and PHP skills.
But, i want to switch to C# and ASP ( for the web part ).
Why ? you will ask.
Because i have the opportunity to learn pretty easily C# ( including OOP-ed ) to a pretty advanced level.
And because i read that ASP is very similar to C#, i'm thinking to learn it.</p>
<p>So, ... | c# asp.net | [0, 9] |
2,398,069 | 2,398,070 | How to detect if MediaRecorder is used by another application? | <p>I'm trying to detect if MediaRecorder is used by other application, to stop my recorder and continue for later use. I saw Androids Voice recorder app, it does what exactly I'm talking about, but HOW ?
Thank you.</p>
| java android | [1, 4] |
1,052,862 | 1,052,863 | JS/jQuery: Popupbox with options | <p>Yes. I am using normal confirm boxes for my "did you mean firstname lastname?" with yes/no</p>
<p>I also have "Who of these did you mean:" and i want a popup/dialog for this too, where you can select one of the names you ment.</p>
<p>example so the popup would look like this:</p>
<pre><code>Who did you mean?:
[ ]... | javascript jquery | [3, 5] |
3,840,326 | 3,840,327 | use jquery functions on PHP string | <p>I'm searching for a php library which i can use like jquery on a php string.
I have a string in php</p>
<pre><code>$html = "<html><head></head><body><div><span>test</span></div></body></html>";
</code></pre>
<p>Now I want to use functions like $("body").f... | php jquery | [2, 5] |
4,942,358 | 4,942,359 | How to scroll to the top of page in IE with jQuery | <p>I have this Javascript below using jQuery that shows a div on a page that when clicked will slowly scroll the page back to the top of the page, it works good with chrome and firefox however when used on IE 8 it just goes to the top immediately instead of a slower scroll up</p>
<p>Can anyone tell me how to overcome ... | javascript jquery | [3, 5] |
27,121 | 27,122 | Cannot display Tiny MCE Editor inside update panel C# | <p>I cannot display my tiny MCE editor inside update panel.</p>
<p>I have two update panel using update mode <code>"conditional"</code>
In the first I added button on click of it display MCE editor which is inside second update panel
I did this from my code behind, <code>on click</code> event I updated both panels</p>... | c# javascript | [0, 3] |
1,611,992 | 1,611,993 | How to design with Paging of Gridview with additional options | <p>I have a problem that I want to design a gridview with additional options with paging in a different way which is shown in below images. I can implement simple paging concept in GridView but that will not shown like this which I desired as in images. This will show Records Per Page options also. Please suggest me an... | c# asp.net | [0, 9] |
1,313,149 | 1,313,150 | Find Control In Datalist | <p>When I tried To Find Control n data List As I Mentioned Below</p>
<pre><code> Error(Object reference not set to an instance of an object.
</code></pre>
<p>I cannot know </p>
<pre><code>protected void dlCategory_ItemDataBound(object sender, DataListItemEventArgs e)
{
Label Lb = (Label)e.Item.FindContr... | c# asp.net | [0, 9] |
1,108,308 | 1,108,309 | json encoding 2 dimension array | <p>I have the following in php:</p>
<pre><code>$query = mysql_query($sql);
$rows = mysql_num_rows($query);
$data['course_num']=$rows;
$data['course_data'] = array();
while ($fetch = mysql_fetch_assoc($query) )
{
$courseData = array(
'course_name'=>$fetch['course_name'],
'training_field'=>$fetch['tr... | php javascript jquery | [2, 3, 5] |
3,368,616 | 3,368,617 | onfocusout alternative? | <p>I have the following code:</p>
<pre><code><script type="text/javascript">
function editLabel(source) {
source.innerHTML = '<input type="text" value="' + source.innerHTML + '"/>';
source.onclick = null;
source.children[0].focus()
}
function setLabel(source) {
... | c# javascript asp.net | [0, 3, 9] |
4,333,342 | 4,333,343 | How to get parameters from a link that callls a jQuery function? | <p>I have a link that looks like this:</p>
<pre><code><p class="half_text">
<?php echo $upvotes; ?>
<strong><a class="vote_up" style="color: #295B7B; font-weight:bold;" href="#">Vote Up</a></strong> |
<?php echo $downvotes; ?>
<strong><a class="vote_do... | php javascript jquery | [2, 3, 5] |
2,706,950 | 2,706,951 | jQuery dialog not working properly | <p>I have the following script:</p>
<pre><code><script type="text/javascript">
$( "#addLocation" ).dialog({
autoOpen: false,
modal: true,
height: 700,
width: 550,
buttons: {
"Add Location": function() {
document.forms["mapform"].submit();
... | javascript jquery | [3, 5] |
5,327,117 | 5,327,118 | message window triggered by browser back / window close | <p>Im a php developer interested in going a little more client side. I need to find a way to create some kind of dialogue when either the browser back or window close buttons are hit. Can you give me an idea of the best way to go about this.</p>
<p>Many thanks
Giles</p>
| javascript jquery | [3, 5] |
5,667,365 | 5,667,366 | jQuery Not Working, "Zentabs" conflict? | <p>I'm using a jQuery plugin(?)/library called "Zentabs" and for some reason it's preventing any other jQuery code I write from working...this isn't the first time I've had trouble with jQuery library's breaking other pieces of code but usually I can rearange where the code appears and that'll usually fix whatever the ... | javascript jquery | [3, 5] |
3,815,085 | 3,815,086 | Set the value of an input tag with type="password" using C# and ASP.Net | <p>So I have this input tag:</p>
<pre><code><input type="password" id="password" name="password" runat="server" />
</code></pre>
<p>I'm trying to set its value using C# and ASP.Net before the page loads, but I can't get it to work.</p>
| c# asp.net | [0, 9] |
442,993 | 442,994 | Uncaught TypeError: Object [object Object] has no method 'submit' | <p>I'm getting the error "Uncaught TypeError: Object [object Object] has no method 'submit'" when I try to add ajaxSubmit to my form.</p>
<p>JQuery code:</p>
<pre><code> $(document).ready(function() {
var options = {
beforeSubmit: showRequest,
success: showResponse
};
$('#bform'... | javascript jquery | [3, 5] |
3,711,776 | 3,711,777 | How to pass an object reference to a function with jQuery? | <p>I have several links which all use a similar function, so I want to call the function and pass it attributes from the object that made the call. How do I do this? </p>
<p>This is my code:</p>
<pre><code>$('.flash').click(function(){
getDimensions($(this));
swfobject.embedSWF(fileRef, "myContent", fileWidth... | javascript jquery | [3, 5] |
4,504,109 | 4,504,110 | How to make PHP more Javatized (aka strongly typed, more robust)? | <p>I really love PHP because:<br>
_ easy to develop web applications (you set up LAMP in 10 minutes and you are ready to go)<br>
_ easy to learn<br>
_ easy to deploy (you just need Apache with the PHP module) </p>
<p>I really love Java because:<br>
_ it is strongly typed</p>
<p>I was amazed by developing with Java a... | java php | [1, 2] |
5,028,382 | 5,028,383 | jQuery: Intercept original DOM ready event? | <p>Would it be possible to somehow intercept the DOM ready event so that anything normally triggered within, say, <code>$(document).ready(function() { ... }</code> would not be executed? And then later manually trigger the event so that the code <em>was</em> executed?</p>
<p>In my case, I have a large amount of existi... | javascript jquery | [3, 5] |
1,445,612 | 1,445,613 | Android SQLite sync updates from server | <p>I just wanted some advice. I have an app with a database that will be updated once a week. In my opinion there is no point having users download the app again each week. Nor is there a reason for the entire database to be downloaded once a week.</p>
<p>My idea is to send a request to a server every time the app is ... | java android | [1, 4] |
5,447,394 | 5,447,395 | What language is used for text with dynamic text {name} | <p>What language is used for dynamic text in my system
Sample</p>
<pre><code><html>
<title>{name title}</title>
{css load}
{script load}
<body>
<div>
{headers}
</div>
</code></pre>
<p>how do I do that?
php with javascript ?</p>
| php javascript | [2, 3] |
2,696,454 | 2,696,455 | Get referer from iphone/android application | <p>I have a web page, that i want to detect if the user redirect from any site in the web or from an iphone/android application. </p>
<p>How can i do this in PHP</p>
<p>Thanks</p>
| php android iphone | [2, 4, 8] |
1,102,451 | 1,102,452 | Regular expression [Any number] | <p>I need to test for "[any number]" in a string in javascript. how would i match it?</p>
<p>Oh, "[" and "]" also need to be matched. </p>
<p>so string like "[1]" or "[12345]" is a match.</p>
<p>Non match: "[23432" or "1]" </p>
<p>So for example:</p>
<pre><code>$('.form .section .parent').find('input.text').each(f... | javascript jquery | [3, 5] |
3,218,012 | 3,218,013 | Grab href with jQuery on click | <p>I was wondering is there any chance to grab href link with jQuery?</p>
<p>For example, I have these:</p>
<pre><code><li><a href="head.php">Head</a></li>
<li><a href="body.php">Body</a></li>
<li><a href="settings.php">Settings</a></li>
</code><... | javascript jquery | [3, 5] |
2,352,105 | 2,352,106 | Link style with javascript | <p>I have this code for hiding\showing link depends on state of cBoxoverlay. But when i click to close this item(<code>display:none</code>), and then click again to show it(<code>display:block</code>) my link(<code>#close-news</code>) still not showing.</p>
<pre><code>jQuery(document).click(function () {
if (jQuery(... | javascript jquery | [3, 5] |
4,275,356 | 4,275,357 | Event Handlers not working after DOM manipulation | <p>On page load I bind Event Handlers with content which is hidden on at the time of page load. </p>
<p>If users clicks on the button, the hidden content is pulled and replaces the main content of the page, Now the event Handlers which were initially binded do not work.</p>
<p>HTML code on Page load </p>
<pre><code>... | javascript jquery | [3, 5] |
5,365,586 | 5,365,587 | Scrolling to an anchor in a programatically loaded DIV (from an iframe) | <p>I have a page called results.php that has a hidden iframe and a DIV container. When the page is loaded, some code is run in the hidden iframe which, when complete, loads the results into the CONTENT DIV in the results page, generating a scrollbar to results.php</p>
<p>All this works fine, but when I have anchors in... | php javascript | [2, 3] |
936,304 | 936,305 | jquery dynamic radio button validation | <p>I have created 20 radio button dynamically </p>
<pre><code> <script>
$(function() {
$( "#sortable1, #sortable2" ).sortable({
connectWith: ".connectedSortable"
}).disableSelection();
$( "#sortable2" ).sortable({
remove: function(event, ui) {
t = ui.item[0].attribut... | javascript jquery | [3, 5] |
1,747,616 | 1,747,617 | Loop through all childs of GroupView? | <p>Here is my code:</p>
<pre><code> Typeface font = Typeface.createFromAsset(getAssets(), "fonts/choco.ttf");
ViewGroup rootView = (ViewGroup) findViewById(android.R.id.content).getRootView();
for(int i = 0; i < rootView.getChildCount(); i++)
{
View child = rootView.getChildAt(i);
L... | java android | [1, 4] |
2,379,839 | 2,379,840 | A way to make html form disappear? | <p>What is the recommended or most efficient way (least code/fastest) to make a html form dissapear from a page once the submit button has been pressed and then put in its place the output of a .php file?</p>
| php javascript | [2, 3] |
3,928,610 | 3,928,611 | Can JavaScript/jQuery make an element change automatically based on a variable? | <p>I have a variable that's being changed all the time in the course of my application. Can I make an element change (contents, colour, whatever), when the variable changes?</p>
<p>Or do I have to change the element each time I change the variable. Ideally, the result would almost be like binding a change event to the... | javascript jquery | [3, 5] |
1,650,705 | 1,650,706 | Change href link in content place holder from C# code | <p>I have a content placeholder containing a link:</p>
<pre><code><asp:Content ID="Content5" runat="server" contentplaceholderid="ContentPlaceHolder3">
<a href= "../WOPages/WO_Main.aspx?WONum=12345">WorkOrder</a>
</code></pre>
<p></p>
<p>and I would like to change the href querystring from code. ... | c# asp.net | [0, 9] |
4,782,127 | 4,782,128 | Why is this Javascript loop taking one minute for 100 iterations? | <p>I am using the below code in my program but it seems that these few line of code is taking too much time to execute. For 100 iteration it is consuming 1 mins approx. for 200+ iteration my broser is showing a warning message that script is taking too much time. As per the scenario 500+ ids can be pushed into the arra... | javascript jquery | [3, 5] |
2,098,229 | 2,098,230 | how to get DIV object reality height in javascript? | <p>please see: <a href="http://jsfiddle.net/cGJp4/" rel="nofollow">demo</a> </p>
<pre><code>$("#stdout").height()
</code></pre>
<p>return <code>18px</code></p>
<p>I want to get the reality height ( height + padding + border ) <code>200px</code></p>
<p>how to do?</p>
<p>thank for help :)</p>
| javascript jquery | [3, 5] |
4,176,661 | 4,176,662 | Regular Expression to match more than 1 decimal point | <p>I am trying to support the following formats:</p>
<pre><code>11.11
01.67
30.03
11.45.23
</code></pre>
<p>But the Regex i used <code>"/^[+-]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][+-]?[0-9]+)?$/"</code> supports only first 3 formats.</p>
<p>I need to match numbers with 1 or more decimal points like <strong>11.1... | c# javascript | [0, 3] |
3,332,200 | 3,332,201 | Windows client with Linux webserver | <p>I have created a simple web server on my Linux and the clients work fine with it if they are put in the same Linux environment. I would like to know if there is any possible way to make a client accept that webserver's open port and works with it</p>
<p>That is, now that I have a VirtualMachine with Linux Mint inst... | c# java | [0, 1] |
5,349,161 | 5,349,162 | integrate cached-page check into index file | <p>I'm trying to set a main page to reload with a query string so it doesn't come from a cached file. the page is index.php, but i'd like to, whenever the page loads, hava a unique string appended to it (like the answer in the comments by Rocket to <a href="http://stackoverflow.com/q/10823672/1252748">a previous questi... | php javascript | [2, 3] |
5,258,223 | 5,258,224 | Call C#.net method in Javascript | <p>I Have Method in Code behind(C#) and Want to call this method inside the javascript.</p>
<p>My Code in C#</p>
<pre><code> private void StatusSet()
{
List<StatusHandler> iListStatus = new List<StatusHandler>();
iListStatus.Add(new StatusHandler('A', "Active"));
... | javascript asp.net | [3, 9] |
4,566,484 | 4,566,485 | How to select the value of the label for a form field | <p>I'm stuck on this one. I'd like to grab the <strong><em>value of the label</em></strong> for a field to use it in an alert as part of a validation script. Here is my code:</p>
<p>(The function is being called on the <code>onblur</code> event (<code>isFieldBlank(this)</code>).</p>
<pre><code>function isFieldBlank(t... | javascript jquery | [3, 5] |
4,374,425 | 4,374,426 | JQuery - CSS Editor? Is there one? | <p>Is there a JQuery plugin that has a css editor? What I mean is something like this:</p>
<p><a href="http://www.cssportal.com/css-style-editor/">http://www.cssportal.com/css-style-editor/</a></p>
<p>Kind of like the dreamweaver style editor.</p>
<p>If there isn't something like this, Its probably not that hard to ... | javascript jquery | [3, 5] |
1,734,110 | 1,734,111 | How do I stretch a background image to fill the window and get it to animate? | <p>For a project I'm working on I need to stretch a background image to fill the browser window <em>and</em> be able to have them transition via sliding eg. Say you're on the home page, I'd want the user to be able to click on a navigation link for 'About', and then have the background image slide into a different imag... | javascript jquery | [3, 5] |
3,897,787 | 3,897,788 | Multiple jcarousels on one page issue | <p>I have some jcarousels on a page, and they grow up by a module.. So we can`t tell how many there will be. The problem is when i click on a one Carousel "Next" and "Previous" controls all the carousels change at same time. It happens because i have append a the control's from the java script like bellow</p>
<pre><co... | javascript jquery | [3, 5] |
4,302,996 | 4,302,997 | Handling dynamic number of columns | <p>I'm developing a CMS of sorts, and I want to give my users the possibility of customizing the display. More precisely, I want to give them the ability to choose to display or hide the left column, the right column and/or the top div. The middle column cannot be hidden since this is where the actual content will show... | c# asp.net | [0, 9] |
215,585 | 215,586 | Problem in opening doc/docx/excel files in browser(Asp.net, C#) | <p>I am storing some files like PDF,Doc, Docx, xls etc. in the file system.</p>
<p>Now I have to show those files on the browser for the users to view.</p>
<p>So basically a link button is there in a datagrid, upon clicking on which the user will be able to view.</p>
<p>So far my code goes like this</p>
<pre><code>... | c# asp.net | [0, 9] |
3,223,239 | 3,223,240 | Add next/previous year button to asp calendar control | <p>Need to add a button for next previous year in ASP calendar control dynamically.</p>
<p>How can I add it right next to the existing next and prev controls? Is it possible to do this via dayrender event ?? Please help</p>
| c# asp.net | [0, 9] |
3,523,846 | 3,523,847 | resume the broken upload | <p>How to manage to write an application (JS + PHP) that would let the user resume the broken upload so as not to reload it?
N.B. No frameworks are acceptable.</p>
| php javascript | [2, 3] |
4,747,110 | 4,747,111 | jquery plugin problem | <p>I`m trying to figure out how to properly create jquery plugin. Here is what I do</p>
<pre><code>(function( $ ){
$.fn.myPlugin = function() {
console.log(this.eq(0).text());
};
})( jQuery );
$('#sector1').myPlugin();
</code></pre>
<p>Here is html</p>
<pre><code><div id... | javascript jquery | [3, 5] |
5,965,755 | 5,965,756 | How to convert a script in Python to C++? | <p>I need to convert python script <a href="http://stackoverflow.com/questions/3085153/how-to-parse-the-manifest-mbdb-file-in-an-ios-4-0-itunes-backup">How to parse the Manifest.mbdb file in an iOS 4.0 iTunes Backup</a> to c++ code. Is there any conversion tool for that? Can anyone provide C++ code for <code>Manifest.m... | c++ python | [6, 7] |
4,160,573 | 4,160,574 | How to Customize existing dictionary in javaScript SpellChecker? | <p>for the first time i am using <strong>Javascript Spllcheck</strong>.i am using <strong>ASP.Net 2008</strong> <em><strong>(<a href="http://www.javascriptspellcheck.com/" rel="nofollow">http://www.javascriptspellcheck.com/</a>)</em></strong> and as per the installation guide i've added required files including ASPNetS... | javascript jquery asp.net | [3, 5, 9] |
4,202,322 | 4,202,323 | Jquery Image Crop to a dynamic shape | <p>I wish to have an interface that can achieve something similar to the screen shot attached.
Is this possible in Javascript - interested to here of Jquery examples.</p>
<p><img src="http://ploader.net/files/a612027c553e7445b8fed99c4891aa11.png" alt="Screenshot"></p>
| javascript jquery | [3, 5] |
5,746,446 | 5,746,447 | Automatically log in to the web site (Intranet) as they are already signed in to their PC with the AD account | <p>What we want the users to automatically log in to the web site (Intranet) as they are already signed in to their PC with the AD account?</p>
| c# asp.net | [0, 9] |
4,665,756 | 4,665,757 | My lightbox script won't load | <p>Hey I'm trying to get this lightbox script to work on a client site but I get this error '$ is not defined', I'm not well with JS so i was wondering if i could get some help, heres the site - <a href="http://www.petconnection.com/blog/" rel="nofollow">http://www.petconnection.com/blog/</a>. </p>
<p>Thanks, Antonio.... | javascript jquery | [3, 5] |
2,622,919 | 2,622,920 | Set up HTTPPOST android? | <p>I want to set up httppost to my server.
For now I have address for emulator, but now I want to test app online.
Here is the code:</p>
<pre><code>HttpClient httpClient = new DefaultHttpClient();
HttpPost httpPost = new HttpPost("http://10.0.2.2/posloviPodaci/index.php");
</code></pre>
<p>How to set up address for m... | java android | [1, 4] |
1,846,353 | 1,846,354 | Random Binary Generator (not pseudo) | <p>How do I generate random binary values lets say 10 digits <code>0010101001</code> and I want to call this <code>C1</code> I then want to create another one called <code>C2</code> same again random 10 digit binary number.</p>
<p>C# is my language of choice. </p>
<p>Is there a bitset class for c# </p>
<p>something ... | c# c++ | [0, 6] |
3,951,771 | 3,951,772 | Two issues with the uplodify | <p>I have implemented <a href="http://www.uploadify.com/" rel="nofollow">uplodify</a> for my website. I am successfully able to upload the file and thumbnails to the server. Could anyone please tell me how can I display those thumbnails on the website.</p>
<p>Uploadify implementation </p>
<pre><code><script type="... | php jquery | [2, 5] |
4,519,947 | 4,519,948 | Move div rather than Remove() | <pre><code> $(settings.widgetSelector, $(settings.columns)).each(function () {
var thisWidgetSettings = iNettuts.getWidgetSettings(this.id);
if (thisWidgetSettings.removable) {
$('<a href="#" class="remove">CLOSE</a>').mousedown(function (e) {
/* STOP event... | javascript jquery | [3, 5] |
1,081,862 | 1,081,863 | Loop timer in javascript | <p>I need to execute a piece of javascript code say, each 2000 milliseconds.</p>
<pre><code>setTimeout('moveItem()',2000)
</code></pre>
<p>The above will execute a function after 2000 milliseconds, but won't execute it again.</p>
<p>So inside my moveItem function I have:</p>
<pre><code>function moveItem() {
jQu... | javascript jquery | [3, 5] |
2,243,671 | 2,243,672 | Attempting to dynamically generate a javascript function call and pass a string | <p>I have a data source that I <strong>can not alter</strong>, the data source contains a hyperlink with an Id in it that I can use to retrieve data that I need. I created a method to convert the hyperlink to call a javascript function and pass the scrubbed id from the hyperlink, however I am not getting the correct re... | c# javascript | [0, 3] |
5,260,030 | 5,260,031 | Implementation of a list view with 3 items, one text, one image and on radio button | <p>I have some problems in implementing a list view with 3 items, one text, one image and on radio button. Could you please let me know how can we perform that. </p>
<p>I have
String[] MovieName=new String[MovieNum]; //Has Movie Name Text
String[] MovieCover=new String[MovieNum]; // Has Movie Iamge URL</p>
<p>Can yo... | java android | [1, 4] |
3,369,299 | 3,369,300 | Instance variable in java and c++ | <p>as I understood, In java all the variables are refernces.</p>
<p>On the next code:</p>
<pre><code>class Parent {
public int x = 12;
}
class Child extend Parent {
public int x = 42;
}
Parent p = new Parent();
System.out.println(p.x);
12
Child c = new Child();
System.out.println(c.x);
42
p = c; // be... | java c++ | [1, 6] |
4,923,824 | 4,923,825 | Link won't open in new window | <p>I'm having some trouble using the jQuery BlockUI plugin.</p>
<p>What I'm trying to do is have a clickable link in the content lock, but even when I add target="_blank", it won't send to the URL.</p>
<p>Any ideas?</p>
| javascript jquery | [3, 5] |
4,123,783 | 4,123,784 | attaching jquery function to a span from asp.net code | <p>I am trying to add some jquery to span with a class added to it.
I am using asp.net and trying to use RegisterClientScriptBlock to attach the below code to my element. "cphMain_ed1" is hardcoded in this example however I would normally been passing a parameter here just for the ease of this.</p>
<pre><code> <s... | asp.net jquery | [9, 5] |
5,213,351 | 5,213,352 | Android OnDraw() and update with Timer | <p>I'm trying to make a game in Android that once a user presses start, there will be objects flying across the screen. I think I need to link my OnDraw() function with a timer so that the objects' positions can be updated. </p>
<p>Currently, I am following a code sample I found online that prints out the text continu... | java android | [1, 4] |
2,751,698 | 2,751,699 | How do determine re-directed url? | <p>I'm using file_get_contents as such</p>
<pre><code>file_get_contents( $url1 ).
</code></pre>
<p>However the actual url's contents are coming from $url2.</p>
<p>Here is a specific case:</p>
<pre><code>$url1 = gmail.com
$url2 = mail.google.com
</code></pre>
<p>I need a way to grab $url2 progrmatically in PHP or... | php javascript | [2, 3] |
3,209,578 | 3,209,579 | Android same method called twice | <p>I have a method that runs when the app is opened. It is called from onCreate. But I also call it from onResume. The problem I have is that at the moment it is running twice when the app opens. Is there a way to stop this or a better way to implement what I am trying to achieve?</p>
<p>Thanks</p>
| java android | [1, 4] |
4,081,957 | 4,081,958 | javascript innerHTML end tag case | <p>I used <code>'tag'.innerHTML</code>.it will render with adding an endtag.How can i get <strong>only the display content</strong> inside a selected tag html?</p>
<pre><code><div id="tabs">
<ul class="tabs">
<li class="current"><a><span>News</span></a></li>
... | javascript jquery | [3, 5] |
4,872,550 | 4,872,551 | What's the purpose of starting semi colon at beginning of JavaScript? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1873983/what-does-the-leading-semicolon-in-javascript-libraries-do">What does the leading semicolon in JavaScript libraries do?</a> </p>
</blockquote>
<p>I have noticed a lot of jQuery plugins start with </p>
<... | javascript jquery | [3, 5] |
260,176 | 260,177 | Creating a widget | <p>Hi i want to create a widget which can be embedded on other websites similar to the twitter profile widget, an example is here;</p>
<p><a href="http://twitter.com/about/resources/widgets/widget_profile" rel="nofollow">http://twitter.com/about/resources/widgets/widget_profile</a></p>
<p>The way i would approach thi... | c# jquery asp.net | [0, 5, 9] |
3,506,174 | 3,506,175 | Filter in collection c# | <p>I have a collection in c#
For ex:</p>
<pre><code>Collection<User> List = null;
</code></pre>
<p>I need to filter it based on sum parameters. so lets say i want to filter out users whos userID is between 1 to 100.</p>
<p>Please advice how i can do this in c#</p>
<p>Thanks
Amit</p>
| c# asp.net | [0, 9] |
4,200,041 | 4,200,042 | Refreshing webpage after browser back button? | <p>Let me begin by saying I do not want to "disable" or otherwise prevent the proper usage of the browser history buttons.</p>
<p>What I need is a javascript-based procedure (cross-browser compatible, hopefully) to refresh a webpage (staying on the same URL) after navigating to it using the back/forward buttons. This ... | javascript jquery | [3, 5] |
5,336,326 | 5,336,327 | setInverval and delay | <p>I am trying to make a div bounce every 4 seconds and after 15 seconds fadeOut. The code bellow makes the div disappear and the bounce doesn't happen.</p>
<pre><code>$(document).ready(function(){
function salta() {
$('.recomenda').effect("bounce",{ times:4 },300);
}
setInterval(salta, 4000);
... | javascript jquery | [3, 5] |
1,440,128 | 1,440,129 | Javascript/Jquery : Call a Function after Previous Function is Complete | <p>Ok, it's 1 a.m., I suck at coding javascript, and I can't seem to find a clear solution anywhere.</p>
<p>This is essentially what I have:</p>
<pre><code>$('a.button').click(function(){
if (condition == 'true'){
function1(someVariable);
function2(someOtherVariable);
}
else {
doTh... | javascript jquery | [3, 5] |
5,718,252 | 5,718,253 | Javascript async callback | <p>My problem is better explained in code:</p>
<pre><code>//This code is triggered before ajax ObBegin. But I need f1 to return a boolean to either cancel or continue the event.
f1();
function f1(){
$.modalWindow.Open(); //This is an async method, this is where my problem lies.
//I need to freeze here and wai... | javascript jquery | [3, 5] |
3,921,403 | 3,921,404 | how to create my own namespace | <p>how to create my own namespace of database connectivity in a project and use in .cs file of every .aspx page ??</p>
| c# asp.net | [0, 9] |
226,115 | 226,116 | ListBox SelectedIndex returning wrong value | <p><br></p>
<p>So I have an unbound ListBox populated with ListBox items with values such as:<br><br></p>
<pre><code>new ListItem("Item1", "1")
new ListItem("Item2", "2")
new ListItem("Item3", "0")
new ListItem("Item4", "0")
new ListItem("Item5", "0")
</code></pre>
<p>A delete button should allow a user to delete a ... | c# asp.net | [0, 9] |
3,494,872 | 3,494,873 | Create a timer in asp.net Server side | <p>I have a asp.net web application , in that application I will call a function once that function s called , it has to wait for some time interval then execution should take place how to do that.......</p>
| c# asp.net | [0, 9] |
4,939,638 | 4,939,639 | JQuery selector for inline style property | <p>I would like to use a jquery to select the following span:</p>
<pre><code><span id="RequiredFieldValidator1" class="validationerror" style="color: Red; display: none;">*</span>
</code></pre>
<p>But not select the following span which differs from the original in that the style attribute has a display p... | asp.net jquery | [9, 5] |
5,359,320 | 5,359,321 | How to get value of textbox after ajax post using JQuery | <p>I am getting undefined as a value using the code below when I try to get the value of a textbox after a post. Is this possible or am I missing something basic?</p>
<pre><code><input type="text" size="3" value="<?php echo $item['qty'] ?>" id="quantity[<?php echo $sizeid?>]" name="quantity[<?php ech... | php jquery | [2, 5] |
5,328,498 | 5,328,499 | Is there a way to set `selected` flag instead of val() for dropdowns? | <p>The select values are confusing me. When the user edits a row in my app I clone a tag with jquery (called empty-X) and put it on a modal window so that the user can edit the values. At the same time I get a json object (data) from server and fill in the current fields on the modal window as it stands in the database... | javascript jquery | [3, 5] |
5,504,557 | 5,504,558 | How to split the string using jquery other than split method | <p>I want to split the string that is coming from database. In the controller i am grouping that one and passing that value by ajax success. The same code working in other view page. But i am not able to do the splitting in my view page. What's the problem.</p>
<p>Code:</p>
<pre><code> var x = json[i].answer;
... | javascript jquery | [3, 5] |
4,282,612 | 4,282,613 | how to get checkbox bulk value in javascript | <p>i want to get all the details of youtube,so if the user tick the checkbox i want to get the full details of video in javascript,i have done but only i can get first word from the you tube name,
you tube name,example $name="Geet - Episode 456 - Clip 1 [24th November 2011] <em>HQ</em>"
so alert(name) ... | php javascript | [2, 3] |
5,308,469 | 5,308,470 | How do I stop the page from reloading when clicking on tabs? (jQuery) | <p>I am have an issue with the page reloading. I have written a simple jQuery script that will tab through content. You can see it in action here: <a href="http://www.jonathanmaloy.com/tabstack/" rel="nofollow">http://www.jonathanmaloy.com/tabstack/</a></p>
<p>The problem is that the page reloads and starts back at th... | javascript jquery | [3, 5] |
5,789,167 | 5,789,168 | adding an "active" class to parent and child element | <p>Need to add an active class to both parent and child element if a user clicks on the child element in a list. My html is as follows:-</p>
<pre><code><ul class="tabs">
<li class="accordion"><a href="#tab1">Bar</a>
<ul class="sub">
<li>lorem/li>
... | javascript jquery | [3, 5] |
2,565,235 | 2,565,236 | ASP.NET Print Function: to print asp.net controls with its style | <p>I am developing an intranet web application. And I want to develop simple print function that I can use it to print a specific part from the web page and I can use it to print GridView or ListView with its style. I am searching about it in the web and most of what I found is javascript function that print the GridVi... | c# asp.net | [0, 9] |
2,393,413 | 2,393,414 | Sending multiple PHP files with AJAX | <p>Usually when I want to create new content in a php file and implement it somewhere in my site I do something like this (JS and PHP):</p>
<pre><code> case 'someCasename':
...
include_once 'file.php';
break;
...
success: function(data){
$("#idSelector").html(data);
}
</code></pre>
<p>and the new ... | php jquery | [2, 5] |
2,656,521 | 2,656,522 | Jquery or pure javascript | <p>Would a javascript programmer, that knows javascript pretty well, write his/her code in Jquery or in pure javascript?</p>
<p>With other words. Are jquery just for people who doesn't know javascript well enough?</p>
<p>Lets say we are talking about creating "comapny presentation websites", where javascript mainly w... | javascript jquery | [3, 5] |
5,078,404 | 5,078,405 | Javascript, looping a set of instructions (set timeouts) | <p>I want to loop an animation which is essentially changing the background-position ever 150 milliseconds. It does not fade or anything, it just has to happen over and over again. But I can not seem to find a solution that loops these set of instructions.</p>
<pre><code>setTimeout( function() {
$('div.arrow')... | javascript jquery | [3, 5] |
1,619,975 | 1,619,976 | Pick the biggest height of all elements | <p>This is my code.</p>
<pre><code> v=dom.find("ul:first").outerHeight(); // the height of the first li element
// instead of taking the height of the first li element, it should loop through all
// li elements and set v to the element with the biggest height
</code></pre>
<p>The comment in... | javascript jquery | [3, 5] |
336,632 | 336,633 | jQuery combobox plugin | <p>I am looking for jQuery plugin that does something very similar to <a href="http://translate.google.com/" rel="nofollow">google translate</a> when you click on 'detect language'. I couldn't find this in jQuery UI - is there anything out there?</p>
| javascript jquery | [3, 5] |
5,645,441 | 5,645,442 | Adding a button onto each row of a table | <p>I am currently looking for a way to insert a button on each row of a table (please note this is a dynamic table that will change on a regular basis), this button would be used for deleting the row from the table - I have already tried adding a button on each row using this method:</p>
<pre><code> foreach... | c# asp.net | [0, 9] |
4,111,181 | 4,111,182 | check/uncheck checkbox based on another checkbox | <p>I looked at item 4197593 How to check uncheck a checkbox based on another checkbox and copied the code from the demo to my webpage. When I open the page I get a java error - the yellow triangle bottom left hand corner.
The error only occurs when I add in this javascript:</p>
<pre><code><script type="text/javascr... | javascript jquery | [3, 5] |
1,559,887 | 1,559,888 | How does this order page work? | <p><a href="https://markup-service.com/order/create" rel="nofollow">https://markup-service.com/order/create</a></p>
<p>How does that form work ? The javascript source code is compressed and cant be decompressed at least as far as i know.</p>
<p>I need help building a similar page, and any insight on how to replicate ... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.