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 |
|---|---|---|---|---|---|
5,494,253 | 5,494,254 | How to Block the user from opening same information in two different tabs/window? | <p>From my application i need to block the user from from opening a same link in two different tabs / windows (link is dynamic one not static ), Since the link generated id basis i wont allow user to open a same id inforation in differnt tabs. so how can i prevent it ? appriciate if any one help</p>
| javascript jquery | [3, 5] |
4,236,306 | 4,236,307 | .NET port with Java's Map, Set, HashMap | <p>I am porting Java code in .NET and I am stuck in the following lines that (behave unexpectedly in .NET).</p>
<p><strong>Java</strong>:</p>
<pre><code>Map<Set<State>, Set<State>> sets = new HashMap<Set<State>, Set<State>>();
Set<State> p = new HashSet<State>();
if (... | c# java | [0, 1] |
4,511,675 | 4,511,676 | Postback problem on a submit button ! | <p>I have a page that has 4 tables. Initially when the page is loaded, it shows 1 & 2. Thats working fine. On Post back(When Submit is clicked), it should show 3 &4. Even thats working fine(code shown here). When the submit is clicked again, it has to call updatePaymentInfo() and redirect.. Is there something t... | c# asp.net | [0, 9] |
2,246,777 | 2,246,778 | DecimalFormat Significant Digit pattern throws an exception | <p>I am trying to use the significant digit identifier @ <a href="http://developer.android.com/reference/java/text/DecimalFormat.html#sigdig" rel="nofollow">Shown Here</a> but it throws an IllegalArgumentException and I'm not sure how to use it.
I'm trying to format a calculation result to discard any digits that follo... | java android | [1, 4] |
1,919,158 | 1,919,159 | a website that will compare prices of a yamaha baby grand piano | <p>i would like to design a website that will crawl 100 other websites and post the current prices in ascending order of the same model yamaha baby grand piano. the prices on these sites will appear in simple HTML. the question is will i have to modify my algorithm for every single site, or is there some kind of artifi... | php asp.net javascript | [2, 9, 3] |
1,704,405 | 1,704,406 | jQuery click behaviour | <p>I'm developing a menu. This menu, will change the background image when you click on a link, as almost all menus do. If I click in one link from the menu, this link background will change the color.</p>
<p>My <a href="http://en.wikipedia.org/wiki/JQuery" rel="nofollow">jQuery</a> script is:</p>
<pre><code>$(functi... | javascript jquery | [3, 5] |
2,847,695 | 2,847,696 | Android JSONReader no class found | <p>I have an error with android development. In fact i try to parse a JSON flux with stringtree library.
So i import the library in build path but i have this error when i launch my application :
java.lang.NoClassDefFoundError: org.stringtree.json.JSONReader</p>
<p>Have you an idea ?</p>
<p>Best regards</p>
| java android | [1, 4] |
448,947 | 448,948 | Combine two object into one | <p>In javascript I would like to combine two objects into one. I got </p>
<pre><code>{
test: false,
test2: false
}
</code></pre>
<p>and </p>
<pre><code>{
test2: true
}
</code></pre>
<p>I tried to use <code>$.extend</code>, <code>$.merge</code> but all I get as an output is </p>
<pre><code>{
test2: true
}
<... | javascript jquery | [3, 5] |
350,713 | 350,714 | Changing a control's style based on validation (ASP.NET) | <p>I've got a very simple form with the following troubled snippet:</p>
<pre><code><asp:Panel class="normal" ID="Panel1" runat="server">
<strong><asp:Label ID="Panel1Error" class="error" Visible="false" runat="server"/></strong>
<label for="TextBox1"><em>*</em> Don't leave ... | c# asp.net | [0, 9] |
5,319,825 | 5,319,826 | Why does IE complain about this js line? | <p>Why does IE complain about this javacript call?</p>
<pre><code>$.get("profile_completeness.php?id=<?php echo($user_id); ?>", function(data) {
var percentage = data.match(/id="percentage_complete" value="(\d+)"/)[1];
alert(percentage);
})
</code></pre>
<p>This works fine in Chrome, and FF but IE throw... | javascript jquery | [3, 5] |
5,142,901 | 5,142,902 | What is the Java equivalent of PHP var_dump? | <p><strong>PHP has a <a href="http://php.net/var_dump" rel="nofollow">var_dump()</a> function which outputs the internal contents of an object, showing an object's type and content.</strong></p>
<p>For example:</p>
<pre><code>class Person {
private $firstName;
private $lastName;
public function __construct($fi... | java php | [1, 2] |
5,790,125 | 5,790,126 | javascript how to make the dropdown value to reset to intiall value(checking the check box) | <p>i have check box in one "tr". and another dropdown control in another "tr"
intially dropdown control will be invisiable intially . </p>
<p>but once the user checks the check box. the dropdown control should be visiable and he can select the value. but again the user unchecks the check box the dro... | asp.net javascript jquery | [9, 3, 5] |
785,040 | 785,041 | I need to display XML in jquery parsed from a PHP file | <p>Here is the Parser in PHP it currently displays in PHP and I need a function to display the parsed images in jQuery.</p>
<pre><code>for($y = 0; $y <= 1; $y++){
$featured_channel = array_values($featured_channel);
$arraytotal = (count($featured_channel)-1);
$x = rand(0,$arraytotal);
I want to pull $f... | php jquery | [2, 5] |
3,460,146 | 3,460,147 | How to call javascript function/write script inside PHP echo | <p>I have written piece of code, below is the code</p>
<pre><code><script type="text/javascript">
function submitform()
{
document.myform.action='http://mysite/index.php';
document.myform.submit();
}
</script>
<?php
if(isset($_POST['submit_details']))
{
echo "<script typ=javascript>... | php javascript | [2, 3] |
3,082,386 | 3,082,387 | Tryied window.open with Ajax, window.print not working (IE9) | <p>I'm trying to open new window and send form data with javascript and jquery-1.8.3.</p>
<p>With Bernhard's help I succeeded to call a new window with page for print.</p>
<p>(Thank you so much Bernhard. <a href="http://stackoverflow.com/questions/14226470/window-open-and-sending-form-data-not-working">window.open an... | javascript jquery | [3, 5] |
5,242,318 | 5,242,319 | EntityDatasource Syntax | <p>I've been looking on the web to find all the operators or syntax that you can use for the EntityDataSource control but i haven't found it on msdn could someone please provide me with the link. much appreciated. The syntax for the SELECT and WEHRE staments or operators </p>
| c# asp.net | [0, 9] |
5,535,328 | 5,535,329 | Sending ASP.NET variable/account information to Android device | <p>I'm using an Android device to display an ASP.NET MVC web application and I was wondering if it's possible to send account information to the android device?</p>
<p>My main goal is to use the users account log-in details to set up a specific save path on the android. If I was able to send the users log-in username ... | android asp.net | [4, 9] |
1,425,898 | 1,425,899 | How to ensure only valid numeric characters are entered into a textbox? | <p>Is there any existing jQuery functionality that can test if characters entered into a textbox are either numeric, or valid in a number?</p>
<p>Such as</p>
<p><code>.00</code> or <code>0.00</code>, but not <code>0.00.00</code> or <code>0a</code></p>
<p>What I'd like to do is catch any invalid characters before the... | javascript jquery | [3, 5] |
185,601 | 185,602 | OnClick event for whole page except a div | <p>I'm working on an own combobox control for ASP.Net which should behave like a selectbox, I'm using a textbox, a button and a div as a selectbox replacement. It works fine and looks like this <a href="http://www.indiwa.de/technik/screenshots/combobox%5F20090921.gif" rel="nofollow">Image</a>:</p>
<p>My problem now is... | asp.net javascript | [9, 3] |
975,093 | 975,094 | Storing methods and functions in an array | <p>I dont know if its posible but can I store methods or functions in an array? I know Multi dimensional array now and use it to store many arrays as i want. What i would like to do now is to store the methods or functions I create in a certain class. Because i want to store all of my functions to a certain class then ... | java android | [1, 4] |
1,260,667 | 1,260,668 | Loading the Select Box again on clearing the text box field | <p>I have a Select box and a text box to search through the list in the select box. The Select box is getting populated from a database with PHP. What I am trying to achieve here is as soon as clear the text field; the select box should refresh. I have to reload the whole page to do that. Here is the little script that... | php javascript | [2, 3] |
2,848,589 | 2,848,590 | How not to abort http response c# | <p>I need to run several methods after sending file to a user for a download. What happens is that after I send a file to a user, response is aborted and I can no longer do anything after <code>response.end()</code>.</p>
<p>for example, this is my sample code:</p>
<pre><code> Response.Clear();
Response.AddHeader("co... | c# asp.net | [0, 9] |
2,312,325 | 2,312,326 | How to implement unobtrusive javascript with dynamic content generation? | <p>I write a lot of dynamically generated content ( developing under PHP ) and I use jQuery to add extra flexibility and functionality to my projects.</p>
<p>Thing is that it's rather hard to add JavaScript in an unobtrusive manner. Here's an example:</p>
<p>You have to generate a random number of DIV elements each w... | javascript jquery | [3, 5] |
4,704,073 | 4,704,074 | button position issue using javascript | <p>I have below two lines of code. show1 and show2 are buttons on my JSP Page that position according to below code. However, button show2 is displayed little lower that button show1. How to resolve this issue. </p>
<pre><code> document.getElementById('show1').style.marginTop="33%";
document.getElementById('show2'... | javascript jquery | [3, 5] |
4,922,934 | 4,922,935 | Public class with only public static members | <p>I have a public class that only contains public static members.</p>
<p>I know this is not the best thing to do but I was just wondering why on my Android, if I pause the application, open a few others and come back to mine, all variables seems to be (null).</p>
<p>Questions:</p>
<ol>
<li>Is it because of some kin... | java android | [1, 4] |
2,021,379 | 2,021,380 | What is the logic to send friend requests and showing notifications? | <p>What is the logic to send friend requests?</p>
<p>I want that with my application's user is able to search for other users and be able to send friend requests to them. I have two tables in my database. One is for user information and another is friendships which stores user id and friends id.</p>
<p>My application... | php android | [2, 4] |
1,875,742 | 1,875,743 | Problem in displaying all images inside the folder using javascript | <p><strong>Hi,</strong></p>
<p>For my project I m using jquery bulit in photo slide show,jquery code is taking images from array and displaying the images..The problem is I have a lot of images which I don't want to put it in Array(because it need manual effort) instead of that I want to read each image from the folde... | javascript jquery | [3, 5] |
4,397,969 | 4,397,970 | What library to use for XML SOAP Dispatching | <p>At my last place we used to do a lot via XML SOAP - Basically the client would construct an XML request which would contain the service to invoke and send that onto a host and port </p>
<p>The server would then take that service request and figure out the class and method to call and serialise the request / respons... | c# java | [0, 1] |
4,204,188 | 4,204,189 | How to create a username and password pop-up on Android | <p>How can I create a custom dialog for entering username and password when I press any button on Android?</p>
| java android | [1, 4] |
4,460,442 | 4,460,443 | strange behaviour of java | <p>I have a form named <code>abc</code> with multiple dropdown elements named as <code>splitOption</code>.html of this element is something like this- </p>
<pre><code><select title="Split Delivery for EO2135VX" name="splitOption" onchange="splitDelivery('2','trId2',this.value,'5000','N',this,0,'DIST');">
... | java javascript | [1, 3] |
564,144 | 564,145 | how to show a dialog box when click on accordin? | <p>I want to show a dialog box when clicking on an accordion header.</p>
<p>If I click ok on the dialog box then it will expand and show the list items, links or content on that particular accordion. If I click cancel then it wont expand the accordion.</p>
<p>Does anyone know how to achieve this? I’m trying with JQue... | javascript jquery asp.net | [3, 5, 9] |
182,622 | 182,623 | jQuery - Create new function on event | <p>In JavaScript/jQuery, if I want to have a function that can run on an element that has been appended to the DOM, it has to be created <em>after</em> the element has been appended to the DOM. How can I do this? I heard one can do this with the jQuery <code>.on()</code> function, but I'm not quite sure how.</p>
<p><e... | javascript jquery | [3, 5] |
2,153,564 | 2,153,565 | Call C# method in javascript function directly | <p>How to call a c# method in javascript function directly. (eg <code>page_load</code> method of code behind page). Please help me.</p>
| c# javascript | [0, 3] |
3,470,855 | 3,470,856 | How to access object using jQuery and HTML select element? | <p>I have this structure:</p>
<pre><code>var data = {
'horizontal':{
'static':[1,3,5,7,9],
'dynamic':[2,4,6,8]
},
'vertical':{
'static':[1,3,5,7,9],
'dynamic':[2,4,6,8]
}
};
</code></pre>
<p>I have this HTML objects:</p>
<pre><code>Direction:
<select id="directi... | javascript jquery | [3, 5] |
6,024,174 | 6,024,175 | upload image file without post back in asp.net | <p>Does anybody know how can I upload an image file in a specific folder without post back
using c# .</p>
| c# asp.net | [0, 9] |
5,884,976 | 5,884,977 | make javascript .click(function() with php | <p>I'm trying to make a series of javascript.click functions using on a loop using PHP:</p>
<pre><code>$("document").ready(function()
{
$('#nav > li > a').click(function(){
if ($(this).attr('class') != 'active'){
$('#nav li ul').slideUp();
$(this).next().slideToggle();
$('#nav li ... | php javascript | [2, 3] |
3,290,309 | 3,290,310 | Jquery: help to get values from data attributes | <p>I have the following markup</p>
<pre><code><a href='#' id="remove_user_from_group" data-user-id="a9a4ae36-c6cd-11e1-9565-910084adb773" data-group-id="e4d66f80-d046-11e1-89b6-16f96811a1bd">x</a>
</code></pre>
<p>And I want to get the data from <code>user-id</code> and <code>group-id</code>.</p>
<p>For ... | javascript jquery | [3, 5] |
4,431,812 | 4,431,813 | Javascript Code not working when on my site | <p>I recently installed a code on my website to insert text at the position of the cursor. It works perfectly when on its own: <a href="http://www.penpalparade.com/test.php" rel="nofollow">http://www.penpalparade.com/test.php</a></p>
<p>It isn't however working with my site as a whole: <a href="http://www.penpalparade... | javascript jquery | [3, 5] |
5,081,377 | 5,081,378 | "The server tag is not well formed." What's wrong? | <p>I get the following parser error message. How can I fix this problem?</p>
<blockquote>
<p>The server tag is not well formed.</p>
</blockquote>
<p>Code:</p>
<pre><code><a href="#" class="mySprite id<%# ((int)DataBinder.Eval(Container,"ItemIndex")) % 6 + 1%>">
</code></pre>
| c# asp.net | [0, 9] |
5,539,176 | 5,539,177 | help with jquery ajax success event | <p>I'm having an issue with my update button and jquery ajax. Right now when I click on my update button, it saves whatever updated data to the database. My goal is I want to slide up a message if the update is successful. I was looking at ajax post and using the success event seems like it would work but I dont know h... | javascript jquery | [3, 5] |
798,190 | 798,191 | Help with getting two different data types from IEnumerable | <p>I have <code>IEnumerable</code> object with value1 and value2. value2 is an array and value1 is string.
I want to databind this object to Listview like that. So both value1 and value2[0] (always first item in array) could be accessed via <code><%# Eval("value1") %></code> and <code><%# Eval("value2") %><... | c# asp.net | [0, 9] |
811,997 | 811,998 | javascript: $(window).height is not a function | <p>I have some javascript that I am using to resize my background image to fit my window. There are some confusing things going on that I just don't get.</p>
<ol>
<li><p>Firebug and I assume my page doesn't recognize my <code>resizeFrame</code> function unless I place it below the body block. Why?</p></li>
<li><p>W... | javascript jquery | [3, 5] |
2,233,343 | 2,233,344 | schedule and Callable | <p>I'm trying to use ScheduledExecutorService inside the main activity, where there are a few user interface controls. Under some circumstances I wish to delay the method invoked by one of them by a second:</p>
<pre><code>ScheduledExecutorService scheduledExecutorService =
Executors.newScheduledThreadPool(5);
S... | java android | [1, 4] |
2,583,688 | 2,583,689 | Skip Standard Error Screen Asp.Net | <p>I have an Application that you need to register in the db to connect to it but if you are not, there is a Error Screen but its really looking ugly as you can see </p>
<p><img src="http://i.stack.imgur.com/nsq08.gif" alt="enter image description here"></p>
<p>I have tried to check if the session where the user ID i... | c# asp.net | [0, 9] |
5,649,130 | 5,649,131 | WebView.getContentHeight() always returns 0 | <p>I'm attempting to display an HTML string in a WebView named webDescription. Because this HTML can sometimes be lengthy, I want to limit the height of the WebView to a maximum dimension and allow the content to scroll within the view.</p>
<p>I am using the following code to wait until the page finishes loading, chec... | java android | [1, 4] |
5,930,215 | 5,930,216 | CS0246: The type or namespace name 'sconnection' could not be found (are you missing a using directive or an assembly reference?) | <p>I am new i asp.net. i create website in asp.net with c# and database sql server 2005 . when i run in visual studio its working fine. But when i run on localhost the error is occurred. Please solve my problem. the error is
Compilation Error
Description: An error occurred during the compilation of a resource required... | c# asp.net | [0, 9] |
1,537,639 | 1,537,640 | C# SMTP virtual server doesn't send mail | <p>I have got the following Exception : </p>
<pre><code>System.Reflection.TargetInvocationException:
Exception has been thrown by the target of an invocation. -
System.Runtime.InteropServices.COMException (0x8004020F):
The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unabl... | c# asp.net | [0, 9] |
2,834,998 | 2,834,999 | Javascript in asp.net masterpage head content seems not working | <p>I'm using a ready made jquery date picker with ASP.NET text boxes. I'm also using MasterPage so here's what I've done so far -</p>
<p><strong>Page linked to Master Page</strong></p>
<pre><code><asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link href="overcast/jquery-ui-1.8.15.cust... | jquery asp.net | [5, 9] |
751,820 | 751,821 | show changes after a refresh | <p>Is it possible to highlight changes in the DOM after each AutoRefresh. What are some different approaches?</p>
<p>Thanks,
rod.</p>
| asp.net jquery | [9, 5] |
2,658,605 | 2,658,606 | Filter selectbox options depending on primary choice | <p>I am creating some selectboxes where i need to restrict my options depending on the choice made in the primary.</p>
<p>Basically i have <code>Select field 1</code> and <code>Select field 2</code>.</p>
<p>Data for these selectboxes are parsed from a database.</p>
<p>Select field 1: </p>
<pre><code>errortype_id | ... | javascript jquery | [3, 5] |
5,620,694 | 5,620,695 | How do I determine height and scrolling position of window in jQuery? | <p>I need to grab the height of the window and the scrolling offset in jQuery, but I haven't had any luck finding this in the jQuery docs or Google. I'm 90% certain there's a way to access height and scrollTop for an element (presumably including the window), but I just can't find the specific reference.</p>
<p>Any he... | javascript jquery | [3, 5] |
5,019,527 | 5,019,528 | Disabling right click on images using jquery | <p>I want to know how to disable right click on images using jqeury.
I know only this:</p>
<pre><code><script type="text/javascript" language="javascript">
$(document).ready(function()
{
$(document).bind("contextmenu",function(e){
return false;
});
});
</script>
</c... | javascript jquery | [3, 5] |
1,099,804 | 1,099,805 | jQuery Calculate Date | <p>Any reason why this is landing on the wrong day?</p>
<p><a href="http://jsfiddle.net/SparrwHawk/MH5wP/" rel="nofollow">http://jsfiddle.net/SparrwHawk/MH5wP/</a></p>
<p>I've written the code below for reference, but it's obviously clearer on jsfiddle</p>
<pre><code><p>Sun / Closed</p>
<p>Mon / Cl... | javascript jquery | [3, 5] |
4,960,442 | 4,960,443 | Add events to the DOM | <p>I have a trouble creating the DOM:</p>
<pre><code>{
...
DOM = DOM + '<td colspan="3" align="center">';
DOM = DOM + '<div id="primero" onClick(imprimir());> plz </div>';
DOM = DOM + '</td>';
...
$('#test').html(DOM);
}
function imprimir() {
console.log(' ready!');... | javascript jquery | [3, 5] |
372,654 | 372,655 | Sending key value pair object to server side codebehind | <p>Sending key value pair object to server side codebehind .<br/>
How to send from javascript?<br/>
How to receive in C# codebehind.</p>
<h2>Edit 1</h2>
<pre><code><script type="text/javascript">
function ABC()
{
var dict = [];
dict.push({ key: "testkey" ,// Key Value
value: "myV... | c# javascript asp.net | [0, 3, 9] |
5,283,054 | 5,283,055 | How to load data while scrolling horizontally and on a DIV overflow? | <p>I’m working on this horizontal scrollbar that grabs content from the database when you scroll to the farthest right. Here's an example of what we want to do:
<a href="http://designarchives.aiga.org/#/entries/+collections%3a%2250%20Books/50%20Covers%20of%202009%22/_/grid/relevance/asc/0/48/120" rel="nofollow">http://... | php javascript jquery | [2, 3, 5] |
444,056 | 444,057 | Mousedown pageX , pageY is not same after mousemove pageX pageY , happens randomly | <p>I want to create a multi select box (click and drag at empty space then will have a blue div ), but the click and drag is inconsistent and i cant find out the problem.</p>
<p>try to drag from a empty space that is around the bottom right , top right or bottom left and you can see that the light blue box didnt actua... | javascript jquery | [3, 5] |
1,292,454 | 1,292,455 | How to check if a variable is set in Javascript? | <p>I have this object/array thing:</p>
<pre><code>var states = {};
states["CA"] = new State("CA", "California");
states["AR"] = new State("AR", "Arizona");
....
</code></pre>
<p>How can I check if <code>states["AL"]</code> has been set or not? Will the following work (in all browsers)?</p>
<pre><code>if (states["AL... | javascript jquery | [3, 5] |
4,866,069 | 4,866,070 | Setting variable to true on click - Doesn't seem to work | <p>I have a page with 2 simple tabs. The tabs are showing if disable_function = false.</p>
<p>At the end of the page I have a simple trigger which I want to set the variable disable_function = true so that the tabs won't work - when ever the trigger is ON.</p>
<p>I tried few ways but it didn't seem to work.</p>
<p>H... | javascript jquery | [3, 5] |
5,553,566 | 5,553,567 | Using jquery, what is the simplest function to post some json data and process a returned json response? | <p>When users click on an element in my webpage, I would like to call a javascript function that reads the values of a few text boxes on the page, wraps their contents as json where the keys are the ids for the text boxes and the values are the contents of each text box, and then posts the resulting json to a url. </p>... | javascript jquery | [3, 5] |
4,419,147 | 4,419,148 | EXE upload prevention | <p>I need to implement EXE file upload prevention in my project in the same way as it is implemented in gmail (even if EXE file is within a password protected zip file, gmail is able to detect it). What approach should I follow?</p>
| c# asp.net | [0, 9] |
800,357 | 800,358 | Javascript Date Of Birth Textbox | <p>As a novice, I really don't know much about javascript. Kindly help me in developing a similar work-a-like Date-Of-Birth textbox like here in this link : <a href="http://ojas.guj.nic.in/GFJobApply.aspx?sid=wGvtB4mUGuc=&yr=kckKNSEPFLY=&ano=K3JOsteln/k=" rel="nofollow">http://ojas.guj.nic.in/GFJobApply.aspx?si... | javascript jquery | [3, 5] |
2,307,704 | 2,307,705 | How to properly get String from resources? | <p>Hey, I have a lot of Strings so I put them on a .xml, And I also have an ExpandableListView, and each child refers to a String.<br>
I have named each String in the xml like: "String3_1" .. which means this String is for Group 3 Child 1 in the the ExpandableListView..<br>
When switching activity after clicking in one... | java android | [1, 4] |
2,507,355 | 2,507,356 | Loading dynamic HTML | <p>I have a bit of code I've been working with that's a compilation of code written through different sources. I'm a beginner with JavaScript and I'm having issues making some final changes to the code. Instead of loading the text name written in the folder tag, I need to write some HTML. </p>
<p>Here's what I curr... | javascript jquery | [3, 5] |
4,360,132 | 4,360,133 | Use Session variable in Javascript | <p>below is my asp behind code:</p>
<pre><code>Public Shared Sub GetClient()
{
System.Web.HttpContext.Current.Session("MYVAR") =somevariable.ToString;
}
</code></pre>
<p>and here is my javascript script</p>
<pre><code><script type="text/javascript">
var a = '<%= Session("MYVAR") %>';
document.ge... | javascript asp.net | [3, 9] |
4,633,171 | 4,633,172 | getting fakepath in jquery | <p>am trying get size of a file by passing the file bath from javascript to an php file then return the result , problem is javascript passing file bath as the following ex, c:\fakepath\NAME OF THE FILE , so the php file getting an wrong path so always returning an false !!! </p>
<pre><code> $(document).ready(function... | php javascript jquery | [2, 3, 5] |
5,023,329 | 5,023,330 | How to restore Textbox Data | <p>I have a small requirement, </p>
<p>We have restore the textbox data that was cleared previously.<br>
Below is my HTMl code </p>
<pre><code><table>
<tr><td><input type="textbox"></td></tr>
<tr><td><input type="checkbox"></td></tr>
</table... | javascript jquery | [3, 5] |
4,542,284 | 4,542,285 | How to display number in textbox for a particular option? | <p>I need helping appending values into a textbox. What happens is that with the relevant piece of code below, the user can add an "Option Type" from a table row into the textbox. For example if the user clicks on the "Add" button and within that row the Option Type is "True or False", then I want it to display number... | javascript jquery | [3, 5] |
5,189,182 | 5,189,183 | How to access a calling element's id in a jQuery click() function | <p>So I am binding a .click() function to a css class, but I want to be able to access the calling element's id from inside this function when it is called. What is the best way to do this?</p>
| javascript jquery | [3, 5] |
4,404,544 | 4,404,545 | javascript execution from c# | <p>window.execscript("mycode","javascript") is not working when tried to execute,also not giving any exception at that point.Any suggestion is welcome.</p>
<p>Thanks in Advance</p>
| c# javascript | [0, 3] |
3,128,948 | 3,128,949 | How to restrict Android device to not open some specific site e.g.youtube, facebook | <p>I am writing an application for Android devices, Now I want to implement the functionality that if my application is installed on the device than it is restricted to open youtube or facebook. </p>
<p>Because this application is for employees and my client do not want that his emplyees waste their time in youtube o... | java android | [1, 4] |
1,363,062 | 1,363,063 | What does Oracle's lawsuit against Google mean to Android developers? | <p>What does <a href="http://mashable.com/2010/08/14/google-rebuts-oracle-lawsuit-invokes-open-source-defense/" rel="nofollow">Oracle's lawsuit against Google</a> mean to Android developers? I know this is not a programming related question, but I can't think of another forum where I can ask this.</p>
| java android | [1, 4] |
4,170,444 | 4,170,445 | Script downloading DI.FM list works only under Opera | <p>Hello fellow stackoverflow'ers!
Today I was tired of old dead links to my fav internet radio, so I decided to make a downloader for all channels from di.fm. The idea was simple: download the page, get to the menu and parse it. After that create a playlist and make user download it.</p>
<p>So I created a PHP script ... | php javascript jquery | [2, 3, 5] |
5,766,132 | 5,766,133 | Outputting data with JQuery & PHP | <p>I have a general question regarding quality of writing code ...</p>
<p>I'm working on website, that outputs data from MySQL with PHP and it is being called with <code>$.get() / $.ajax()</code> with jQuery....</p>
<p>Now my question is .. the data I´m exporting for example: an array of comments (from class Comments... | php jquery | [2, 5] |
36,812 | 36,813 | onItemClickListener with cwac-endless | <p>i'm developing an application that it use the cwac-endless library. I tried to add the event in getPendingView function but it doesn't work. My idea is if you have clicked in one element, i create an intent to open a webpage. Thank you so much for the help. I wait yours answers.</p>
| java android | [1, 4] |
2,578,406 | 2,578,407 | Select on collection - C# | <p>Say I have a sql query </p>
<pre><code>SELECT fname, lname, dob, ssn, address1, address2, zip, phone,state from users
</code></pre>
<p>Now say the records are now either in dictionary base or a strongly typed collection.</p>
<p>I have a grid view control and i want to bind it to my collection but I only want to d... | c# asp.net | [0, 9] |
4,402,993 | 4,402,994 | Speed up live search js, php, mysql | <p>I have made a "live search bar" with php and javascript. if you enter a word in the search bar it searches the database (mysql).</p>
<p>index.php:</p>
<pre><code><input type="text" onkeyup="getMovie(this.value)"/>
<div id="movie"></div>
</code></pre>
<p>javascript.js:</p>
<pre><code>function ge... | php javascript | [2, 3] |
4,134,655 | 4,134,656 | Input string was not in a correct format when trying to add jQuery in code behind | <p>I try this and it gives the error mentioned in the title at the line I call <code>String.Format</code>.</p>
<pre><code>public static void JqueryDialogue(string divId)
{
String script = String.Format(
"$(document).ready(function(){ $('#{0}').dialog('open'); });",
divId);
// Gets the executi... | c# asp.net | [0, 9] |
1,151,826 | 1,151,827 | Need the decimal to save and show three places | <p>I have this line of code in c# but i it always resets the textbox back to the format 0.00, how can i make it so that it keeps the format 0.000 ?.</p>
<pre><code>NewYorkTax = Convert.ToDecimal(txtNewYorkTax.Text);
//converts it but with 0.00, I need 0.000 or 7.861 etc..
</code></pre>
<p>SIDE NOTE:
NewYorkTax is of... | c# asp.net | [0, 9] |
1,061,865 | 1,061,866 | Android Webview touch content | <p>I want to get the content of that tag which I touch in webview in string.</p>
<p>Suppose I have 5 paragraph and I touch on one then I want content of that paragraph in string.
How can I achieve this?
Thanks</p>
| javascript android | [3, 4] |
2,927,418 | 2,927,419 | Read the Android Inbox From Desktop Application | <p>I want to make a desktop application that can read the SMS from the android phone connected to the PC via USB cable. Is it possible I have searched the web to get any getting started point, there are tutorials about reading the SMS through android app... Can somebody guide me in the right direction, its not a reques... | java android | [1, 4] |
2,104,050 | 2,104,051 | Jquery Neat Codes request | <p>This is my very first post. I am a freelance front end web developer and I strongly believe it is only fair that I give my clients the best product and service, which neat and clean codes is one of them.</p>
<p>Javascript is a recent technology I acquired and want to get good at. This is the Javascript from <a href... | javascript jquery | [3, 5] |
2,093,705 | 2,093,706 | Changing external variable from nested function | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/9041321/return-ajax-callback-return">return AJAX callback return</a> </p>
</blockquote>
<p>Running the below code:
res1 is full,
res2 is empty,
res3 is empty,</p>
<p>How can i change the result variable and use... | javascript jquery | [3, 5] |
2,181,907 | 2,181,908 | jQuery + <a> tag | <p>I've created a Facebook/Twitter style status update where the new Status' get added to an unordered list. I now want to add a "REMOVE" function to it, however, I'm not sure how to best accomplish this. </p>
<ol>
<li>In my list item, create my [a] tag with the unique ID of the status post ID and set a listener class... | php jquery | [2, 5] |
2,181,483 | 2,181,484 | GridView not showing new inserted row | <p>I'm using a gridview and sqldatasource.
When I'm adding a new row in the gridview I need to refresh the page in order to see the new row.
The View state is enabled.</p>
<p>Is there anything I can do ?</p>
<p>Thanks</p>
| c# asp.net | [0, 9] |
1,033,672 | 1,033,673 | getting info of users connected while tethering | <p>while getting data about connected users in tethering you can get users data from <code>dnsmasq.leases</code> File.</p>
<p>If i have to find out how much each user is downloading data how can i do that?</p>
<p>Regards</p>
| java android | [1, 4] |
1,486,270 | 1,486,271 | How to format numbers on Android | <p>i am learning to program mobile aplications on Android. My first app is a unit converter. Everithing is working for now, but i have a question about formating numbers. I hava this code to get text from buttons and to convert the appropriet output: </p>
<pre><code>if (bPrevodZ.getText() == "milimeter"){
if (bPre... | java android | [1, 4] |
5,680,253 | 5,680,254 | ASP.NET: How to send file from database to printer? | <p>I have an ASP.NET 2.0 (C#) webpage with a link that pulls a blob from a MS SQL database and ouputs it in the appropriat file format, i.e., Word, WordPerfect, PDF.</p>
<p>My users would like to print these files with one click. Right now they have to click the link to open the file, then click the "Print" button wit... | c# asp.net | [0, 9] |
4,433,250 | 4,433,251 | What is the Python equivalent of PHP's set_time_limit()? | <p>I have a python script which is freezing (I think it stalls waiting for socket data somewhere), but I am having trouble getting a backtrace because the only way to stop it is to kill the process in. There is a timeout on the socket also, but it doesn't seem to work.</p>
<p>I am hoping that Python has a feature like... | php python | [2, 7] |
2,996,052 | 2,996,053 | size or length of a Document object | <p>How can i get the size of an Document object?</p>
<pre><code> DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
InputStream iStr = urlConnection.getInputStream();
doc = db.parse(iStr);
???? --> Log.i("Bytes",... | java android | [1, 4] |
4,174,774 | 4,174,775 | jquery / javascript not picking up value on click | <p>I need to dynamically alter a variable with the "name" attribute from a link - code below...</p>
<pre><code> <input type="text" class="datepicker" id="dp1">
<a href="javascript:;" class="tab" name="1,2">test button</a>
</code></pre>
<p>and</p>
<pre><code>$(document).ready(function(... | javascript jquery | [3, 5] |
5,393,719 | 5,393,720 | C# DateTime.Ticks equivalent in Java | <p>What is the Java equivalent of DateTime.Ticks in C#?</p>
<pre><code>DateTime dt = new DateTime(2010, 9, 14, 0, 0, 0);
Console.WriteLine("Ticks: {0}", dt.Ticks);
</code></pre>
<p>What will be the equivalent of above mentioned code in Java?</p>
| c# java | [0, 1] |
1,359,045 | 1,359,046 | Function to erase substrings and explode string? | <p>I want to replace "http://" "https://" "www." and also explode the url on "/".</p>
<p>For example: <a href="http://www.google.com/whatever" rel="nofollow">http://www.google.com/whatever</a> should return google.com</p>
<p>I was doing as much as I knew how on this function:</p>
<pre><code>// Change site's title
fu... | javascript jquery | [3, 5] |
4,414,918 | 4,414,919 | Closing exe and running from memory | <p>Since exe is an archive, I want my program to be able to save stuff to it's own exe file. Unfortunately, Windows keeps the file open while it's running. I'd like to find a way in Python and/or C++ to force the program to run from memory and have the file close.</p>
| c++ python | [6, 7] |
5,628,557 | 5,628,558 | Back navigation with pushstate and load in jQuery | <p>I'm currently using jQuery to dynamically load content into a holder div and then updating the url with pushstate.</p>
<p>I have the following code so far (some excluded for example simplicity):</p>
<pre><code>$("body").on("click", "a:not(.noclick)", function(){
history.pushState({path: $(this).attr("href")},... | javascript jquery | [3, 5] |
1,937,835 | 1,937,836 | Which one is better approach window.parent.location.href or window.top.location | <p>I am working in a project where I have to redirect on Error Page in a particular scenario. For that I have created Error.aspx page. Right now I am using
window.top.location.href = "../Error.aspx" and it generate <a href="http://localhost/app_web/Error.aspx" rel="nofollow">http://localhost/app_web/Error.aspx</a>
and... | javascript jquery | [3, 5] |
5,355,315 | 5,355,316 | javascript string equal | <p>I have a very strange jquery problem:</p>
<pre><code>if(response==="success") {
alert("I am here");
$('#uploadfile').html('<img src="./uploads/'+file+'" alt="" /><br />'+file);
}
else {
$('#uploadfile').html(response);
//$('#attached1').val("error");
}
</code></pre>
<p>In this code, if ... | javascript jquery | [3, 5] |
2,515,615 | 2,515,616 | jQuery hover fadein/fadeout/slidetoggle | <p>When I onhover I can get the effect what I need, but when I move the mouse to "my list" <code>a</code> tag, <code>#bb</code> div disappeared. how could I make it stays there as I need to click it.</p>
<p><strong>HTML:</strong></p>
<pre><code><div id="aa">click</div>
<div id="bb"> <a href="">... | javascript jquery | [3, 5] |
1,814,293 | 1,814,294 | JavaScript function pointer problem | <p>just starting out with JavaScript and jQuery, and i have this problem:</p>
<pre><code>foo(validation);
function foo(func) {
var time = new Date().getTime();
// do some other stuff
func("foobar" + time);
}
function validation(elementName) {
// do stuff
}
</code></pre>
<p>but when i call function foo with ... | javascript jquery | [3, 5] |
242,500 | 242,501 | Set object param tag from code-behind | <p>I want to embed video in object tag and I want to put the value of param from code-behind. But I'm not able to put the value from code-behind. Any idea where I'm getting wrong?</p>
<p>This is my code so far:</p>
<pre><code><object runat="server" id="object1">
<param name="param1" value="www.youtube.co... | c# asp.net | [0, 9] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.