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
4,129,135
4,129,136
Javascript decoding html entities
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stackoverflow.com/questions/1147359/how-to-decode-html-entities-using-jquery">How to decode HTML entities using jQuery?</a> </p> </blockquote> <p>I want to convert this text:</p> <pre><code>"&amp;lt;p&amp;gt;name&amp;lt;/p&amp;gt;&amp;lt;...
javascript jquery
[3, 5]
1,457,425
1,457,426
Math.random() and "hexChars" PHP equivalents
<p>I am trying to convert a JavaScript to php but I am not sure how to convert <code>Math.random()</code> and <code>hexChars</code> method in below JavaScript function to PHP, thanks for any help</p> <p><strong>JavaScript function:</strong></p> <pre><code> function generateId(){ var a=[],b; a[8]=a[...
php javascript
[2, 3]
4,575,960
4,575,961
Why doesn't this jQuery code moving divs to the right?
<p><a href="http://jsfiddle.net/PsQBD/" rel="nofollow">jsFiddle</a> (with slightly modified values so it appears correctly).</p> <p>I am trying to move the position of some divs on my page.</p> <pre><code>div.note {float:left;width:666px; padding:0 0 0 50px;} div.first_note {margin-left: 565px;} </code></pre> <p>Th...
javascript jquery
[3, 5]
4,907,855
4,907,856
What file types/extensions would you allow in for a document management application?
<p>I am working on a kinda document management system. The end users are business class users.</p> <p>I currently check and allow files to be uploaded only if they are one of the followings:</p> <pre><code>"png|jpe?g|gif|xls|doc|docx|csv|ppt|txt|pdf|rtf" </code></pre> <p>my questions are -</p> <ul> <li><p>If I add ...
php javascript
[2, 3]
1,266,192
1,266,193
How to use object in javascript or jquery
<p>I need to create object parameter some thing like this </p> <pre><code>sample_data=[{ name: 'new', data: [1, 0, 2, 8, 1] }, { name: 'open', data: [1, 2, 3, 7, 1] },{ ...
javascript jquery
[3, 5]
2,589,528
2,589,529
Gridview Data Update by textbox
<p>When am trying to update Datagridview with a textbox value it shows empty value in textbox my code is this.wt's wrong in this. bnddata() has dataset assign to gridview</p> <pre><code>protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e) { GridView1.EditIndex = e.NewEditIndex; ...
c# asp.net
[0, 9]
4,402,083
4,402,084
can i trigger click event onload
<p>i am having anchor tag in my page.i like to trigger click event onload . which means i wanna open this page "http://XXXXX.com" with new tab .because i don't wanna popup blockers. is there anyway to do this.</p> <p>anchor attrs are given bellow</p> <pre><code>id="add_redirect" href="http://XXXXX.com" target="_blan...
javascript jquery
[3, 5]
5,384,480
5,384,481
Insert an element before and after substring
<p>How would you insert substrings between elements using regular expressions or an alternative form in javascript/jQuery?</p> <p>For example I have the following string:</p> <blockquote> <p><code>This is a string 015 with numbers 1486453 randomly 10 inserted between words 0954</code></p> </blockquote> <p>If my...
javascript jquery
[3, 5]
5,917,119
5,917,120
Can I get a walkthrough on this Code
<p>I am trying to learn jQuery and I posted a question asking for some help on a topic. Someone kindly helped me out and I highly appreciate it. I just want to know if someone can help me understand what the different parts of this is doing</p> <pre><code>$(".gradeA, .gradeU").find(":checkbox").click(function() { ...
javascript jquery
[3, 5]
3,190,571
3,190,572
Calling javascript Method from Code behind using ScriptManager.RegisterStartupScript
<p>I am using Ajax Toolkit on my content page . I have an Javascript Code which i want to call from the code behind using <code>ScriptManager.RegisterStartupScript</code>.</p> <p>The javaScript Code is :-</p> <pre><code>&lt;script type="text/javascript"&gt; function disp_confirm() { var r = jConfirm("Your S...
c# javascript asp.net
[0, 3, 9]
491,140
491,141
Calling a javascript function through micro template
<p>I am using the micro template (<a href="http://ejohn.org/blog/javascript-micro-templating" rel="nofollow">Micro Template</a>) in my project. Below is the sample</p> <pre><code>&lt;script type="text/html" id="user_tmpl"&gt; &lt;% for ( var i = 0; i &lt; users.length; i++ ) { %&gt; &lt;li&gt;&lt;a href="&lt;%=u...
javascript jquery
[3, 5]
3,007,061
3,007,062
setting returned ajax to variable to done() gives me an object
<p>How come </p> <pre><code>ajaxFunction().done(function(p){ console.log(p); }); </code></pre> <p>returns data as HTML as specified in <code>dataType</code> in the ajaxFunction, but </p> <pre><code>var data = ajaxFunction().done(function(p){ console.log(data) //returns what appears to be the entire deferre...
javascript jquery
[3, 5]
3,414,704
3,414,705
Best way to setup an array of classes to ignore
<p>I have the following if statement in a jQuery script that checks if an image has a class of "ignore", and if so it will ignore it. <code>this</code> is an image the script found earlier within a specific section of my page:</p> <pre><code>if(!$(this).hasClass('ignore')) { //do something } </code></pre> <p>How can...
javascript jquery
[3, 5]
5,824,842
5,824,843
Get Date() object with specific time
<p>I want to get week Start Date of a week. I am able to get the date, its just that the date returned has time wrt to the current system time. For example, if its 19:20 hours right now, I am getting the week start date as <strong>Date {Mon Mar 26 2012 19:20:16 GMT+0530 (IST)}</strong></p> <p>For accurate calculations...
javascript jquery
[3, 5]
5,921,076
5,921,077
onkeyup function with PHP argument
<p>How to add PHP in an onkeyup function?</p> <pre><code>&lt;input type="text" onkeyup="if($_SESSION['user'] == TRUE) do.this else do.that"&gt; </code></pre>
php javascript
[2, 3]
4,188,453
4,188,454
Android - HTTP Get request on LAN
<p>I am using the following code to get a page's source which is a plain text (no html tags) from a webserver on LAN. But I am always getting empty string in return and If I open the same URI in browser I can see the text. Following is my code:</p> <pre><code> String url = "http://192.168.1.40/touchscre...
java android
[1, 4]
2,389,120
2,389,121
Prevent keydown() from being captured by document binding
<p>I'm not exactly sure how to phrase this, so I couldn't search it. Basically, I have a <code>keydown()</code> bind on <code>$(document)</code>. I'd like to <code>show()</code> another div, and have all keydown events be rerouted to this div and prevented from firing off in the document handler. Is this even possible,...
javascript jquery
[3, 5]
794,030
794,031
Datareader's value in javascript array
<p>i want to fetch Image name, and 3 more field's value from database and pass it to the javascript's array....which would b generate from database(Image name and 3 field)</p> <p><a href="http://www.dynamicdrive.com/dynamicindex14/leftrightslide.htm" rel="nofollow">http://www.dynamicdrive.com/dynamicindex14/leftrights...
asp.net javascript
[9, 3]
3,367,205
3,367,206
Asp repeater accessing each line from an sql datasource
<p>I have a repeater that on itemdatabound i want to access the row in the sqldatasource so i can get the id of an item. </p> <p>I cant use hidden fields to do this so are there any other options? Thanks to all</p>
c# asp.net
[0, 9]
3,642,674
3,642,675
GridView take a Row
<p>net 4 and c#.</p> <p>I have a GridView, I would like take a Row when in Edit Mode in my code and find a control.</p> <p>Here my code, but does not work, it takes only the first row for the GridView.</p> <p>Any ideas?</p> <pre><code>protected void uxManageSlotsDisplayer_RowDataBound(object sender, GridViewRowEven...
c# asp.net
[0, 9]
3,612,314
3,612,315
I am working on the ASP.NET with C# on the Web based project and I am having the compliation error
<p>Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. </p> <p>Compiler Error Message: CS1061: 'ASP.index_aspx' does not contain a definition for 'cmdCheckM...
c# asp.net
[0, 9]
3,171,013
3,171,014
Timer not working inside class that extends SurfaceView and implements Runnable
<p>I'm doing a game and I have this class that I call GameLoop that extends SurfaceView and implements Runnable. I want to call methods inside the games sprite objects and change some their values in intervals. Therefore I came up with the idea to have a Timer object inside the constructor of the GameLoop class and cal...
java android
[1, 4]
3,439,163
3,439,164
Having problems with importing dropbox and getting it to run?
<p>I downloaded the dropbox sdk zip off the dropbox website, then imported the program into eclispe. Then i configured the build path and added the 2.2 jar file to run, theres no errors until I load up the aplication, when I ran it on the 1.5 emulator it gave me a Uncaught handler: thread main exiting due to uncaught e...
java android
[1, 4]
887,757
887,758
how to draw the scribling using canvas in android?
<p>I want to draw the scribling using canvas in android. I use three options touchesdown, touchesmove and touchesup. The scribling path is appeared when I remove my hand from mouse button.</p> <pre><code>x = motionEvent.getX(); y = motionEvent.getY(); switch (motionEvent.getAction()) { case MotionEvent.ACTION_DOWN...
java android
[1, 4]
2,488,006
2,488,007
Storing extended IIdentity in HttpContext.Current.User (IPrinciple)
<p>I have created an <code>ExtendedId</code> class which extends <code>GenericIdentity</code>. (This stores Id as well as name)</p> <p>In a httpmodule I stored this extended id in Current.User like so:</p> <pre><code>HttpContext.Current.User = new GenericPrincipal(myExtendedId, roles); </code></pre> <p>Problem is, ...
c# asp.net
[0, 9]
5,516,096
5,516,097
Filtering table rows with Jquery
<p>I have a table showing registered users and the rows of this table can be filtered according to Status (active/inactive users or both) or User Type (admin/user or both). In order to make sure all of the table rows are filtered according to both criteria, I have PHP generate a 'info' attribute for each table row. Inf...
javascript jquery
[3, 5]
1,288,775
1,288,776
Is it possible to animate scrollTop with jQuery?
<p>I want to smoothly scroll down. I do not want to have to write a function for that - especially if jQuery already has one.</p>
javascript jquery
[3, 5]
4,780,412
4,780,413
Best practise for displaying multiple controls which require an extended class?
<p>If I want to display a <code>MapView</code> inside my <code>Activity</code> I would have to extend my <code>Class</code> from <code>MapActivity</code>. If I want to display a <code>Tabbed</code> interface I would have to extend my <code>Class</code> from <code>TabActivity</code>. Similar is the case with some other ...
java android
[1, 4]
1,251,973
1,251,974
Get value from select with JavaScript for use in PHP
<p>I have this <code>select</code>:</p> <pre><code>&lt;select id="mymenu" name="id" onchange="getID()"&gt; &lt;option&gt;&lt;/option&gt; &lt;option value="1"&gt;A&lt;/option&gt; &lt;option value="2"&gt;B&lt;/option&gt; &lt;option value="3"&gt;C&lt;/option&gt; &lt;/select&gt; </code></pre> <p>I want to...
php javascript
[2, 3]
887,743
887,744
Multiplying with jquery
<p>I have this simple script, i want to multiply Var a * Var b then Multiply this by Var C with a set number eg 15.</p> <p>But it doesn't seem to work?</p> <pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;/script&gt; &lt;script&gt; $('input[name="box2"]').keyup(func...
javascript jquery
[3, 5]
2,292,564
2,292,565
aspx.cs file not getting updated?
<p>i added some controls in designer file but cs file not accepting those controls, it says textbox1 does not exist in current context. i have tried these solutions: 1) convert to web application 2) recreated both files .aspx and .aspx.cs but it didn't solve my problem ? Any help will be appreciated.</p>
c# asp.net
[0, 9]
3,087,866
3,087,867
jQuery live("click", function() {...}) doesn't work for body
<p>I am trying this simple code <a href="http://jsfiddle.net/Cupidvogel/CRYDV/" rel="nofollow">here</a>. It doesn't work for either the actual <code>click</code> event or the one which is commented out. Can anybody explain why? I have had issues with <code>not</code> previously also...</p>
javascript jquery
[3, 5]
3,974,122
3,974,123
How can i use @string/xyz in .java file?
<p>I have created a 'hello world' Android project and i want to use my string in <strong>MainActivity.java</strong>. In <strong>string.xml</strong> file i have a string named <code>password</code></p> <p>How can i <em>call</em> this string to my <strong>MainActivity.java</strong>? </p> <pre><code>&lt;string name="pas...
java android
[1, 4]
4,288,512
4,288,513
Prevent anchor link from being added to URL
<p>I have a tabbed content box that when a tab is clicked, a '#div1' is appended to the end of my URL. Is there a way of preventing jQuery from doing this?</p> <p>I still can't get it to work. I've made a fiddle...</p> <p><a href="http://jsfiddle.net/k6Ks8/" rel="nofollow">http://jsfiddle.net/k6Ks8/</a></p>
javascript jquery
[3, 5]
625,581
625,582
How to get value from radio button when i checked on it?
<p>I have various type of input in which different values are present. I want that when i checked on a particular radio button then value present in that radio button would be filled in input text. </p>
php javascript jquery
[2, 3, 5]
4,079,923
4,079,924
Jquery autocomplete
<p>I have mysql table like this:</p> <pre><code> country | city_accented | latitude | longitude | --------------------------------------------------------- australia | sydney | -33.8833333 | 151.2166667 | USA | dallas | 35.3163889 | -81.1763889 | </code></pre> <p>I'm using jquery ...
php jquery
[2, 5]
4,689,809
4,689,810
How To: Stackoverflow / Twitter JS dialogue box
<p>I am trying to build a text-bar above the website like <a href="http://techdows.com/wp-content/uploads/2010/12/older-verison-of-twitter.png" rel="nofollow">Twitter or SO does.</a> Any advice on how to build this would be great. I do not know what you call this feature, but maybe there is a jQuery plugin to do it?</p...
javascript jquery
[3, 5]
234,809
234,810
Difference between onclick() and onClientClick()?
<p>If I use both <code>onclick()</code> and <code>onClientClick()</code> can I make sure that server side will be called only after client side function returns TRUE or vice versa?</p> <p>For example:</p> <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %&gt;...
javascript asp.net
[3, 9]
4,281,235
4,281,236
How do I get the output CLASS file names after compiling Java files in C#?
<p>So, when you compile Java (<em>.java) into a class file (</em>.class), the name of the file can change, as well as the extension of the file. If I have a piece of code in C# that compiles the java code into class files, how would I then get the names of those output class files in C#?</p>
c# java
[0, 1]
5,107,600
5,107,601
Convert Text File to String in java
<p>i have a written a code to send a text file by converting it into string and sending it into a web service. Please can someone tell me other available methods for sending the string as stream to Web Service.</p> <pre><code>public class MainActivity extends Activity { Button b1; String s; @Override p...
java android
[1, 4]
104,172
104,173
javascript function is not calling if m use responce object in .cs file
<p>I have called a javascript function from my code behind,it works but when i use responce object for exporting a excel file,it only export excel file,not calling the javascript function.</p> <p>Page.ClientScript.RegisterStartupScript(typeof(Page), "SymbolError",</p> <pre><code>"&lt;script type='text/javascript'&gt;...
javascript asp.net
[3, 9]
3,782,180
3,782,181
How can I open a window and select objects in that window?
<p>I have </p> <pre><code>newWindow=window.open(document.URL); $('div#header',newWindow.document).hide(); $('div#footer',newWindow.document).hide(); </code></pre> <p>But it doesn't seem to be working. Any ideas?</p>
javascript jquery
[3, 5]
245,327
245,328
If I host a JS file, can I identify what URLs embed it?
<p>If I host a javascript file on my server that users can embed in their webpages, is it possible to identify the URLS that embedded my file?</p> <p>I imagine I could only get the user requesting the file.</p>
php javascript
[2, 3]
2,243,305
2,243,306
Is regular Java the same as the Java for Android
<p>Is regular Java the same as the Java for Android?</p> <p>If yes - from where can I download a good java reference?</p> <p>Looking for something like: <code>Command | small sample | short Explanation</code></p>
java android
[1, 4]
2,399,145
2,399,146
jQuery UI Slider each value switch class
<p>I have a jQuery UI Slider that has a range between 1-100. I want to change the class of a div for each value between 1-100.</p> <p>How can I most efficiently go through every value between 1-100 and switch a new class for every value?</p> <p>Answer (this is what eventually worked out):</p> <pre><code>$( '#slider-...
javascript jquery
[3, 5]
413,996
413,997
how class works in jquery
<p>javascript</p> <pre><code>var name_of_inchatting_class="ch"+inchatting_sub.toString(); var prev_name_of_inchatting_class="ch"+prev_inchatting_sub.toString(); $(prev_name_of_inchatting_class).css({'background-color' : '', 'opacity' : ''}) ; $(name_of_inchatting_class).css({ 'back...
javascript jquery
[3, 5]
3,586,479
3,586,480
Android Format calendar to output time
<p>I am using the below code to set an alarm. I would like to output what the time for this would be. I don't know if I going about this the wrong way. If I output the variable cal it has a long string of information. How do I extract only the hour and minutes?</p> <pre><code> Calendar cal = Calendar.getInstance();...
java android
[1, 4]
3,587,528
3,587,529
Call External Javascript using php
<p>I am try to add a javascript using php as follows</p> <pre><code>&lt;?php Header("content-type: application/x-javascript"); $serverIP=$_SERVER['REMOTE_ADDR']; echo "document.write(\"Your IP address is: &lt;b&gt;" . $serverIP . "&lt;/b&gt;\")"; ?&gt; </code></pre> <p>Here i need to print my output as follows</p> <...
php javascript
[2, 3]
959,422
959,423
How to display online video tv in my asp.net website
<p>I want to run video displayed online to my asp.net 4 website</p>
c# asp.net
[0, 9]
1,203,495
1,203,496
Jquery simple menu
<p>I need to create a menu same as this one:</p> <p><a href="http://www.girard-perregaux.com/collection/univers-en.aspx?type=1" rel="nofollow">http://www.girard-perregaux.com/collection/univers-en.aspx?type=1</a></p> <p>Click on collections then on manufacturer, then again on manufacturer to close. As you can see fir...
javascript jquery
[3, 5]
2,538,393
2,538,394
how to redirect page using java script
<p>m using java srcipt messagebox..</p> <pre><code>private void MessageBox(string msg) { System.Web.UI.WebControls.Label lbl = new System.Web.UI.WebControls.Label(); lbl.Text = "&lt;script language='javascript'&gt;" + Environment.NewLine + "window.alert('" + msg + "');&lt;/script&gt;"; //lb...
c# javascript asp.net
[0, 3, 9]
1,867,048
1,867,049
android - How to check that the Process is alive or not?
<p>I want to check whether the process is still alive or not through programmatically ,Can I do that I am trying to do it by process name in <code>onCreate</code> method but the issue is that the <code>onCreate</code> method is called always .When I check that in <code>onCreate</code> method I always get the process na...
java android
[1, 4]
3,122,398
3,122,399
javascript ui framework for android
<p>I knew there are js library such us jquery mobile... can be used to develop android html app. Is there a android style javascript UI library/framework which makes the html app looks more like an android native app?</p> <p>Your comment welcome</p>
javascript android
[3, 4]
425,855
425,856
Redirect to same page after login becuse of session time out in asp.net
<p>Hi is there a anyway to land same page after sign in because of session time out in asp.net web application. I am recently migrated from java to .net and any suggestion will be greatly helpful. As a example </p> <p>I am on <strong>Page1</strong> and while i am idle on <strong>Page1</strong> my session was destroyed...
c# asp.net
[0, 9]
5,669,580
5,669,581
I Need Try Catch Use, Exception Handling and Refactoring Advice
<p>Should I frequently use try catch blocks and how do I determine when and where I need them the most? Also what should do with the exception when it gets caught as a normal practice on small to medium scale departmental business applications? Also is there a free tool to help me locate duplicate code or code that w...
c# asp.net
[0, 9]
1,237,594
1,237,595
Toggle does not work on the same element that show works on
<p>I am trying to use JQuery toggle, so when a user clicks the info icon, the hidden div containing item information is shown / hidden. For some reason it is not working for me.</p> <p>While trying to debug, I noticed that show(), correctly shows the target element that I would like to toggle. However, when I replace ...
javascript jquery
[3, 5]
144,614
144,615
Middle selected list
<p>help me its very urgent i am new to jquery how to achieve below requirement </p> <p>i have a list ul li (unorderd list)</p> <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li> <li>7</li> <li>8</li> <li>9</li> <li>10</li> </ul> <p>Display only 5 item by default selection in middle always selecte...
javascript jquery
[3, 5]
3,503,751
3,503,752
OnItemInstered, OnItemUpdated the same code behind
<p>I need to associate different methods of the control with exact same code. I'm doing it like this now: </p> <pre><code>protected void dgvProperty_ItemInserted(object sender, GridInsertedEventArgs e) { BindItems(); } protected void dgvProperty_ItemDeleted(object sender, GridDeletedEventArgs e) { Binditems(...
c# asp.net
[0, 9]
1,010,533
1,010,534
How can I use cookies while screen scraping?
<p>I want to scrape data from PHP web pages that are behind a login page. How can make it so I log in only once and then be able to access data on the subsequent pages without logging in again?</p>
java android
[1, 4]
2,292,626
2,292,627
Show message when start typing inside textbox using javascript
<p>I'm using ASP.NETand I want to show message behind a textbox when I start to write in it, I want to do that on the client side so I think javascript is the key.</p> <p>Edit :</p> <p>My code:</p> <pre><code>&lt;tr&gt; &lt;td&gt; &lt;asp:Label ID="Label1" runat="server" T...
javascript asp.net
[3, 9]
5,276,490
5,276,491
Remove disabled attribute using JQuery?
<p>I have to disable inputs at first and then on click of a link to enable them.</p> <p>This is what I have tried so far, but it doesn't work:</p> <p><strong>HTML:</strong></p> <pre><code>&lt;input type="text" disabled="disabled" class="inputDisabled" value=""&gt; </code></pre> <p><strong>jQuery:</strong></p> <pre...
javascript jquery
[3, 5]
5,293,777
5,293,778
Read textbox from ASP.net page that repeated n times
<p>I have an asp.net web page that's has a number of controls that are repeated according to number of records retrieved from the database, and I wanna read the values of those text boxes after users enter values in them, so please if anyone can help me on this issue.</p> <p>I have an example of my work</p> <pre><cod...
c# asp.net
[0, 9]
4,836,864
4,836,865
Removing the element from the DOM is not removing the effects of javascript code inside that DIV element
<p>I dynamically load the whole page inside one DIV element with the help of javascript. But when I close the div I am using <code>("#Viewer").remove()</code> . But still the javascrpit/jquery loaded inside that element is in work. How can I remove the effect of that too.</p> <p>There is one Viewer DIV. Into which I a...
javascript jquery
[3, 5]
856,625
856,626
jQuery .on with multiple events using event delegation
<p>Using jQuery 1.8.2 to bind multiple events to a single class using event delegation:</p> <pre><code>$(document).on("focus blur", ".myClass", function() { console.log("Ba da boom."); }); </code></pre>
javascript jquery
[3, 5]
369,069
369,070
javascript memory leaks
<p>i am using jquery and doing something like this</p> <pre class="lang-html prettyprint-override"><code> //dom &lt;div id="parent"&gt; &lt;/div&gt; </code></pre> <pre class="lang-js prettyprint-override"><code> //js var _doSomeThing=function() { //some codes } $(function(){ //appen...
javascript jquery
[3, 5]
1,570,576
1,570,577
javascript url help in sending multiple values with url..
<pre><code>"sample1.php?q="+str </code></pre> <p>This code is for sending single parameter i need to send multiple variables </p>
php javascript
[2, 3]
2,361,095
2,361,096
Getting selected value from multiple dropdowns
<p>If user change the entry from any dropdowns in the <code>SalePlugin</code> div then it will need to get all the selected value and pass it into POST.</p> <p>How it should be done?</p> <pre><code>$('.SalePlugin &gt; *').live('change', function(){ var SalePluginData = $(this).closest('.SalePlugin').find('select').s...
javascript jquery
[3, 5]
3,108,118
3,108,119
byte array to a file
<p>I have a byte array for a file, is there a way to take that and save it has a file to a remote file server?</p> <p>Thanks, rod.</p>
c# asp.net
[0, 9]
6,027,445
6,027,446
What is the java equivalent to javascript's String.fromCharCode?
<p>What it the java equivalent of javascript's:</p> <pre><code>String.fromCharCode(n1, n2, ..., nX) </code></pre> <p><a href="http://www.w3schools.com/jsref/jsref_fromCharCode.asp" rel="nofollow">http://www.w3schools.com/jsref/jsref_fromCharCode.asp</a></p>
java javascript
[1, 3]
6,020,494
6,020,495
How to get different selected values in javascript?
<p>Hello everyone how can I get two values from different select boxes? I get first value in my select box but I can't get the second value from another select box.Here is my javascript code:</p> <pre><code> &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"&gt;&lt;/script&gt; ...
javascript jquery
[3, 5]
2,863,644
2,863,645
SSLSocket problem using BufferedWriter
<p>Im having problem sending command when using BufferedWriter</p> <p>Here is example</p> <pre><code> SSLSocketFactory f = context.getSocketFactory(); SSLSocket c = (SSLSocket) f.createSocket("198.168.0.10", 8888); c.setSoTimeout(20000); c.setUseClientMode(true); c.startHandshake(); Buffer...
java android
[1, 4]
1,356,694
1,356,695
Automatically updating chatbox
<p>So i'm working on a javascript/php chatbox. Everything works except for it updating the contents of my div (this works once, but after that it doesn't keep updating it when a new message has been put into the database). Here is my code:</p> <p>Javascript part:</p> <pre><code> &lt;script language=javascript type=...
php javascript
[2, 3]
2,728,973
2,728,974
Looking for Following JavaScript Library That Provide Navigation Menu Similar to FogBugz HomePage
<p>I was looking for JavaScript library, which is able to provide navigation menu similar to </p> <p><a href="http://www.fogcreek.com/FogBugz/learnmore.html" rel="nofollow">http://www.fogcreek.com/FogBugz/learnmore.html</a> (left most navigation menu)</p> <p>Any recommandation?</p> <p>Thanks.</p>
javascript jquery
[3, 5]
5,205,117
5,205,118
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]
3,803,915
3,803,916
onclick and onclientclick
<p>I have the following line in asp.net</p> <pre><code>&lt;asp:LinkButton runat="server" ID="createuser" OnClientClick="javascript:$('#dialogform').dialog('open');" onclick="AddCaseInfo_Click"&gt;Create Case&lt;/asp:LinkButton&gt; </code></pre> <p>onclientclick works fine, but not onclick. I tried</p> <pre...
javascript asp.net
[3, 9]
4,900,665
4,900,666
How to use DataPager with Database Paged
<p>I am using ListView/DataPager.</p> <p>For performance reasons I page my results at database, using ROW_NUMBER(SQl2005).</p> <p>At my C# code just comes one page at time. How can I say to DataPager that I have more rows that really are at my List?</p>
c# asp.net
[0, 9]
648,381
648,382
detect java not installed and provide a link from Javascript
<p>I have this panorama viewer that makes use of java, </p> <p>but when trying to acces from firefox and java not installed, it warns that some plugin is needed but it doesn't specify whitch one or where to download if from...</p> <p>So, can i, from javascript, detect if user hasn't installed java and provide him wit...
java javascript jquery
[1, 3, 5]
5,031,109
5,031,110
Is it possible to bind a custom function instead of an event to a div in JQuery?
<p>I wonder if this is possible, I was able to do this with AS3. Is it possible to bind a listener on div that only listens for mouse events. So lets say I have a div called "lion", typically this is how a mouse event is bind:</p> <pre><code> $("#mouse").bind("click", function(e) { alert(e.currentTarget.id); ...
javascript jquery
[3, 5]
5,407,928
5,407,929
Need help with this fancybox form submit
<p>I am using fancybox to open submitted form like this:</p> <pre><code>&lt;form name="form" id="myForm" action="{$smarty.server.PHP_SELF}?action=abc" method="post" target="iframe" onsubmit="document.getElementById('iframe').src='{$smarty.server.PHP_SELF}?action=abc';"&gt; &lt;input type="hidden" name="xyz" value=...
javascript jquery
[3, 5]
1,177,309
1,177,310
What would be better to use in this case? c# or php?
<p>I am making a website where users can upload pictures and draw on them, add text etc. My team knows some php, but we know nothing about c#. Time is not too much of an issue. We all know java, what would the perks of each be? I have been hearing that c# will be much better for handling the canvas because there is...
c# php javascript jquery
[0, 2, 3, 5]
2,706,616
2,706,617
jquery, javascript, update dropdown list options upon focus but retain selected value
<p>Brain not working right now. Someone help me fill in the blanks here.</p> <p>Need to select the currently selected value, repopulate the options, and then select the previous selection if it's still in the list.</p> <p>To make it easier, the new value and previously selected value will have the same name attribute...
javascript jquery
[3, 5]
1,880,781
1,880,782
Javascript/Jquery: Show a hidden div based on a Radio box select
<p>What I'm doing is building a form, where when you select one answer a bunch of new questions pop up. </p> <p>This is my working code: </p> <pre><code>$(".appliedWorked").click(function(){ if($(this).val()==="appliedWorkedYes") $(".appliedWorkedYesHide").show("fast"); else $(".appliedWorkedYesH...
javascript jquery
[3, 5]
1,575,608
1,575,609
Problem importing existing Android project
<p>So I got a new laptop and I setup everything but now, when I try to import an existing project I get all kinds of problems. </p> <p>The console gives me this message...</p> <blockquote> <p>[2011-07-01 21:18:38 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Unable to read C:\Program Files\...
java android
[1, 4]
2,481,476
2,481,477
Alternative of VMRuntime.getRuntime().setMinimumHeapSize in Gingerbread
<p>I know there's a VMRuntime.getRuntime().setMinimumHeapSize in Android 2.1/2.2 for developer to adjust the starting heap size of the application, and it is one of the most effective solution sfor solving the OutOfMemory error during BitmapFactory.decodeStream()</p> <p>However, since Android 2.3, this VMRuntime class...
java android
[1, 4]
2,459,471
2,459,472
Issues in the Image timer
<p>I am trying to built a timer for my Image Slider as it is in this site <a href="https://store.sap.com/sap/cpa/repository/store/sapstore/US/default.html" rel="nofollow">https://store.sap.com/sap/cpa/repository/store/sapstore/US/default.html</a></p> <p>This is the one which I tried of my own. Image with text is slid...
javascript jquery
[3, 5]
4,836,461
4,836,462
How can I program a decimal addition with JavaScript
<p>How can i program this, the decimal shift needs to be programed that most of it I think , the rest would be just a normal add, any thoughts on how to program this? This is for an incrementer I'm building, the user can press plus or minus and increment a text input.</p>
javascript jquery
[3, 5]
5,896,859
5,896,860
Android application transparency and window sizing at root level
<p>Is it possible to create an application with a transparent background on the root task such that you can see the task running beneath it when it is part of a separate stack? Alternatively, is it possible to run an application so the window of the root task is only a portion of the screen instead of the whole screen?...
java android
[1, 4]
5,688,446
5,688,447
Assigning value to tooltip of an ASP.net Custom Validator using javascript
<pre><code> I would like to provide a message as tooltip of a custom Validator based on some condition in Javascript. </code></pre> <p>Can any one please help me out?</p> <p>Thanks in Advance</p>
c# asp.net
[0, 9]
1,135,717
1,135,718
is jsobject eval method of java is same as eval method of javascript
<p>I have read so many times on these and other forums that you should not use eval() in JS. I am writing outputs from java applet to the browser, using JSObject eval method in import netscape.javascript.*;, its working fine in FF but on IE I am getting the Unspecified errors, if I lighten up the DOM by removing menus ...
java javascript
[1, 3]
5,077,564
5,077,565
jquery trim value
<p>I have the following JavaScript:</p> <pre><code>var value = '19-JUL-10 04.36.38.643000 PM--&gt;19-JUL-10 05.06.33.962000 PM' </code></pre> <p>How can I use jQuery to trim it to become <code>'19-JUL-10 04.36.38 PM--&gt;19-JUL-10 05.06.33 PM'</code>?</p>
javascript jquery
[3, 5]
1,368,235
1,368,236
How to disable a certain radio button in a RadioButtonList in Javascript
<p>I'm at my wit's end when it comes to this. JavaScript definitely isn't my strong suit and I've been trying to google for a solution. Here's the code I have:</p> <pre><code>&lt;asp:RadioButtonList ID="Group1Most" onClick="disable('Group1Most', 'Group1Least')" runat="server" &gt; &lt;asp:L...
javascript asp.net jquery
[3, 9, 5]
3,545,918
3,545,919
Getting a displayed line from a large string
<p>What I want to do is to measure the data of a line on a large string. I am not sure if any has tried this but I have a string which looks like this.</p> <blockquote> <p>String a =<br> "This is<br> kinda<br> my String" </p> </blockquote> <p>which would display on android textview as</p> <blockquote> <p>...
java android
[1, 4]
2,020,971
2,020,972
I want to get the row value from the gridview into another gridview and use it for calculation
<p>I want to get the value from the gridview into another gridview and use it for calculation..</p> <p>my first gridview as</p> <pre><code> depotcode|depotname|lat_deg|lat_min |lat_sec| lon_deg |lon_min |lon_sec |lat_decimaldegree |lon_decimaldegree| </code></pre> <p>my secondgridview as</p> <pre><code> depotcode...
c# asp.net
[0, 9]
1,951,766
1,951,767
Freestanding independent javascript scrollbar
<p>I need a freestanding scrollbar. It wouldn't be attached to any div... just an independent scrollbar that I can hook into when scrolled by a user to get the current position. Would be great if it worked with mouse wheels..</p> <p>I'm using <a href="http://www.flotcharts.org" rel="nofollow">flot</a> to chart some ti...
javascript jquery
[3, 5]
5,009,836
5,009,837
How to post value using loop
<p>I am facing the problem to post the value of form when using while or for loop.</p> <p>Here is my code.</p> <pre><code>&lt;form name="frm1" id="frm1" method="post" enctype="multipart/form-data"&gt; &lt;?php for($i=0;$i&lt;5;$i++) { ?&gt; &lt;a href="#" onclick="return test1();"&gt;Test&lt;?php echo $i;?&gt;&lt...
php javascript
[2, 3]
1,974,051
1,974,052
DateTime Variable
<p>I want to pass a null value for a DateTime variable in C#. The value should be stored in the database as null.</p> <p>I've tried using Datetime.Minvalue, but that stores a default value. It has to be a null in database. How do I do that?</p>
c# asp.net
[0, 9]
1,332,886
1,332,887
REST,API and Php for searching online with android app
<p>I have an android app I accept a keyword to be searched,And I want to search ebay (an example) like searching for "Samsung S3" and displaying the values back in my app I dont know how to go about this,Ive been told about REST,Php and APIs</p> <p>Do I need to communicate with the database since Im not adding anythin...
php android
[2, 4]
497,267
497,268
Android:How to rotate LinearLayout
<pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/RelativeLayout1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/bg2x" &gt; &lt;LinearLayout android:id="@+id/linear" android:layout_width="fill_parent"...
java android
[1, 4]
4,668,413
4,668,414
Show table cell on table row mouseover
<p>I have a table that looks something like this.</p> <pre><code>&lt;table&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;Foo&lt;/th&gt; &lt;th&gt;Bar&lt;/th&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tbody&gt; &lt;tr class="data"&gt; &lt;td&gt;Info here&lt;/th&gt; &lt;td&gt;&lt;a href"/url_h...
javascript jquery
[3, 5]
1,017,440
1,017,441
How can a C# programmer build software for iPhone?
<p>What should I learn to develop software for iPhone?</p> <p>Thanks</p>
c# iphone
[0, 8]