Unnamed: 0 int64 302 6.03M | Id int64 303 6.03M | Title stringlengths 12 149 | input stringlengths 25 3.08k | output stringclasses 181
values | Tag_Number stringclasses 181
values |
|---|---|---|---|---|---|
3,290,479 | 3,290,480 | jquery loaded, but not executing proper UI function | <p>I have a validation script, and I'm tying to check if the first name field is left blank. I originally just changed the background color of the field and that worked, but now I want to use jquery to fade in a highlight. This is the code so far.</p>
<pre><code>var x = document.forms['getinfo']['fname'].value;
var va... | javascript jquery | [3, 5] |
226,234 | 226,235 | how to unselect all my checkbox | <p>I'm trying without success to unselect all my checkbox picks</p>
<p>by pressing any button that in my java android program with this code</p>
<pre><code>public void onListItemClick(ListView parent, View v, int position, long id)
{
parent.setItemChecked(position, parent.isItemChecked(position));
}
@Ove... | java android | [1, 4] |
4,992,691 | 4,992,692 | Specific Disadvantages of PHP compared to Python via code examples? | <p>There appears to be an overwhelming acceptance that php is a "poorly designed" language as compared to python.</p>
<p>As I have limited experience I am not able to fully understand this conceptually or practically...I'm still in the
"Php works fine so far" camp...but id like to be educated.</p>
<p>I am specificall... | php python | [2, 7] |
1,809,279 | 1,809,280 | How do I know a particular event.keyCode corresponds to a character and not a command key (such as arrows, tab or enter) | <p>I'm using javascript/jQuery.. on the <code>keydown</code> of an <code>input[type='text']</code> I receive a key code. I need to determine whether it's a character code or a command code because I need to know whether the input will change. I cannot use the <code>change</code> event as this event is postergated until... | javascript jquery | [3, 5] |
3,467,657 | 3,467,658 | window.print() refreshes page in iframe when I click cancel | <p>I have a an iframe inside my website with the following jquery code in it:</p>
<pre><code>$(document).ready(function() {
$('#print_button').click(function() {
window.print();
});
});
</code></pre>
<p>The problem: When I click the print button, the print dialog opens correctly. Printing works corr... | javascript jquery | [3, 5] |
2,112,573 | 2,112,574 | jQuery prepending textarea | <p>HTML</p>
<pre><code><textarea id="photo-42-9" class="comment_box">Write a comment...</textarea>
</code></pre>
<p>jQuery code that doesn't work, what am I missing?</p>
<pre><code>$('#photo-42-9').prepend("<div>blah</div>");
</code></pre>
<p><strong>EDIT</strong>
Corrected the ids mismatch,... | javascript jquery | [3, 5] |
4,514,926 | 4,514,927 | how to play mp3 file by streaming using jquery | <p>Dear all,
How can i play an Mp3 file using jquery.At backend level i m using servlets/jsp.PLease suggest any other possible way to play mp3 file in a website.</p>
| javascript jquery | [3, 5] |
2,597,040 | 2,597,041 | Killing application (killProcess) blocked by DefaultHttpClient.execute execution | <p>I'm writing an application which at start up posts a message to the server and waits for the response. To achieve this I'm using DefaultHttpClient.execute method with response time set to default. The whole operation is triggered as a separate thread which is set as a daemon thread, because I don't want for the appl... | java android | [1, 4] |
1,668,188 | 1,668,189 | How to use WebRequest to post data and get response from a webpage | <p>I need to implement an application to post request to a given url and get response.</p>
<p>What are the best methods to post request to a given url and get response?</p>
<p>Please help.</p>
| c# asp.net | [0, 9] |
3,971,922 | 3,971,923 | google+ page vs profile | <p><br /> I have an Asp.net webpage where I would like to display google plus information of the users. The google plus IDs are stored in a database. Is there a way (javascript/C#/VB) to determine if a google plus ID is related to a page or a profile? because I have to include different g:plus codes for them. I searche... | javascript asp.net | [3, 9] |
5,305,586 | 5,305,587 | How do you capture an event for a URL dropped on an input box | <p>I have a web form with a text input box for a url. When I drag a url from the browser's (I'm using firefox but i'd like it to work in others too if possible) address bar to the input box it inserts the url text into any pre-existing text. I want the url to overwrite any existing text instead. </p>
<p>I'm thinking I... | javascript jquery | [3, 5] |
338,611 | 338,612 | asp.net Dropdown Disable Issue | <p>I have a ASP.Net webpage with following <strong>edit</strong> rules</p>
<ol>
<li>Normal user can edit only blank fields</li>
<li>Admin user can edit all fields ( No Issue!!)</li>
</ol>
<p>To accomplish this, I tried to "<strong>Disable</strong>" all fields which have a value using javascipt,
but on postback all t... | javascript asp.net | [3, 9] |
4,492,804 | 4,492,805 | How to get character from number of buttons that buttons added in GridView using Tag and position in Android | <p>Buttons added in GridView programmatically the total number of buttons depend on word length. Each button contains a letter of word, i want to get that letter when click the button using tag,
how can i get?
here is the code:</p>
<pre><code>public View getView(final int position, View convertView, ViewGroup arg2) {
... | java android | [1, 4] |
506,611 | 506,612 | Dynamically add controls javascript Asp.net C# | <p>I am trying to add controls on asp.net c# page, when user clicks on add another. I am using table and want to append controls in that table. Also let me know, How I will get controls values in code behind once form is submitted to server. </p>
| javascript asp.net | [3, 9] |
2,845,013 | 2,845,014 | Flash Message - jQuery | <p>In my Rails application I have flash messages and I would like it so that each time there is a flash message, it scrolls down from the top (all the content goes lower) stays for a few seconds and the slides back up.</p>
<p>How can I do this with jQuery?</p>
<p>Do I toggle the height?</p>
<h3>Update</h3>
<p>Somet... | javascript jquery | [3, 5] |
4,380,120 | 4,380,121 | PHP not support double | <p>Hi I have written one function which is giving diff out put in PHP and JAVA. Please help me to get same output in PHP too. below are that functions written in both languages.</p>
<p>function in JAVA </p>
<pre><code>public String getLat(String v_str, String strNS){
try
{
double lat = Intege... | java php | [1, 2] |
1,560,357 | 1,560,358 | How to send Push Notification Message to iPhone using Java? | <p>I want to send a Push Notification message to particular iPhone device using Java.</p>
<p>I dont have any idea how to do this.</p>
<p>I have googled on this, they have suggested to use "PayLoad" class but not getting this class from any jar files.</p>
<p>Please anybody can guide me to send the push notification m... | java iphone | [1, 8] |
763,780 | 763,781 | Hide and Show Label and Button | <p>I have 2 labels and 2 text boxes and 1 buttons displayed.</p>
<p>When the page loads the <code>Name</code> and <code>Button</code> (will be initially displayed). Later when i click on the <code>Button</code> i need to display the <code>age</code> <code>label</code> and <code>textbox</code>. How can i do this ?</p>
... | c# asp.net | [0, 9] |
11,735 | 11,736 | Passing password in session | <p>I am trying to set the password <code>textbox</code> back to the text entered before a <code>checkbox</code> is and has <code>AutuoPostback</code>.</p>
<pre><code>Session["passwordText"] = txt_Password.Text;
</code></pre>
<p>This is on my pageLoad and then I have tried to add(below) in my <code>CheckedChanged</cod... | c# asp.net | [0, 9] |
1,412,322 | 1,412,323 | Generate DropDownList from code behind | <p>Hi I am generating a DropDownList in my code behind file </p>
<pre><code> protected DropDownList CountryList()
{
DropDownList ddl = new DropDownList();
XDocument xmlDoc = XDocument.Load(Server.MapPath("Countries.xml"));
var countries = from country in xmlDoc.Descendants("Country")
... | c# asp.net | [0, 9] |
3,688,701 | 3,688,702 | Operators not working? | <p>ok i did according to your suggestion but somewhat it looks amatuerish ha.. cos it repeats the same thing for each percentage group: css and message. I am wondering if there is another way to change it? If not, i am ok with this..</p>
<p>if (69 < percentDiscount && percentDiscount < 101) {</p>
<pre><... | javascript jquery | [3, 5] |
5,957,838 | 5,957,839 | Jquery - JSON.stringify, array is empty | <p>i hope somebody can help me, the array value is empty in the post. </p>
<pre><code>$(function start() {
c_all = new Array('#div { font-color:#ff0000; border:1px solid #00ff00; }', '#div_2 { font-color:#ff0000; }', '.line2 { font-color:#00ffff; }');
css(c_all);
});
function css(x) {
values = new Ar... | javascript jquery | [3, 5] |
5,624,809 | 5,624,810 | Which one is better performance to use for .click in the below list | <blockquote>
<p>Please vote for me which one in the below list is better?</p>
</blockquote>
<p>I have HTML:</p>
<pre><code><div id="container">
<button class="btn">Click Here 1</button>
<button class="btn">Click Here 2</button>
<button class="btn">Click Here 3</but... | javascript jquery | [3, 5] |
5,813,810 | 5,813,811 | Using jquery.SerialScroll how do I force a start on a particular page without effect | <p>Im using the jquery plugin <a href="http://flesler.blogspot.com/2008/02/jqueryserialscroll.html" rel="nofollow">SerialScroll</a>. I want it, when initialised, to start on a particular page (ie a list item n numbers in) without the transition effect. And therafter when next or prev is invoked to scroll with the trans... | javascript jquery | [3, 5] |
2,489,433 | 2,489,434 | Mapping the event position to the text position in non text-fields | <p>Is there a way to map an event such as a click-event on this element</p>
<pre><code><div>Just normal text</div>
</code></pre>
<p>to the position in the contained text ( "You just clicked the 6th character", when hitting the 'n' )?</p>
| javascript jquery | [3, 5] |
4,133,952 | 4,133,953 | Hilighting div tag in Masterpage on redirection to content page | <p>I have a link in Master page within a div tag. I want to highlight the div when I am clicking the link, in order to redirect to some content page. </p>
<p><strong>I have written the following code:</strong></p>
<pre><code><li>
<div id="div_test" runat="server">
<asp:LinkButton ID="lnk_te... | jquery asp.net | [5, 9] |
5,952,164 | 5,952,165 | Determine final size of element wrapper before jQuery effect (e.g. slideDown) | <p>Can anyone tell me if (and how) jQuery determines the final size of an element that is animated with the built-in effects functions like <code>slideDown()</code>?</p>
<p>To give a practical example <a href="http://jsfiddle.net/GgCLa/" rel="nofollow">http://jsfiddle.net/GgCLa/</a>:</p>
<p>CSS:</p>
<pre><code>#wrap... | javascript jquery | [3, 5] |
4,526,285 | 4,526,286 | Repeatedly adding image size before the file extention | <p>I'm having a problem and I can't seem to find the reason for the issue I'm a little new to both JavaScript and jQuery. </p>
<p>but by using the below and then resize the page instead of simply adding the size of the image to the image src is is added repeatedly e.g responsive_Course_2_2_large_large_large_large_larg... | javascript jquery | [3, 5] |
2,964,571 | 2,964,572 | Authentication token storage | <p>I want to secure every call to my web service via a token.</p>
<p>first the user is authenticated and a authentication token is generated then the token is added to the http runtime and finally the token is then sent to the client (asp.net c# pages)</p>
<p>here is the problem: i want to send the token to every sub... | c# asp.net | [0, 9] |
649,128 | 649,129 | Android ProgressDialog delayed before showing up | <p>I'm using the ProgressDialog in android to prevent the user from, say, pressing a button multiple times while a long task is updating the UI. </p>
<p>My problem is that the ProgressDialog does not seem to show up after awhile, as it seems to be another thread. </p>
<p>In my experiment I called this ProgressDialog ... | java android | [1, 4] |
964,299 | 964,300 | how to add three condition at Jquery | <p>I want to use three condtions in my <code>if</code> statement. Here is my code:</p>
<pre><code><script>
jQuery(document).ready(function() {
var num_one; var num_two; var num_three;
$("#control").attr("disabled", "disabled");
$('#col-1 li').click(function(){ num_one = true; getSt... | javascript jquery | [3, 5] |
305,923 | 305,924 | performClick not triggering | <p>I am trying to trigger a click on the Carousel. I want that if I press the forward button, it automatically triggers the click on the carousel and then move forward. The manual click (physical touch) is working but performClick() is not. The code is as follows</p>
<pre><code>//************* Forward Button: Select O... | java android | [1, 4] |
1,459,197 | 1,459,198 | Apply a JavaScript function to the parent of the element | <p>I was just refreshing my JavaScript/Jquery skills and I thought of making a basic todo app. I've figured out how to create elements with input from the user via a textbox. All these list elements have a delete task link. I want it such that when a user click on that link it deletes the respective list item.</p>
<p... | javascript jquery | [3, 5] |
231,559 | 231,560 | How to add a class on the right column div when no content is displayed on the left column | <p>I have the following example:</p>
<p><a href="http://jsfiddle.net/zidski/4wJJf/1/" rel="nofollow">http://jsfiddle.net/zidski/4wJJf/1/</a></p>
<p>So if was to remove the content for the left div and jquery would then add a class to the right div.</p>
<p>How can this be done?</p>
| javascript jquery | [3, 5] |
3,016,728 | 3,016,729 | Hide a div without specificing the id or class | <p>I have been searching on a question like this but I cant find it.</p>
<p>I have structure that looks like this:</p>
<pre><code><div id="productholder@(item.ProductId)" class="productholder">
<img src="@Html.DisplayFor(modelItem => item.Image)" alt="" />
<div class="productinfo">
<... | javascript jquery | [3, 5] |
55,771 | 55,772 | JavaScript function not working | <p>using string buffer in java i append javascript for example</p>
<pre><code>StringBuffer sb1=new StringBuffer();
sb1.append("<script type=\"text/javascript\">\n function callauto(){ ");
sb1.append(" var get_deci"+i+"=eval("+c_c+ "&&"+splitvalue_text[0]+"=="+d_d+"?true:false);");
sb1.append("if(get_dec... | java javascript | [1, 3] |
847,660 | 847,661 | How to find file size in javascript or jQuery | <p>I have a fileupload control, I want to validate the size of the file to 50kb before the done button is clicked.</p>
<p>I did some research on the internet and got this code</p>
<pre><code><script>
function A() {
var oas = new ActiveXObject("Scripting.FileSystemObject");
var d = document.a.b.va... | javascript asp.net | [3, 9] |
5,240,366 | 5,240,367 | EditText cropping characters while editing | <p>I'm working on an application for Samsung Galaxy 5 with Android 2.2-update1 that has various EditText fields and I noticed that all EditText fields below the middle of the screen is not repainted correctly when the user is typing: all the characters appear chopped, leaving their half top plain white. I've tested thi... | java android | [1, 4] |
3,911,284 | 3,911,285 | Parsing using mrss | <p>I'm trying to parse an mrss feed using jquery but am having some difficulty targeting the child element.</p>
<p>Code:</p>
<pre><code>$(xml).find("item").each(function(){
var $item = $(this);
alert($item.find("media\\:thumbnail").text();
});
</code></pre>
<p>MRSS Structure:</p>
<pre><code><media:thumbna... | javascript jquery | [3, 5] |
2,729,363 | 2,729,364 | Search array for object property then hide first occurence of found object | <p>I have an array of objects that I've created using Javascript. The objects are map layers and have various properties associated. Upon creation they are pushed into an array. Below is a simplified example</p>
<pre><code>var activeLayers = [];
var mapLayer1 = new mapLayer();
mapLayer1.name = 'roads';
mapLayer1.cl... | javascript jquery | [3, 5] |
109,063 | 109,064 | If in jquery does not work | <p>I wrote this script, but it doesn't work in way I wanted:</p>
<pre><code>$(document).ready(function(){
if ($('#map_container').find('#point').length == 0 ) {
$("#map_container").click(function (e) {
var relativeXPosition = (e.pageX - this.offsetLeft);
var relativeYPosition = (e.... | javascript jquery | [3, 5] |
4,975,607 | 4,975,608 | jquery calendar issue | <p>I have a start and stop textbox field which triggers jquery calendar. I want to know whether it is possible to achieve when I select a date on the start, will populate the same on the stop?</p>
| javascript jquery | [3, 5] |
2,334,698 | 2,334,699 | javascript return function's data as a file | <p>I have a function in javascript called <code>"dumpData"</code> which I call from a button on an html page as <code>**onlick="dumpData(dbControl);"*</code> What it does is return an xml file of the settings (to an alert box right now). I want to return it to the user as a file download. Is there a way to create a... | php javascript | [2, 3] |
3,122,888 | 3,122,889 | Opening ASP.Net pages in Java application | <p>Currently we have a Java application and .Net application running in two servers.
We have a requirement to call a set of pages developed in Asp.Net into a Java application. </p>
<p>Follows the brief explanation:
1. Suppose there is a running java application.
2. On click of a link (Say "Edit Profile") from Java ... | java asp.net | [1, 9] |
1,351,067 | 1,351,068 | finding an HtmlGenericControl | <pre><code> System.Web.UI.HtmlControls.HtmlGenericControl div = (System.Web.UI.HtmlControls.HtmlGenericControl)pnl.Controls[0].FindControl("divMessage");
</code></pre>
<p>i am trying to find <code>divMessage</code> somethign like the above but i am getting null...:</p>
<p>below is how my div resides.</p>
<pre><cod... | c# asp.net | [0, 9] |
389,353 | 389,354 | Jquery Auto Complete in asp.net | <p>i want to use jquery ui auto complete plugin in asp.net.
this is my behind code :</p>
<pre><code> Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim locations As String() = New String() {"Las Vegas", "Los Angeles", "Tampa", "New York", "s", "sss"}
Dim jsArray As... | asp.net jquery | [9, 5] |
1,400,253 | 1,400,254 | how to turn a function from function(element) syntax to $(element).function() syntax | <p>I have a function that accepts the element it needs to operate on as a parameter <code>element</code></p>
<pre><code>function changeColor(element){
$(element).find('.middleBox').each(function(){
$(this).//do some stuff that does not matter now;
});
}
</code></pre>
<p>and I call it this way </p>
<pre>... | javascript jquery | [3, 5] |
2,376,171 | 2,376,172 | Update ASCX from ASPX using delegates | <p>I am trying to separate all DB calls required by ASCX.cs to call only from ASPX.cs, I am trying it with delegate and events.</p>
<p>my ASCX.cs has </p>
<pre><code>namespace x.xx.xy.xyy.xyyy
{
public partial class PaymentItem : UserControlBase
{
public delegate void Handler(Dictionary<string, string>... | c# asp.net | [0, 9] |
2,821,814 | 2,821,815 | jQuery Singleton | <p>I have something like in a file say test.js:</p>
<pre><code>(function($){
$.test= function(){
alert('test');
}
})(jQuery);
jQuery.test();
</code></pre>
<p>Now if test.js is loaded twice in my page i.e. src=test.js in two different locations, it gives alert twice. I want it to be like a singleton. An... | javascript jquery | [3, 5] |
1,038,186 | 1,038,187 | Which Form of Java should I learn before getting into Android Developing? (J2ME, J2SE, J2EE, servlet adn etc.) | <p>I want to take Java course for developing Android applications. I have all the necessary tools. But wanna ask before proceeding for course, Which Form of Java should I learn before getting into Android Developing? (J2ME, J2SE, J2EE, servlet adn etc.). What are the things which I should learn in that form?</p>
| java android | [1, 4] |
3,260,188 | 3,260,189 | How to reset phone default launcher programatically? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/6761553/clear-application-defaults">clear application defaults</a> </p>
</blockquote>
<p>I built a home screen replacement app. The first time users click home after installing it they see a window with all home... | java android | [1, 4] |
118,739 | 118,740 | Best way of getting a a series of custom fields into an array? | <p>I've a series of custom fields attached to certain pages. These fields are named slide1, slide2, side3, slide4, slide5, slide6. </p>
<p>These are images which are going to be used as a slideshow (I'm using jflow slider for this - <a href="http://net.tutsplus.com/articles/news/using-the-wonderful-jflow-plugin-screen... | jquery php | [5, 2] |
3,637,802 | 3,637,803 | How do I allow to check only one checkbox out of four in UserControl? | <p>I have created a User Control with 4 check boxes(server control).I want to allow to check only one checkbox out of four.</p>
<p>The user control is loaded on page dynamically.I page may have multiple same UserConrol.</p>
<p>How do I do it using Jquey or Javascript?</p>
| javascript asp.net jquery | [3, 9, 5] |
1,110,059 | 1,110,060 | Using column two radio buttons in DataGrid | <p>I created two template column in DataGrid.I assigned radio buttons to those columns.I created single selection by calling a javascript function for the first radio button.
But,I cant't do single selection by calling a javascript function for the second radio button.Also,I can't run independently of each other.</p>
... | javascript asp.net | [3, 9] |
3,375,671 | 3,375,672 | Javascript Accordion | <p>I have a strange bug I cant quite figure out, I've built an accordion slider that shows short content intially and when clicked then shows the long content. </p>
<p>At any one time only 1 tab should be open but when 2 opens the short content dissapears. </p>
<p>ive attached a fiddle, can anybody see whats wrong? I... | javascript jquery | [3, 5] |
5,370,493 | 5,370,494 | Get info about computer to which Android device is connected | <p>I have the problem. When Android device connected to computer through USB, I need to get information about this computer(such IP, Host Name or something like this). Is it really to get?</p>
<p>Thanks.</p>
| java android | [1, 4] |
2,260,591 | 2,260,592 | Changing value of custom select option - Javascript | <p>I need assistance changing the value of a custom-select box. I cannot use JQuery because I already have a change() function hooked up to it.</p>
<p>How can I change the value of the select box in Javascript?</p>
<p>This is my custom select function:</p>
<pre><code>$.fn.customSelect = function() {
if ( $(this).le... | javascript jquery | [3, 5] |
2,956,225 | 2,956,226 | Swapping images using jQuery in sequence | <p>I'm trying to use jQuery to swap the background image of an element in set sequence to create an animation where each image is a different frame and it should iterate through the frames until it reaches the last frame and then return to the beginning again.</p>
<p>My code is as follows:</p>
<pre><code>$spinner_cur... | javascript jquery | [3, 5] |
231,610 | 231,611 | Nothing happens when using Regex in asp.net | <p>Regex really does nothing if i run this code:
input contains: "geeeeekdldn" </p>
<pre><code>Regex.Replace(input, @"g(.|\n)*?n", string.Empty);
</code></pre>
<p>normally after regex the value of input is "" but i still get "geeeeekdldn"
can someone help me please</p>
| c# asp.net | [0, 9] |
2,117,580 | 2,117,581 | Simulate a document.body click event | <p>I am having a big of an issue.
I have some third party js includes and they popup some info on a button click, that is in an iframe. Of course, I don't have access to this iframe. But the 3rd party captures clicks and closes the iframe popup. So the behaviour is like so -</p>
<p>I am a user, I click on this "3rd p... | javascript jquery | [3, 5] |
1,184,199 | 1,184,200 | Android: Javascript to rotate an image using Angle | <p>I'm creating one application in android to rotate an image using angle in html file.
I need JavaScript to rotate the single image in html page. Could anybody post the code please.</p>
<p>My code is </p>
<pre><code><div>
<img id="Rose" src="Rose.jpg" style="margin:20px 80px;align:left"></img&... | javascript android | [3, 4] |
3,333,452 | 3,333,453 | Change font-size on mouse over, revert to original on mouse leave | <p>I'm trying to write a function that changes the font-size of an element when the mouse enters it, and revert it back to its original font-size when the mouse leaves it. This is what I have:</p>
<pre><code> $(".month").hover(function(){
var size = $(this).css("font-size");
$(this).stop().animate(... | javascript jquery | [3, 5] |
1,242,576 | 1,242,577 | Android for Dummies code error | <p>In <em>Android app Development for Dummies</em> and I am getting an error after the last bit of code.</p>
<blockquote>
<p>The method <code>setListAdapter(ArrayAdapter<String>)</code> is undefined for the type <code>ReminderListActivity</code> </p>
</blockquote>
<p>The code is as follows:</p>
<pre><code>p... | java android | [1, 4] |
541,342 | 541,343 | Anyone know of javascript for this drop down navigation? | <p>I'm a beginner to web design, does anyone know of a script that has this EXACT drop down navigation style?</p>
<p><a href="http://behance.vo.llnwd.net/profiles4/172375/projects/4109265/b262ce1df694cced3f3fa5fe3cb8dc97.jpg" rel="nofollow">http://behance.vo.llnwd.net/profiles4/172375/projects/4109265/b262ce1df694cced... | javascript jquery | [3, 5] |
5,226,474 | 5,226,475 | JavaScript window.location navigation fails in Android WebView | <p>I've decided to develop an Android app using HTML and jQuery, since I'm more comfortable with those technologies.</p>
<p>I have a situation where when a user clicks a button in the app, some JavaScript code is executed, and then the user is navigated to a new (locally stored) page. This works fine in my browser, bu... | android jquery | [4, 5] |
3,935,928 | 3,935,929 | jQuery keyup value of input | <p>i need to display value of <code><input></code> into the <code><span></code> and when label become empty, change value of span to "Video title". But always i type something into the <code><input></code> and then delete it, the <code><input></code> still have "" value so <code><span></co... | javascript jquery | [3, 5] |
4,616,324 | 4,616,325 | check if value exists in mulitdimensional array and return boolean | <p>I have seen many posts about searching nested arrays in javascript but none of them have a way to tell if an item does not exist in the array.</p>
<p>this may sound confusing so here are some examples:</p>
<p>I have 2 arrays <code>oldArray</code> and <code>newArray</code></p>
<p>structured like this:</p>
<pre><c... | javascript jquery | [3, 5] |
2,025,441 | 2,025,442 | jquery hide image then fadein | <p>I've not any experience with jquery or java script - sorry!</p>
<p>I have an aspx page with a flash animation. If flash is not available then it displays a static image instead. I'd like the image to fade in. Currently this doesn't work. I've even tried just hiding the image using $(imgConnect).hide(); but that doe... | jquery asp.net | [5, 9] |
5,160,070 | 5,160,071 | Fingertip drawing applications on Android? | <p>I'm a new user to this interesting forum! </p>
<p>I want start developing an application for android and before starting i want learn about some android features... </p>
<p>The first android feature is how to correlate finger motion on the screen with java... </p>
<p>Are there any source code examples that show h... | java android | [1, 4] |
421,886 | 421,887 | Changing style of context menu in Android | <p>In one Android activity I have added a context menu to an <code>ImageView</code> with only one menu item: 'Close' (in order to hide the image).
However, the context menu does not look precisely nice when shown, expanding a big white rectangle occupying almost all the wide of the screen. Is there a way to reduce the ... | java android | [1, 4] |
818,296 | 818,297 | XMLHttpRequest cannot load file. Origin null is not allowed by Access-Control-Allow-Origin | <pre><code> $.getJSON('test1.json', function(data)
{
for (i in data.conferences) {
var item = data.conferences[i];
array1.push({
cid:item.id,
confName: item.cname,
confStart:item.start
}); }
});
</code></pre>
<p>I use the function for getting values from java to jquery. In chrome and opera shows same ... | javascript jquery | [3, 5] |
5,256,499 | 5,256,500 | Using dropzone.js in asp.net | <p>Since few days i m trying to implement multiple file upload with drag and drop interface.
I have searched a lot and at last found my exact requirement from
<a href="http://www.dropzonejs.com/" rel="nofollow">http://www.dropzonejs.com/</a></p>
<p>I tried same steps from above site.
but, I am unable to implement thi... | c# javascript jquery asp.net | [0, 3, 5, 9] |
4,566,287 | 4,566,288 | in override page_load, additional part should before or after base.OnLoad(e)? | <p>I inherit a basepage and override its method page_load,do sth myself in it,what I want to ask : the method I wrote should before base.OnLoad(e) or after it,which is better ? any difference between different location?</p>
<pre><code>protected override void OnLoad(EventArgs e)
{
this.GenerateIEIcon();
... | c# asp.net | [0, 9] |
147,392 | 147,393 | Turn camelCaseWords from data attribute into "Camel Case Words" | <p>I have a set of links with custom HTML5 data attributes like this one: <code>data-test="justExample"</code></p>
<pre><code><a href="#" data-test="somethingSpecial">
This should output "Something Special"
</a>
</code></pre>
<p>I want to return this value as <code>"Just Example"</code> instead of "<c... | javascript jquery | [3, 5] |
3,202,065 | 3,202,066 | ASP.Net, populate grid record by record | <p>I have a GridView on the page and some search option on top of the page and a search button,
When user click Search button, get first record and bind the grid and show to the user.
Now start getting remaining records (5 at a time) and add to the grid until entire search result.
Is that possible with asp.net and jQue... | jquery asp.net | [5, 9] |
4,248,084 | 4,248,085 | Displaying label control depending on condition | <p>I have three pages on my site. Page 1 is home page. When user visits the site, i display label control to user in Page 1. When the same user goes to page 2 , 3 and returns back to page 1, i do not want the label to show again. How can i do this?</p>
| asp.net jquery | [9, 5] |
4,691,049 | 4,691,050 | Javascript calendar not working | <p>My JavaScript calender is working in IE but it is not working in Mozilla.</p>
<p>My code:</p>
<pre><code> <table>
<tr style="height: 5px;">
<td>
<asp:TextBox ID="txtBorderedDate" runat="server" CssClass="TextBoxMandatory" Enabled="false"></asp:TextBox>
</td>
... | asp.net javascript | [9, 3] |
3,318,568 | 3,318,569 | jQuery on list item hover, show delete button for that individual item | <p>Below is a preview of what I have:</p>
<hr>
<p><img src="http://i.stack.imgur.com/RiF2B.jpg" alt="enter image description here"></p>
<hr>
<p>On the right is when I hover. What I want is for the delete icon to only show for that hover item.</p>
<pre><code><script>
$(document).ready(function(){
$(".r... | javascript jquery | [3, 5] |
3,077,236 | 3,077,237 | how to get parameter like mysite.com/myaction/#someanchor with php and javascript | <p>For example I hide comments by default. </p>
<p>So if I find #comments I will be know that I need to show them up. </p>
<p>Is that possible to catch with php or javascript on page load?</p>
| php javascript | [2, 3] |
2,822,702 | 2,822,703 | Search Criteria in PHP | <p>JAVASCRIPT</p>
<pre><code>function ShowContent(id) {
if(id.length < 1) { return; }
document.getElementById(id).style.display = "block";
}
</code></pre>
<p>PHP</p>
<pre><code>$test = mysql_query('SELECT userid,testid,testname FROM test_table WHERE userid = 9 ORDER BY name');
TestName : <select>
... | php javascript jquery | [2, 3, 5] |
4,142,266 | 4,142,267 | typeof jQuery.data() buggy? | <p>I'm tracking a mysterious problem in my code. This "bug" happens within an <code>event handler</code> that was bound via jQuery's <code>.delegate()</code>:</p>
<pre><code>my.$table_body.delegate('.wf-dropdown', 'change', function(e){
parent_row_element = $(e.target).closest('tr')[0];
if( typeof $.data(pare... | javascript jquery | [3, 5] |
1,435,265 | 1,435,266 | jQuery access to this event in new object | <p>I want to get access to the data-global-id value in the following markup and I am not sure how to do this due to scoping.</p>
<p>For example:</p>
<pre><code><div data-global-id="168" class="remove-as-favorite">remove as favorite</div>
$('.remove-as-favorite').on('click',function(){
var global_id=$(t... | javascript jquery | [3, 5] |
4,638,136 | 4,638,137 | How to properly execute C# file over local network? | <p>Overview</p>
<p>C# File - Users PC<br/>
PHP Server - Hosts Webpages for application</p>
<p>Server and Users PC on local network</p>
<p>I have a c# file that reads weight from a USB scale. How would I trigger this file to run so it feeds into my program. The problem is I am using PHP to host our webpage/applicat... | c# php javascript | [0, 2, 3] |
1,907,978 | 1,907,979 | jQuery: Move JavaScript to the bottom of the page? | <p>We are developing large ASP.NET applications with lot of dynmically created pages containing ASCX controls. We use a lot of jQuery everywhere.</p>
<p>I have been reading that it would make sense to move the inline JavaScript code to the bottom of the page as it could delay the loading of the page when it's included... | javascript asp.net jquery | [3, 9, 5] |
5,059,473 | 5,059,474 | Change Font Style (bold, Italic, bold italic) in C# | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/5607280/change-font-style-in-c">change font style in c#</a> </p>
</blockquote>
<p>HI there I want to change the font style of a label to either bold, italic, etc.. using a dropdownlist in an aspx page. Please le... | c# asp.net | [0, 9] |
3,275,333 | 3,275,334 | jQuery $() function | <p>I am new to javascript and jquery so I am wondering what does </p>
<pre><code>$('#someid a')
</code></pre>
<p>referring to?</p>
<p>and when does the function $.get get called? (since I feel the code after $.get is called before $.get</p>
<p>Thanks in advance.</p>
| javascript jquery | [3, 5] |
3,073,931 | 3,073,932 | Gridview sorting and paging events are not firing in embedded .ascx controls | <p>I have a gridview that's inside a .ascx control that's dynamically embedded into another .ascx control, which is then called by a web form. The gridview will initially bind, but when any paging/sorting/command events are then triggered, I can't get any breakpoints inside the events to kick off. Additionally, when I... | c# asp.net | [0, 9] |
4,206,526 | 4,206,527 | programmatically sending text message - set expiration | <p>Is it possible to set a text message's (SMS/MMS) expiration date programmatically, or is there a way to send a message that automatically deletes itself through java on android? </p>
<p>I can't seem to find any examples other than applications/websites that work as a middle man, and I would prefer for the end user ... | java android | [1, 4] |
4,004,315 | 4,004,316 | Multi language for a Website (php and javascript) | <p><br />
i try to build a language selection for my Website.</p>
<p>I use php and Javascript.</p>
<p>My idea is to create for every language a php file.</p>
<p><strong>For example: lang_en.php</strong></p>
<pre><code><?php
$lang = array();
$lang[1] = "Everything is ok!";
$lang[2] = "Please select a Number.";... | php javascript jquery | [2, 3, 5] |
2,846,073 | 2,846,074 | How to create sql connection with c# code behind, access the sql server then conditionally redirect? | <p>This is a question from an experienced beginner!</p>
<p>Using ASP.NET 4 C# AND SQL server,</p>
<p>I have a connection string in web.config to myDatabase named "myCS".
I have a database named myDB.
I have a table named myTable with a primary key named myPK</p>
<p>What are the NECESSARY lines of code behind (minima... | c# asp.net | [0, 9] |
140,670 | 140,671 | How to work with jQuery and remain agnostic to its version? | <p>We're developing a snippet that is embedded in 3rd party sites, and uses jQuery.</p>
<p>The snippet checks if the site already has jQuery loaded. If so, it uses that library, otherwise it loads our own copy (currently jQuery 1.4.4, we're migrating to the latest soon).</p>
<p>There are breaking changes in jQuery. O... | javascript jquery | [3, 5] |
5,236,639 | 5,236,640 | Fade in/out sound playing in 2 different Divs | <p>JQuery has nice visual fadeIn/fadeOut functions that work on different elements such as <code>div</code>. I need the same thing for sound.</p>
<p>More precisely, if two YouTube iFrame API players are playing from within 2 different <code>div</code>, is there a way to fadeIn/fadeOut the sound between them?</p>
| javascript jquery | [3, 5] |
2,845,734 | 2,845,735 | How do you Record physical file downloads, or a percentage of a file download? | <p>I would like to record every time a registered user clicks a link and downloads a file from a site. At the moment I am recording every time the link is pressed however this provides no information on if the file is <strong>actually physically downloaded</strong>? and moreover a download percentage if the file is not... | php javascript jquery | [2, 3, 5] |
2,535,821 | 2,535,822 | Language switcher using global resources | <p>I have multiple langauges setup under app_globalresources and would like to add a language switcher to the master template. I have the files named Default.resx and Default.fr.resx.</p>
<p>Currently it is setup to auto using on the page:</p>
<pre><code>UICulture="auto" Culture="auto"
</code></pre>
<p>Any help is ... | c# asp.net | [0, 9] |
3,062,303 | 3,062,304 | check if username/email is already exist using javascript | <p>i have a simple question.</p>
<p>how can i check if the username or email they entered is already exist..</p>
<p>i have this code,</p>
<pre><code> if(document.RegForm.user.value =="")
{
alert("User Name Please?");
valid=false;
}
</code></pre>
<p>that's my code for username,... | php javascript | [2, 3] |
1,050,559 | 1,050,560 | jQuery: Getting "secondary" class | <p>I'm using jQuery to loop through some elements in a document. These elements are of type <code><tr></code> with class <code>.input-row</code>. Some of the elements can also have a secondary class (for example <code>.input-area</code>).</p>
<p>I use <code>$(".input-row").each()</code> to loop through the eleme... | javascript jquery | [3, 5] |
3,695,604 | 3,695,605 | Confusing Javascript quotes | <p>In the jQuery docs mostly every string is "declared" using single quotes. Including the <a href="http://jqueryui.com/demos/datepicker/#option-dateFormat" rel="nofollow" title="documentation">documentation</a> for jQuery UI.</p>
<p>So why doesn't this</p>
<pre><code>$(".datepicker").datepicker({ dateFormat: 'dd.mm.... | javascript jquery | [3, 5] |
1,911,405 | 1,911,406 | Change Text using jQuery | <p>I have a script that is pulling in news from Yahoo on a certain subject. It renders the title of the news feed like this: </p>
<pre><code><div class="header-title">subject - Yahoo! News Search Results</div>
</code></pre>
<p>I would like to change this to read differently. Since this is inserted via JS ... | javascript jquery | [3, 5] |
3,042,600 | 3,042,601 | Tracking the success and failure of product download | <p>I want to track the complete/success and failure of product download for my ecommerce site.i m using asp.net handler which i called throuh jquery ajax.i wrote a code. but the downoad dialog box is not popped up and i still don't know the success and failure statistics.i need to update my databse based on the return... | jquery asp.net | [5, 9] |
176,961 | 176,962 | Javascript / jQuery - How to convert Media and Image data into binary text format | <p>I need to send a image/media through json, for that conversion needs to be done into text format. How can I achieve that through jQuery/ Javascript?</p>
| javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.