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 |
|---|---|---|---|---|---|
1,051,825 | 1,051,826 | What does $ do when using JQuery? | <p>I am reading JavaScript and JQuery, The Missing Manual</p>
<p>and they start of with this Snippet : </p>
<pre><code>$(document).ready(function(){});
</code></pre>
<p>I know that <code>function(){}</code> is an anonymous function, and that document is an object with properties I can set / read, and that ready() is... | javascript jquery | [3, 5] |
3,167,270 | 3,167,271 | return values from Jquery function | <p><br>I am a complete novice in jQuery and javascript, so if this sounds very silly or very simple thing to do please help me out with your expertise<br></p>
<pre><code>$(document).ready(function(){
$('#add_button').click(function(){
var vol = $('input#cv').val();
var col = $('input#cc').val();
var comm... | javascript jquery | [3, 5] |
82,209 | 82,210 | using jquery when passing arguments to function | <p>I have a link which triggers js function. To the link I have attached data-attribute on html which I want to pass to the function.</p>
<pre><code>$(".trigger").awesomeFunction({
oneArgument: "secretSauce",
secondArgument: $(this).data("address")
});
</code></pre>
<p>Now that second argument ends up null instea... | javascript jquery | [3, 5] |
5,286,175 | 5,286,176 | How to identify button click from array of buttons | <p>I have a table with 1 button in each row, on click of button tax shown in that row will be applied to the client and i need to show some indication to end user. I want to change the button css(color, txt ect.) on click for that purpose. Below is the code -</p>
<pre><code><table class="data report_table"> ... | javascript jquery | [3, 5] |
5,907,501 | 5,907,502 | jquery AJAX sent data in key value pair | <p>In my aspx page, i have the js like this :-</p>
<pre><code> <script language="javascript" type="text/javascript">
$("#btnLoad").click(function () {
var dataForAjax = "{'datakey':'hello'}"
$.ajax({
type: "POST",
url: "Ajax__Demo.aspx/SendFile",
data:... | c# jquery | [0, 5] |
5,805,722 | 5,805,723 | chrome safari javascript jquery back | <p>Is there anything particular to chrome or safari that would make a javascript/jquery script work on the first page load, but then when the user hits the back button after navigating the site, it causes select boxes to be selected?</p>
<p>Here is the code. Apologizes before hand for the lack of conventions. I had to... | javascript jquery | [3, 5] |
2,725,367 | 2,725,368 | SelectedIndexChanged | <p>Problem:</p>
<p>SelectedIndexchanged does not fire. I tried investigating with a breakpoint but it does not even get to the event.
I made the event by double clicking on the combobox. But it did not help.
Please advice.</p>
<p>Here is the code:</p>
<pre><code> protected void nav_dd_parent_edit_SelectedIndexCha... | c# javascript asp.net | [0, 3, 9] |
2,549,734 | 2,549,735 | C# delete column from datatable where all values are zero | <p>I need to delete columns from datatable where all rows have 0 for value. Or in other words, where sum is 0. </p>
<pre><code>1 2 5 99.9 442.25 221 0
1 2 77.7 889 898 55 0
9 0 66 42 55 0 0
</code></pre>
<p>In this example, last column should be removed.</p>
<p>How to do this?</p>
| c# asp.net | [0, 9] |
5,182,658 | 5,182,659 | Android (Java) Simple Send and recieve with Server - Fast Setup Challenge | <p>I'm writing an Android App and I'm looking for the fastest (In terms of setup) way for me to send data to a server and receive information back on request.</p>
<p>We're talking basic stuff. I have a log file which tells me how a user is using my application (In beta, I wouldn't runin a user experience by constantly... | java android | [1, 4] |
5,725,310 | 5,725,311 | C# string.Split returns double quotes out of no where | <p>Why does this </p>
<pre><code> string test = "Text1, Text2";
string [] tests = test.Split(", ".ToArray());
</code></pre>
<p>returns this</p>
<pre><code>[0] = "Text1"
[1] = ""
[2] = "Text2"
</code></pre>
<p>what's with the quotes in tests[1] ?</p>
<p>I thought the output would be like this</p>
<p... | c# asp.net | [0, 9] |
1,453,379 | 1,453,380 | UseSubmitBehavior="false" and binding OnClientClick? | <pre><code><asp:Button ID="RecoverButton" runat="server" Text="Recover"
OnClick="RecoverButton_OnClick" UseSubmitBehavior="false" />
</code></pre>
<p>I kind of figured out <code>UseSubmitBehavior="false"</code> overwrites the <code>OnClientClick</code> function I was providing.</p>
<p>I went with this then:... | jquery asp.net | [5, 9] |
4,193,591 | 4,193,592 | can anybody give me realtime sqlite example | <p>Actually earlier i was working as a Web Developer so i am not able to imagine mobile database. It has become complicated for me</p>
<p>I mean to say steps like given as below,
CheckDBExist
Create it if does not exist,
Insert when told to,
Update when required and,
anything u would like to suggest me as a beginner</... | java android | [1, 4] |
1,319,587 | 1,319,588 | How can I hook up to a parent's event? | <p>I've got an aspx file, and rendered within it is an ascx control.</p>
<p>The aspx file has a button, that, when clicked, fires an event.</p>
<p>I've got a button in the ascx control that I'd like to hook up to that same event...but I'm not clear on how to do it. I'm obviously missing something fairly elementary.<... | c# asp.net | [0, 9] |
705,131 | 705,132 | Android - delete from array adapter <string> | <p>I am creating an <code>ArrayAdapter<String></code> from a resource array. Then I would like to delete an item from the list using <code>arrayAdapter.remove(String)</code> method. I find the correct string using <code>arrayAdapter.getItem(int position)</code>. But when I call the remove method I end up having <... | java android | [1, 4] |
2,688,072 | 2,688,073 | Processing a dynamically generated form in javascript with php post to database | <p>I have a form that contains dynamically generated fields. There can be an arbitrary number of fields in the submitted form, depending on how many fields are added by the user. Here is a JSFIDDLE that you can refer to know what kind of fields i am generating dynamically. <a href="http://jsfiddle.net/RASG/bYBPD/" re... | php javascript | [2, 3] |
2,915,505 | 2,915,506 | Add no. of days in a date to get next date(excluding weekends) | <p>I have an date, i need to add no. of days to get future date but weekends should be excluded.
i.e </p>
<pre><code>input date = "9-DEC-2011";
No. of days to add = '13';
next date should be "27-Dec-2011"
</code></pre>
<p>Here weekends(sat/sun) are not counted. </p>
| javascript jquery | [3, 5] |
5,498,544 | 5,498,545 | How to load and display the images in the folder with different name in the ImageView in android? | <p>These is the code snippet of an Android program... Where I am trying to display images in an ImageView. But while making it dynamic by removing the constant values the program is giving me an error which I am not able to resolve... </p>
<pre><code>public void onCreate(Bundle savedInstanceState)
{
Class<... | java android | [1, 4] |
3,825,679 | 3,825,680 | How do I tell IE to add the class 'Selected' to my LI on scroll? | <p>I was hoping to get a little help with my code. This works in moz/webkit but not in ie. I don't quite understand why :(</p>
<pre><code>$(window).trigger('hashchange');
// Add .selected class to nav on page scroll
var $sections = $('section');
var $navs = $('nav > ul > li');
var topsArray = $sections.map(fu... | javascript jquery | [3, 5] |
261,184 | 261,185 | How to keep the block text in div tag refresh function? | <p>I have a page that the function is to refresh div tag.
Div tag function is refresh the data will receive.</p>
<p>So far that's ok.</p>
<p>When I block the text using mouse, that's will clear the block text based on timing "20000". This below the JS script function.</p>
<pre><code><script src='js/jquery.min.js'... | php jquery | [2, 5] |
4,188,001 | 4,188,002 | How to convert string to "iso-8859-1"? | <p>How can i convert an UTF-8 string into an ISO-8859-1 string?</p>
| c# asp.net | [0, 9] |
3,317,851 | 3,317,852 | Correctly remove anonymous function event handlers | <p>I'm trying to figure out how best to remove anonymous event handlers using jQuery.</p>
<p>I define a variable to hold my jQuery object:</p>
<pre><code> var dom = $('#private-module');
</code></pre>
<p>Later on in my object:</p>
<pre><code> run: function () {
var button, that = this;
button = dom.appen... | javascript jquery | [3, 5] |
5,060,780 | 5,060,781 | Any way to turn this into a jQuery function? | <p>I have tried to wrap this in a function and cannot get it to work. I am wondering if it is because it is appending something to the body? But here is the script. Any help is greatly appreciated.</p>
<pre><code>$('.showIt').click(function(){
$('body').append("<div class='show'></div>");
});
</code></pre>... | javascript jquery | [3, 5] |
5,104,040 | 5,104,041 | Odometer Speedometer jquery plugin | <p>Is there any plugin who give's the chart type = ODOMETER ?</p>
<p>incrideble how is so hard to find this, even highchart's that i'm using ( very good chart library ) dont have a odometer, dont know why.</p>
<p>i found some "speedometer", <a href="http://jacob-king.com/demo/speedometer" rel="nofollow">Demo</a> but ... | javascript jquery | [3, 5] |
5,517,307 | 5,517,308 | On/off states with words in a form? | <p>Doing a rebuild of a website and I want to give several words an "on" and "off" state within a form</p>
<p>The previous developer created this site but looking at his code it's slightly horrific - <a href="http://www.mediwales.com/news" rel="nofollow">http://www.mediwales.com/news</a> . I'm doing the bit in the gre... | php jquery | [2, 5] |
871,533 | 871,534 | jquery .on() event argument does not work in Firefox | <p>Kindly see this fiddle :</p>
<p><a href="http://jsfiddle.net/e9uwA/1/" rel="nofollow">http://jsfiddle.net/e9uwA/1/</a></p>
<p>What's supposed to happen here is that the smaller box should fadeout via css transition, then ontransitionend, adjust the height of the bigger box. It works fine in Chrome, Opera but it do... | javascript jquery | [3, 5] |
3,469,986 | 3,469,987 | radio button to enable form fields | <p>I have a form containing two radio buttons, I want to enable corresponding fields when a radio button is checked. My code just isn't working, here it is:</p>
<pre><code><head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready... | javascript jquery | [3, 5] |
2,864,581 | 2,864,582 | Why all the images in a slider first linup for 1-2 secs before they adjust in a proper position? | <p>if you open this page <a href="http://www.expertforyou.com/" rel="nofollow">http://www.expertforyou.com/</a></p>
<p>All the images are like vertical for a second or two, before they line up. Depending on internet speed, it could be a few seconds.</p>
<p>How can we remove this?</p>
| php jquery | [2, 5] |
346,702 | 346,703 | Comparing 2 dates (failing if one of the dates is in following year) | <p>The code below works fine if the 2 dates are within the same year, but seems to break if the end date is in the following year. Could anyone point me in the right direction as to why?</p>
<p>Both vars are date pickers in the format DD/MM/YYYY.</p>
<p>Thanks in advance. </p>
<pre><code>$(document).ready(function()... | javascript jquery | [3, 5] |
5,682,664 | 5,682,665 | changeDate event in jQuery UI datepicker? | <p>In this datepicker is event <code>changeDate</code> -> <a href="http://www.eyecon.ro/bootstrap-datepicker/" rel="nofollow">http://www.eyecon.ro/bootstrap-datepicker/</a></p>
<p>What is the equivalent in jQuery UI datepicker?</p>
| javascript jquery | [3, 5] |
4,832,604 | 4,832,605 | Embedding Javascript in PHP With Brackets | <p>Alright so I've been trying to echo some JavaScript for the fancybox window to popup if a user logs in or out. This is what I have so far, but it keeps throwing a server error.</p>
<pre><code><link rel="stylesheet" type="text/css" href="scripts/fancybox/jquery.fancybox.css" />
<script type="text/javascript... | php javascript | [2, 3] |
5,948,410 | 5,948,411 | Selected Text Instance | <p>I have a bunch of text on my document. You can select word/words from it and highlight the text. After you highlight it, an ajax request is sent and the selected word/words are sent to backend (PHP) and processed to be saved into the database. The page is refreshed and the selected text is permanently higlighted.</p... | php javascript jquery | [2, 3, 5] |
1,507,457 | 1,507,458 | strange behavior with javascript global variable and jQuery | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/5316697/jquery-return-data-after-ajax-call-success">jQuery: Return data after ajax call success</a> </p>
</blockquote>
<p>first of all I'm not very experienced with JS or jQuery, but as far as my programming ski... | javascript jquery | [3, 5] |
5,214,413 | 5,214,414 | Validate if website exists with AJAX | <p>I'm trying to check if a website exists with an ajax call, but I'm not sure I am getting it right. On my page I grab a URL on click</p>
<pre><code>$("#go").click(function() {
var url = $("#url").val();
$.ajax({
type: "POST",
url: "/ajax.php",
data: "url="+url,
success: functi... | php jquery | [2, 5] |
5,256,435 | 5,256,436 | Two Radio Buttons ASP.NET C# | <p>I have two radio buttons for metric and US measurements. I load the page so the metric radio button is clicked. How do I set the two buttons so when US is clicked metric unclicks and vise versa?</p>
| c# asp.net | [0, 9] |
3,308,944 | 3,308,945 | Get the complete month name in English | <p>I use DateTime.Now.ToString("MMMM") in order to get the current month's full name. It works well, but I get it in Hebrew. Is there an option to control the output language? I need it to be English</p>
| c# asp.net | [0, 9] |
1,367,251 | 1,367,252 | Call a javascript function with json_encode parameter | <p>I would like to call a function onclick, but with a json_encode parameter like this:</p>
<pre><code><a href="#" onclick="javascript:table1Modif(<?php echo substr(json_encode($res['base']),1,-1); ?>);return false;">
</code></pre>
<p>And the Jquery function just alert the parameter:</p>
<pre><code><s... | php javascript jquery | [2, 3, 5] |
4,486,144 | 4,486,145 | Identifying explicit intent purpose in Android, or building seperate activities? | <p>This may be in the RTFM category but I can’t seem to figure out the proper way to do this. One of my activities shows some random data from a database, it uses some user-defined search-criteria from a previous activity to filter out which data blocks to search from. But it’s main purpose is to display the data, and ... | java android | [1, 4] |
914,950 | 914,951 | does a jquery plugin exist that would show a div then hide it after a period of time | <p>I remember writing this code in the past, so I could do it again, but I'm hoping to find a plugin that would do the same thing. Basically I have a div for error messages. At the start it's hdiden. When there's an error message, I show it, then fade it out after 20 seconds. Does a plugin already exist that could take... | javascript jquery | [3, 5] |
4,946,298 | 4,946,299 | simple jquery fetch from mysql | <p>I am trying to use jQuery with MYSQL and I wrote something like this :</p>
<pre><code><html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script>
function example_ajax_request() {
$('#example-placeholder').htm... | php jquery | [2, 5] |
6,019,845 | 6,019,846 | Changing An iframe source from the listbox | <p>I want to change the source of the iframe from a listbox. And here is my code.</p>
<pre><code><iframe id="iframeID" frameborder="0" width="100%" height="300px"></iframe>
<asp:Button ID="btnView" runat="server" Text="Pop Up HTML Preview"
OnClientClick="ShowPopUp();" />
ShowPopU... | c# asp.net | [0, 9] |
4,383,513 | 4,383,514 | How to check the value given is a positive or negative integer? | <p>Lets say i have the value 10 assigned to a variable;</p>
<pre><code>var values = 10;
</code></pre>
<p>and i want to run a specific function if the value is a positive</p>
<pre><code>if(values = +integer){
//do something with positive
} else {
//do something with negative values
}
</code></pre>
<p>How... | javascript jquery | [3, 5] |
2,899,766 | 2,899,767 | javascript jquery .change function not executing | <p>hey guys im having a hard time trying to solve this problem </p>
<p>Categories is a select box and it's being populated by database .. what I'm trying to do is, that when I change the category then this function runs and via ajax populates the subcategory </p>
<pre><code>$("#categories").change(function(){
va... | javascript jquery | [3, 5] |
4,017,368 | 4,017,369 | How can I get the count of downloads in google play programatically | <p>I have uploaded my Android app in Google Play... The downloads whatever is displaying in Google Play of my app... I need that count in my website. So, please help me out with this.</p>
| java javascript android jquery | [1, 3, 4, 5] |
2,223,651 | 2,223,652 | Android- How to display an external video feed | <p>I have made a robot that is controlled with my Asus tablet (TF300T). I have written the control app using MIT app inventor which communicates over bluetooth. What id like to do is mount some kind of video camera (either a stock wireless web cam, or a specialist camera from somewhere like sparkfun) onto the robot and... | java android | [1, 4] |
4,550,907 | 4,550,908 | Check if there's images on a folder | <p>I'm using an slideshow and I would like check if there any image on a specific folder since I'll make it all dynamically.
I saw some questions here about this but can't get it work.</p>
<pre><code><div class="foo">
<img src="images/[dynamic_folder_name]/1.jpg" alt="" />
<img src="images/[dyna... | javascript jquery | [3, 5] |
80,372 | 80,373 | Getting a collection of input values | <p>I have a function that sets text input's to "" whenever they are clicked/focused on. It works fine when I hard code defaults values into an array, however I'd like to not do this and instead get a collection of the default values so I can use it across several pages without having to add values to manually add value... | javascript jquery | [3, 5] |
2,814,521 | 2,814,522 | Multiple parents with the same class with siblings with the same classes | <pre><code><div class="example">
<div class="test">Some text</div>
<div class="whatever"></div>
</div>
<div class="example">
<div class="test">Some more text</div>
<div class="whatever"></div>
</div>
</code></pre>
<p>How can I make each <... | javascript jquery | [3, 5] |
4,384,217 | 4,384,218 | How can I set the value inside a field to a table td with Jquery? | <p>I have few fields and I want the values inside those fields to get copied to <code>tbody td</code>.
I have made an jsfiddle could someone please take a look at it.</p>
<p><a href="http://jsfiddle.net/tsdUU/" rel="nofollow">http://jsfiddle.net/tsdUU/</a></p>
<p>I would like to have each tbody td looks like follow:... | javascript jquery | [3, 5] |
1,817,450 | 1,817,451 | Javascript script tags inside JQuery .html function | <p>Quick question is it possible to get javascript script tags inside JQuery .html function?</p>
<pre><code>function pleaseWork(){
$('#content').html('<h3 style="color:#335c91">This is the header</h3><div class="holder"><script type="text/javascript" src="javascriptFile.js"></script>&... | javascript jquery | [3, 5] |
5,463,148 | 5,463,149 | The right way to get http referrer from jquery | <p>Command $(document).referrer is the correct way to get referrer with Jquery?</p>
| javascript jquery | [3, 5] |
4,787,877 | 4,787,878 | Hide asp.net panel with validation using Javascript | <p>I need a way to hide/show an asp.net Panel with Validators inside using Javascript.</p>
<p>I have successfully hide a panel using this code below:</p>
<pre><code>function ShowHidePanel(panelId, isShown) {
var pnl = document.getElementById(panelId);
if (pnl != null) {
if (isShown) {
pnl... | c# javascript asp.net | [0, 3, 9] |
4,488,146 | 4,488,147 | The simplest solution to hide calendar on blur or click | <p><a href="http://jsfiddle.net/SXrAb/" rel="nofollow">http://jsfiddle.net/SXrAb/</a></p>
<p>Following the jsfiddle link there is a simplified sample of what I need. Currently it shows the calendar on button click, and hides it on input blur.</p>
<p>What I cannot implement additionally is hiding calendar on button cl... | javascript jquery | [3, 5] |
1,417,550 | 1,417,551 | Simple problem on my jQuery function | <p>Hi I am trying to show 1.php on div firstresult and 1b.php to div secondresult. My code is not correct though. I want one option value to trigger two div and two php files. like to get the val and display 1.php to first and 1b.php to the second.</p>
<pre><code><script language='JavaScript'>
$(document).ready(... | javascript jquery | [3, 5] |
3,661,836 | 3,661,837 | $.post, radio button value, jquery | <p>I have trouble to pass radio button value by using $.post
can anyone help me find out the problems? </p>
<p>i got Undefined index:gender</p>
<pre><code><?php
$gender = $_POST['gender'];
if (!$gender) {
echo $gender;
}
?>
<script type="text/javascript">
function get()... | php javascript jquery | [2, 3, 5] |
3,581,778 | 3,581,779 | Conflict between two versions with reading contacts in android | <p>I created an application that reads contacts from the phone and it works fine on platform version of 3.1 but it throws NullPointerException when i run it on 2.3.3 platform.Can anyone show me the reason for this error.</p>
<pre><code>ContentResolver cr = getContentResolver();
Cursor cur = cr.query(ContactsContra... | java android | [1, 4] |
1,093,466 | 1,093,467 | Using setTimeout() in jquery | <p>I'm not new to Javascript but then I realize I don't know how to use <a href="https://developer.mozilla.org/en/window.setTimeout" rel="nofollow">setTimeout()</a>.</p>
<p>I have tried this:</p>
<pre><code>$(document).ready(function(){
setTimeout('changeit()',1000); // I have also tried setTimeout('changeit',1000... | javascript jquery | [3, 5] |
5,252,574 | 5,252,575 | Listen for DOM appending | <p>How to listen for appending or prepending a child-node in a DOM element?</p>
<p>Since I'm using jQuery it would be much better if a solution with their methods is provided.</p>
<p>Is it possible to <code>.delegate()</code> such event?</p>
| javascript jquery | [3, 5] |
5,662,915 | 5,662,916 | How to skip a character from a string when delete key is pressed using jQuery | <p>Hi how to disable delete key press or backspace key press when deleting a particular character from a string using <strong>jQuery</strong>. For example, from string 1234-555 when the cursor is at hypen, if delete key is pressed it should not delete hypen. Instead of that cursor should stay in the same position. Basi... | javascript jquery | [3, 5] |
5,232,949 | 5,232,950 | JavaScript into Asp Page | <p>i am learning javascript client side scripting language and i am using js in ASP.. i dont know when i compile the code, it shows </p>
<blockquote>
<p>COMPILATION ERROR:Compiler Error
Message: CS1061: 'ASP.default_aspx'
does not contain a definition for
'popup' and no extension method
'popup' accepting a f... | javascript asp.net | [3, 9] |
3,120,381 | 3,120,382 | PHP or Python? | <p>How to go about to get started learning php. Which one is best to learn php programming or python. I just want to know which one of these is leading.</p>
| php python | [2, 7] |
1,228,774 | 1,228,775 | Assigning a variable via jQuery.fn.data() will keep a reference to the original tag value? | <p>Considering the following html:</p>
<pre><code><div id="test" data-test='["foo", "bar"]'></div>
</code></pre>
<p>and the following javascript:</p>
<pre><code>var dataValue = jQuery('#test').data('test');
dataValue.splice(0,1);
</code></pre>
<p>I will then have the following results:</p>
<pre><code>d... | javascript jquery | [3, 5] |
2,093,909 | 2,093,910 | Cloning and insert, inserting more times than expected | <p>I have a styled element with the class 'item' that is hidden. Initially the page will only have one element with this class. I am simply using this hidden element as a model, that I can grab with jquery and insert it into a list every time the 'add item' button is clicked, with the correct item name in the inner tex... | javascript jquery | [3, 5] |
498,324 | 498,325 | What does this Code do? | <p>i'm reading through <a href="http://docs.jquery.com/Plugins/Authoring" rel="nofollow">jQuery's "Plugins/Authoring"</a> though i already wrote a few jQuery-Plugins. Now I see that jQuery has a special way of scoping the methods and calling:</p>
<pre><code>(function( $ ){
var methods = {
init : function( optio... | javascript jquery | [3, 5] |
3,610,751 | 3,610,752 | parseInt and vars acting like strings | <p>So Im trying to learn javascript - still pretty basic.</p>
<p>Im doing something like this</p>
<pre><code>function add(amount) {
// number is 9
var number = parseInt($("#id").attr("number"));
number = number + amount;
}
</code></pre>
<p>this makes the number a string - is there any way I can 'def... | javascript jquery | [3, 5] |
4,432,667 | 4,432,668 | NameValueCollection returns Length Property instead of Name Value | <p>Could someone shed some light on this my NameValueCollection returns the Length property instead of Name and Value could some show me what im doing wrong here. I can't set the DataTextField or DataValueField for the dropdownlist it just gives me length.</p>
<pre><code> public NameValueCollection GetDisplayForumG... | c# asp.net | [0, 9] |
4,805,860 | 4,805,861 | jQuery Tag Editor | <p>Is there any open source tag editor for jQuery that works like the tag editor in stack overflow?</p>
| javascript jquery | [3, 5] |
394,443 | 394,444 | Is it possible to get the information dropped into a droppable div and storing it in a database | <p>I'm trying to drag and drop nametags see <a href="http://jsfiddle.net/Kxtvg/132/" rel="nofollow">HERE</a> and store the ones dragged into the droppable divs and later put them in my database. So I would basically want to check and see if there are values in the droppable box and have a submit button. And upon the su... | php javascript jquery | [2, 3, 5] |
606,452 | 606,453 | jquery and javascripts toghether | <p>I have this jquery..</p>
<pre><code><script type='text/javascript'>
$(document).ready(function() {
$('.colnews2').hide();
$("#colnews1 li").click(function() {
//alert($(this).attr("id"));
$('.colnews2').hide();
var value = $(this).attr("id");
var theDiv = $("#colnews2-" + value);
theDiv.s... | javascript jquery | [3, 5] |
4,647,204 | 4,647,205 | How to check is page is redirected from previous page or not in asp.net | <p>In Page 1 on button click I redirect the page to page 2 with msgid, and in page 2 in page load I check whether the previous page is valid. So i check <code>(this.Page.PreviousPage != null)</code> but this is always null and the page gets redirected to page 1. I am doing this so that no one can change the msgid in t... | c# asp.net | [0, 9] |
3,852,026 | 3,852,027 | how to view next element when check box is checked | <p>I have CheckBox and textbox I am trying to remove the CssClass hidden after user check the box I tried using next but it didn't work can someone help me </p>
<p>HTML </p>
<pre><code> <ul id="sortable">
<asp:Repeater runat="server" ID="rep_sortable">
<ItemTemplate>
<li class="ui-sta... | jquery asp.net | [5, 9] |
4,906,344 | 4,906,345 | How to use Jquery to get select option value and pass to PHP? | <p>I have two database tables, grouptypes and groups. A grouptype can have multiple groups, but a group only belongs to one grouptype. I have two select tags, one is grouptypes and another one is groups.</p>
<p>What I want to do is that whenever a user selects a grouptype in the grouptypes dropdown menu, it triggers... | php jquery | [2, 5] |
2,452,172 | 2,452,173 | android Class not found | <p>I am currently facing this issue in my application. please help me out.
activity is regiesterd in manifest file with preceding dot without full package. SetContentView is already set in my activity. any other suggestions ?</p>
| java android | [1, 4] |
4,854,129 | 4,854,130 | Are Dynamically Loaded Files Cached by the Browser? | <p>I have a question that is related to this answer, <a href="http://stackoverflow.com/questions/912711/jquery-to-load-javascript-file-dynamically/912713#912713">$.getScript(filename)</a></p>
<p>Are dynamically loaded files cached by the browser?</p>
<p>If not, how can I force them to be?</p>
| javascript jquery | [3, 5] |
125,658 | 125,659 | How to add a class onto the selected li element and make li full-sized-clickable | <p>I want to add a class to the selected 'li' and at the same time, remove the class:selected from previous selected li element.</p>
<p>I have worked on it hours and still haven't got any luck. I also checked others questions, but their solutions don't work for me.</p>
<p>Help please....</p>
<pre><code><ul id='ma... | javascript jquery | [3, 5] |
1,937,444 | 1,937,445 | How to name input fields dynamically? | <p>I have multiple of this div in my form generated dynamically by the user </p>
<pre><code><div class="property-container">
<input type="hidden" name="proposal[process][systems][1][id]">
<input type="hidden" name="proposal[process][systems][1][name]">
<input type="hidden" name="proposal[proces... | javascript jquery | [3, 5] |
68,964 | 68,965 | Generate page dynamically & insert body into another page - is this realistic? | <p>I have the requirement to create a page which contains a graph at the top, and for each item in the graph there's a fact sheet below. I already produce the fact sheets as stand-alone pages. Now, rather than recreating the fact sheet to include in the page I have to create, I'd like to use the work that already exist... | c# asp.net | [0, 9] |
4,136,997 | 4,136,998 | mediaplayer fadein | <p>In my app I've an instance of sound and I like add the fadein. I try with this code but audio is always to max volume.</p>
<pre><code>float volume = 1;
float speed = 0.05f;
}
public void FadeIn(float deltaTime)
{
MediaPlayer.setVolume(volume, volume);
volume += speed * deltaTime
}
</code></pre>
| java android | [1, 4] |
5,934,376 | 5,934,377 | Java book for experienced programmers (PHP) | <p>I searched on few questions earlier asked here but my context is not matching exactly to them.
I am working on LAMP from past few years. I recently learnt Java SL-314 Syllabus thinking my knowledge in PHP and other PLUS some knowledge in core Java from Oracle website can be helpful.
I saw Java document is very poor... | java php | [1, 2] |
3,844,420 | 3,844,421 | Replace class depending on event | <p>If have a set of collapsible elements, in which I need to replace classes <em>left</em> and <em>right</em> depending on event <em>isCollapse</em>:</p>
<pre><code><div class="collapsible-set">
<div class="collapsible">
<h3>
<a class="left">
<span class="left">... | javascript jquery | [3, 5] |
1,191,770 | 1,191,771 | remove intermediary object from map object | <p>I have a couple of these and think (know) that I'm doing something wrong (or could be simpler). </p>
<pre><code> html:
<div class='item-to-select' data-global-id='55'>some</div>
var l=$(this).map(function(){
t=new Object();
t.global_id=$(this).data('global-id');
return t;
}).get();
var list... | javascript jquery | [3, 5] |
1,750,879 | 1,750,880 | Learning C++ or Java for future lower level programming? | <p>I know Ruby and PHP and want to start learning a lower level programming.</p>
<p>I'm having a hard time choosing between C++ and Java, and coming from only dynamic languages I don't know exactly what I can do with C++ and not Java, and vice versa.</p>
<p>Could someone explain what the benefits (focused on features... | java c++ | [1, 6] |
3,745,617 | 3,745,618 | How to stop upload in background? | <p>When I click on a button how do I stop an upload because it is still uploading in the background?:</p>
<p>Below is code:</p>
<pre><code> $(".imageCancel").click(function() {
$(".upload_target").attr("src","#"); //iframe
}
</code></pre>
| javascript jquery | [3, 5] |
4,345,325 | 4,345,326 | How to implement this type of behaviour in jquery or javascript | <p><a href="http://kavisha-pinto.sulekha.com/blog/post/2008/06/arranged-marriage-humour-poetry.htm" rel="nofollow">http://kavisha-pinto.sulekha.com/blog/post/2008/06/arranged-marriage-humour-poetry.htm</a></p>
<p>if you all see this link. left hand side we wil have one slide bar which open and we have some tabs in tha... | javascript jquery | [3, 5] |
3,938,962 | 3,938,963 | Set the value to ID of the element on click event by jquery | <p>I want to set the menu to active when click on it. This is what I've tried : </p>
<pre><code><script language="javascript" type="text/javascript">
var select;
$(document).ready(function () {
$.getJSON(url, function (data) {
$.each(data, function (index, dataOption) {
var new_li = $("<li... | javascript jquery | [3, 5] |
5,818,389 | 5,818,390 | find and remove character within label text string with jquery | <p>I have this code</p>
<pre><code><div class="new">
<label> text text text (=price) </label>
</div>
</code></pre>
<p>I want to remove the "(=" and ")" around the price,</p>
<p>I've tried the following but to no avail:</p>
<pre><code> jQuery(document).ready(function() {
jQuery(".new lab... | javascript jquery | [3, 5] |
2,025,320 | 2,025,321 | How to check whether a function is already called in java? | <p>I have called a method twice in my Android Java project but i want to invoke it only once. When I am calling the method for a second time, I want to check whether the method has already been invoked or not. Code is something like this:</p>
<pre><code>class SomeClass {
//called with certain condition
private... | java android | [1, 4] |
4,650,276 | 4,650,277 | How to Remove a iframe by jQuery | <p>I create a <code>iframe</code> in a <code>div</code> by jQuery.Then I load another page(lets say page A.jsp) into that iframe. The page 'A.jsp' has some functionality and end of it, the parent iframe should be removed from the first page when a button in 'A.jsp' is pressed . Loading the page 'A.jsp' into the iframe... | javascript jquery | [3, 5] |
586,286 | 586,287 | Push to Webpage | <p>How does Facebook and other pages seem to automatically push to webpages? They arent continually refreshing.</p>
<p>I know it would be through javascript but am a bit unsure on the theory. Is there a javascript script that is continuelly checking back with the facebook server to see if any updates are created?</p>
... | c# javascript asp.net | [0, 3, 9] |
2,825,256 | 2,825,257 | jQuery switching text | <p>Actually i have:</p>
<pre><code>function switch()
{
if(document.getElementById('mydivid').innerHTML == "Show +")
document.getElementById('mydivid').innerHTML = "Show -";
else if(document.getElementById('mydivid').innerHTML == "Show -")
document.getElementById('mydivid').innerHTML = "Show +";
}
</code></pre>
<p... | javascript jquery | [3, 5] |
5,307,679 | 5,307,680 | How can I access my PHP variables when calling ajax in jQuery? | <p>I am attempting to create a simple comment reply to posts on a forum using the AJAX function in jQuery. The code is as follows:</p>
<pre><code>$.ajax({type:"POST", url:"./pages/submit.php", data:"comment="+ textarea +"& thread="+ currentId, cache:false, timeout:10000,
success: function(msg) {
... | php javascript jquery | [2, 3, 5] |
4,464,193 | 4,464,194 | Problem returning a value from clicked link | <p>I have a set links on a page like this</p>
<pre><code><a href='' class='contact' data-index='1'>One</a>
<a href='' class='contact' data-index='2'>One</a>
<a href='' class='contact' data-index='3'>One</a>
</code></pre>
<p>I am trying to return the value of the data-index of each ... | javascript jquery | [3, 5] |
1,055,502 | 1,055,503 | PHP's $_POST doesn't like how I post | <p>As everyone knows, PHP has a <code>$_POST</code> variable that stores data from POST requests.</p>
<p>I'm trying to use it with XHR..</p>
<pre><code>xhr.send('hey=hello&hi=there');
</code></pre>
<p>..but it doesn't work..</p>
<pre><code>echo $_POST['hey'] . ' ' . $_POST['hi']; # The page should say "hello t... | php javascript | [2, 3] |
788,388 | 788,389 | How to write a map into a parcel? | <p>In my android app I have an activity containing a Parcelable object (Implements Parcelable).</p>
<p>That object contains a map.</p>
<p>When I try to do the following in the "writeToParcel" class:</p>
<pre><code>parcel.writeMap(myMap);
</code></pre>
<p>I get the following comment from the API:</p>
<blockquote>
... | java android | [1, 4] |
3,341,787 | 3,341,788 | jquery not working in asp.net mvc after publishing to localhost | <p>I've built an mvc application which contains some jquery code. When I run the app from my ide, everything works perfectly. When I publish to the server and open the page, the jquery does not work. I get object expected errors.</p>
<p>i am not getting anything in the page,it shows error in loading dhtmlxsheduler.j... | c# javascript jquery | [0, 3, 5] |
1,577,659 | 1,577,660 | Set image of a button to apps icon | <p>I have a button in my app that launches another app (the user can choose which one with a longClick like this)</p>
<pre><code>btnNavigation.setOnLongClickListener(new View.OnLongClickListener() {
@Override
public boolean onLongClick(View v) {
// Pick an application
Intent mainI... | java android | [1, 4] |
6,005,162 | 6,005,163 | update the textview when user slides right or left | <p>I have a textview which changes the text on click. I would like to add a feature when it changes when user slides right or left. Can anyone please let me know how?</p>
| java android | [1, 4] |
2,421,711 | 2,421,712 | What is the recommended way of showcasing user public profiles in other websites? | <p>I have user public profile as a functionality. I need to provide the users with some code that he can integrate in other websites and showcase his profile to public. Basically my idea is to have a script that embeds a clickable image on other websites and if anybody clicks on it he is taken to the users profile in a... | javascript jquery | [3, 5] |
3,518,111 | 3,518,112 | Event not getting fired | <p>I have a form in which i have a text box for email and many other textboxes.
The email has a functionality that it should not match with previously entered email but it can be blank.</p>
<p>I fired my code at the text change event of the textbox and it is working fine.
But when i click on the update button without ... | c# asp.net | [0, 9] |
3,441,088 | 3,441,089 | how to assign an value from javascript variable to hidden field | <pre><code> <script type="text/javascript" language="javascript">
function(sender, e)
{ var **Sessioninfo**= $get('<%= ((Hiddenfield)this.Master.FindControl("ct100_hfSession")).ClientID %>');
}
</script>
</code></pre>
<p>here from my master page hiiden field i am getting t... | asp.net javascript | [9, 3] |
3,117,592 | 3,117,593 | Valid data in a text box | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/5692232/jquery-validate-phone-number-with-with-regex">jQuery validate phone number with with RegEx</a> </p>
</blockquote>
<p>we have to allow only 10 digits in a text field along with , . ( ) - also.
(US phone n... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.