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 |
|---|---|---|---|---|---|
652,152 | 652,153 | Jquery to drag items to table cells in google calendar like fashion | <p>In an attempt to create a calendarlike application sort of like this <a href="http://arshaw.com/fullcalendar/" rel="nofollow">http://arshaw.com/fullcalendar/</a> or maybe this <a href="http://thechriswalker.net/select-drag/" rel="nofollow">http://thechriswalker.net/select-drag/</a> and <a href="http://neb.net/playgr... | javascript jquery | [3, 5] |
3,515,620 | 3,515,621 | jquery: event for simulating live typing | <p><strong>Part 1:</strong><br>
Is there any event I can use to get a callback when the user 'change' the input field. My definition of change is to simulate the following effect. say, I want to update a label while the user typing in the input box. I tried jquery "change" event. It works, but doesn't have the live e... | javascript jquery | [3, 5] |
4,722,592 | 4,722,593 | Show/hide div based on checkbox value | <p>When the user checks 'student'(check-1). The 2 checkbox values are supposed to disappear and reveal a text input div. As of right now I've got the input-reveal down. But I can't seem to get the checkboxes to disappear. </p>
<p>I've tried: </p>
<pre><code>$(function () {
$('#check-1').change(function () { ... | javascript jquery | [3, 5] |
5,800,716 | 5,800,717 | 2 step problem: Share info between 2 user controls on a page, Display info in a scrolling list or gridview? | <p>I have a page with multiple user controls on it. In one user control, I have a set of checkboxes that set filters on what to display in a tree view, also in the same user control. In another user control, I have a list view (or gridview, haven't decided yet) That needs to display some information based on the filter... | c# asp.net | [0, 9] |
4,626,483 | 4,626,484 | summary of the gridview | <p>I need gridview summary on footer...</p>
<pre><code> protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
decimal totalPrice = 0M;
int totalItems = 0;
if (e.Row.RowType == DataControlRowType.DataRow)
{
Label lblPrice = (Label)e.Row.FindControl("... | c# asp.net | [0, 9] |
3,348,628 | 3,348,629 | what does this code snippet mean | <p>code snippet:</p>
<pre><code> for( String token : tokens )
{
try
{
Url url = as("mycompany", "someapikey").call(shorten(token));
}
}
</code></pre>
<p>what do the 'as' and the 'call' mean. Are they keywords in java?</p>
<p>i was browsing and ... | java android | [1, 4] |
4,299,776 | 4,299,777 | 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] |
4,388,524 | 4,388,525 | Can I return an array of different objects from a method in C# | <p>Im creating my own "CMS" in asp.net, I get the page content from the database and then create custom image objects and html content.
For example, I have one method called GetPageInformation(string pageName) and it returns a Dictionary of name value pairs, but I want it to return 3 image objects, and 1 string text (... | c# asp.net | [0, 9] |
5,607,936 | 5,607,937 | Hyperlink control not showing within ContentTemplate in ASP.NET | <pre><code><ContentTemplate>
<div class="detail_purchase_button">
<a class="commandbutton" href='/Courses?RestoreFilters=1'>Return to Catalog</a>
&nbsp;&nbsp;
<%# linkAddToCart %>
</div>
</ContentTemplate>
strin... | c# asp.net | [0, 9] |
2,011,229 | 2,011,230 | Execute a function at the end of the last effect of a Jquery.queue | <p> I would like to use fx and functions
I have a animation, and i would like to, at the end of the queue, do an ajax call. <br/>
I can't seem to make it work... <br/>
I have absolutely no idea how to procede... </p>
<p>that would a very very rough example, but</p>
<pre><code>$('... | javascript jquery | [3, 5] |
3,866,506 | 3,866,507 | How to disable back,forward and Refresh functionality in browser? | <p>Hi Can any one help to disable browser back,forward and back button and right Click Menu functionality using javascript or Jquery?I have tried disabling the back button like this</p>
function disableBackButton() {
window.history.forward();
}
setTimeout("disableBackButton()", 0);
<p>I have... | javascript jquery asp.net | [3, 5, 9] |
2,822,167 | 2,822,168 | jQuery grid for asp.net with dynamic columns | <p>There are lots of different jquery grid plugins available but I either can't seem to find or can't work out how to fill one dynamically. By this I mean to one grid I could be returning a dataset/json etc with 5 columns or one with just 2 and I want it to adjust accordingly. All the ones I find require you to speci... | jquery asp.net | [5, 9] |
3,014,355 | 3,014,356 | how do i retrieve the incoming phone call's number while ringing and store it in a variable in android? | <p>I am fairly new to and i would like my app to be able to retrieve the phone number of caller while ringing and store it how would i do this? </p>
| java android | [1, 4] |
526,257 | 526,258 | Converting to Datetime issue | <p>I am trying to convert this content into DateTime.</p>
<pre><code> DateTime dtmNextPayment = Convert.ToDateTime(DateTime.Now.AddMonths(1).Month.ToString() + "/" + DateTime.Now.Day.ToString() + "/" + DateTime.Now.AddYears(1).Year.ToString());
</code></pre>
<p>Here, i get an exception "String was not recognized as a... | c# asp.net | [0, 9] |
2,511,268 | 2,511,269 | finding if the selected item is in a set | <p>I am using a bit of jquery and javascript mashed up in this weird hodgepodge of code.</p>
<pre><code>var SELECTED_ELEMENT; //this ends up being a JS array of ELEMENTS like the following line.
SELECTED_ELEMENT.push($(this).closest(".draggable"));
//Now i wanted to select stuff
$(".draggable").click(function(){
v... | javascript jquery | [3, 5] |
2,820,292 | 2,820,293 | problem in if & else? | <p>why don't work <code>if(length_pa >= 16){ ...</code> after select value "2" in select box and don't work <code>if(length_pa == 0){...</code> after select value "all" in select box???<br>
[with change length(number) in <code>"var length_pa" $('#pagination a')</code> don't work "show" and "hide" for <code>#prev_pag... | javascript jquery | [3, 5] |
1,570,025 | 1,570,026 | Using global resource in JavaScript | <p>I want to use global resource in my javascript code. Normally, when the code is inside the ASP code, I use
<code><%=GetGlobalResourceObject("Resource", "MONTHS_SHORT1") %></code>
and it works. But, when the javascript code is not inside the ASP code, for example in a folder as calendar.js, it does not work. ... | javascript asp.net | [3, 9] |
3,038,115 | 3,038,116 | I am trying to implement a max count function within my 'click counter' android app | <p>So far I have the below java code. I am new to java. I would like to be able to have a max count of 500 after which the count returns to '0' and you can start counting again.</p>
<pre><code>import android.app.Activity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
impo... | java android | [1, 4] |
4,343,618 | 4,343,619 | selecting multiple days (10 days) in a calendar control in ASP.NET | <p>There is a calendar control in asp.net</p>
<p>For selection mode, there is day, dayweek and dayweekmonth.</p>
<p>But I wanna select randomly like every monday for the selected month.. something like that.</p>
<p>For that, I need to do the custom method.</p>
<p>Any idea?</p>
| c# asp.net | [0, 9] |
46,247 | 46,248 | case/switch statement | <p>i need some help with switch/case statement syntax
im trying to use onClick to have different buttons do different things
i have the first one working
it just uses an intent to start a new activity.
for the next button, i want it to open a specific url
looks like this so far</p>
<pre><code>public void onClick(View ... | java android | [1, 4] |
5,126,678 | 5,126,679 | javascript doesn't correctly return from the loop | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1900172/jquery-each-method-does-not-return-value">jQuery each method does not return value</a> </p>
</blockquote>
<p>It seems the return statement does not break the loop and return the function. The following c... | javascript jquery | [3, 5] |
4,259,621 | 4,259,622 | JQXdropdown issue in php | <p>I am using jqxdropdownlist.js for dropdown in PHP. While onchanging I need to redirect respective pages. </p>
<p>The probem is for example in my dropdown i have the following values.</p>
<pre><code>$(document).ready(function () {
var source = [
"Affogato",
"A... | php jquery | [2, 5] |
5,386,924 | 5,386,925 | Padding on Shape in Progressbar | <p>I'm using xml file to define progress bar.
I defined padding on background shape. But this setting will be sometimes displayed correctly, sometimes not.
So If I start my application or Activity with progressbar inside, there will be correctly displayed progressbar with background and 'padded' progress. Then I close ... | java android | [1, 4] |
3,535,596 | 3,535,597 | add dynamically tab panel and add the image button or button on the dynamically added tab and show like the internet explore tab | <p>I want to add a tab dynamically and also add a button or image button in the added tab. But when i add a but on the added tab the button show below the tab header text. I want that The header text of dynamic added tab and button show in single line i.e align horizontal. The code is given below.
Please suggest me.</p... | c# asp.net | [0, 9] |
4,992,638 | 4,992,639 | How can I tell if a checkbox was actually clicked? | <p>I've got a binding for multiple inputs.</p>
<pre><code>$("#foo", "#bar", "#fooCheckbox", "#barCheckBox").bind("change", function() {
// do something here
// do something extra here if $(this) was actually clicked
});
</code></pre>
<p>Since there are other ways of initiating a change of an input, (jquery's .c... | javascript jquery | [3, 5] |
2,270,047 | 2,270,048 | javascript for loop with decimals | <p>I'm trying to use this <code>for</code> loop in order to show divs. But I get a strange error from the jQuery lib.</p>
<p>Error: Syntax error, unrecognized expression: =10]</p>
<p>I have read about the problems with javascript decimals, but I still can't understand why this won't work:</p>
<pre><code>for (var i =... | javascript jquery | [3, 5] |
3,910,761 | 3,910,762 | How to cancel execution of all logic when user leaves a page? | <p>Not sure if this is possible, but when a user leaves a page to go to another page I want all server logic on the current page to end execution. I don't want a user to see an error that came from a page they were previously on (e.g. long running SQL query that times out). How would I do this?</p>
| c# asp.net | [0, 9] |
1,917,750 | 1,917,751 | DatePicker Javascript | <p>I am in need of date picker javascript which allows date in mm/dd/yy format.</p>
<p>And also it should have good resolution and should be non-popup based.</p>
<p>I searched in google but not getting my exact requirements.</p>
<p>Plz suggest me the proper source.</p>
<p>Thank You.</p>
| asp.net javascript | [9, 3] |
4,769,578 | 4,769,579 | JQuery Problem: $ not defined (I am trying to implement equal div heights script) | <p>I need a solution that will set the heights of two divs whose class = col to the height of the tallest one.</p>
<p>I found a solution here that I have used to implement this: <a href="http://www.cssnewbie.com/example/equal-heights/" rel="nofollow">http://www.cssnewbie.com/example/equal-heights/</a></p>
<p>This is ... | javascript jquery | [3, 5] |
531,633 | 531,634 | Drafts Feature Like Stackoverflow | <p>How to create a drafts like feature, which is simple and easy to use.
For example when we ask questions in <code>stackoverflow</code> it saves the question and when we open the page again it show the same content even after a system restart.</p>
<p>I have to options like to save data in cookies or in database. Whic... | php jquery | [2, 5] |
4,157,854 | 4,157,855 | move to given div using jquery | <p>In my html i have got div with given class.</p>
<p>After clicking a button I would like to set the position to the top of that div. it may go the in smooth way .
How can I do that ?</p>
<p>thanks for help</p>
| jquery asp.net | [5, 9] |
48,579 | 48,580 | jQuery update HTML on the fly | <p>I have a slideshow that has 5 slides (each has an individual id) and a previous and next button. When hovering the previous or next button you get a tooltip, the tooltip uses jQuery to get the ID attribute from the previous and next div and show this. </p>
<p>Ive gotten it working fine on mouseenter only if you don... | javascript jquery | [3, 5] |
5,055,533 | 5,055,534 | Jquery change onclick function name | <p>My question is! I am copying content from one table to another table and when I am doing this I need the function name to change to talentselect instead of driverselect which is attached to each table row. I still need to keep the variable values to parse. Just wondering if anyone can help me with this. I know that ... | javascript jquery | [3, 5] |
3,213,318 | 3,213,319 | Global object of android app | <p>i am developing an android app.
I have some activities in it. And i must have an object which can be available from all activities.
Any ideas how to organize it?</p>
| java android | [1, 4] |
4,781,500 | 4,781,501 | How to change jQuery default context? | <p>I loaded jQuery on a Firefox addon, which causes it to load using XUL's <code>window</code>.</p>
<p>I want to change the default context so it will use the correct <code>window</code> object.</p>
<p>The classic example I always see is:</p>
<pre><code>var $ = function(selector,context){
return new jQuery.fn.in... | javascript jquery | [3, 5] |
3,040,320 | 3,040,321 | How to avoid Logged User change after refreshing page? | <p>I am using FormsAuthentication.SetAuthCookie Method in my application.after Client login i am setting <strong>FormsAuthentication.SetAuthCookie(txtUserNo.Text.Trim(), false);</strong></p>
<p>and in web.config file i set </p>
<pre><code> <authentication mode="Forms">
<forms loginUrl="PasswordEn... | c# asp.net | [0, 9] |
5,064,414 | 5,064,415 | how to use backbase in java application | <p>I am very very new to Backbase framework. I am planning to do POC for my new web application.
i am unable to get proper information. Please help me about backbase application.
and i need to how to declare events in back base.</p>
| java javascript | [1, 3] |
3,656,909 | 3,656,910 | Display one list element at a time using jQuery; "Previous" link broken | <p>I am wanting to display one list element at a time. Ideally, the first list element would be showing when the user opens the page. When the user clicks the "next" button the first list element will disappear and the second one will appear. When the user clicks the "previous" button the previous element will be shown... | javascript jquery | [3, 5] |
619,589 | 619,590 | Is there a way to make classes as stack variables in Java, or am I too much in the C++ mindset? | <p>I am somewhat familiar to Java, but am using it more now for Android.</p>
<p>Anyway, I'm kind of wondering if the only way to instantiate a class variable in Java is to allocate it onto the heap.</p>
<p>For instance: </p>
<pre><code>[C++ Land]
Foo foo;
foo.doSomeAwesomeStuff(9001);
[Java Land]
Foo foo = new Foo(... | java android c++ | [1, 4, 6] |
1,375,131 | 1,375,132 | How to use different pages for form input and results using AJAX | <p>So, I have a search form in a php page (top.php) which is an include for the site I'm working on, one php page where all the mySQL stuff happens and the results are stored in a variable and echoed (dosearch.php) and lastly a php page where the results are displayed in a div through jQuery (search.php). This is the j... | php javascript jquery | [2, 3, 5] |
5,186,493 | 5,186,494 | Converting CharSequence[] and CharSequence[] | <p>I always thought CharSequence[] and String[] were essential the same, however :</p>
<p>I have some code that has the following :</p>
<pre><code>CharSequence[] mEntries;
...
String[] mEntriesString = (String[]) mEntries;
ListAdapter adapter = new ArrayAdapter<String>(getContext(), R.layout.two_lines_list_pref... | java android | [1, 4] |
3,371,369 | 3,371,370 | How can jQuery seemingly be both an object and a method invoked by an object? | <p>There's a workaround function for an API object called <a href="http://wiki.greasespot.net/UnsafeWindow" rel="nofollow"><code>unsafeWindow</code></a> for browsers that don't support it (<a href="http://mths.be/unsafewindow" rel="nofollow">via this person's github</a>) </p>
<pre><code>var unsafeWindow = (function() ... | javascript jquery | [3, 5] |
3,419,834 | 3,419,835 | android: draw continuous string on multiple textview | <p>I need to create a multiple textview that holds a continuous string(like columns in newspaper and magazine)</p>
<p>is there anyway to make this possible?
any answers will be very helpful</p>
<p>thank you very much</p>
| java android | [1, 4] |
3,802,130 | 3,802,131 | Jquery email validation | <p>After getting help from @juhana (thank you again) I ended up with theese codes to validate email input:</p>
<p>validate email:</p>
<pre><code>function validateEmail(){
var a = $("#email").val();
$.ajax({
type: "POST",
url: "check_email.php",
data: "email="+a,
success: function(rsp){
//if it's valid em... | php jquery | [2, 5] |
3,112,703 | 3,112,704 | Find in URL string from Array of values? | <p>I am trying to find array values in URL string? check the condition If requested URL contains array values then pass condition otherwise redirect to google.com </p>
<p>example</p>
<pre><code> $(document).ready(function () {
var urls = ["/dept/ce/",
"/dept/cs",
... | javascript jquery | [3, 5] |
4,915,016 | 4,915,017 | jQuery - "$ symbol is undefined" | <p>I was successfully using some plugin for about 6 months on my website and all of a sudden I started getting this message for one of my scripts: "$ is undefined".</p>
<p>This is the problematic line of code: <code>$.widget("ui.ImageColorPicker", uiImageColorPicker);</code></p>
<p>I'm using this plugin and almost th... | javascript jquery | [3, 5] |
1,970,609 | 1,970,610 | If element contains certain text | <pre><code>$('.test').css('background','red');
<div id="example">Some text</div>
</code></pre>
<p>How can I <code>.addClass('test')</code> if <code>#example</code> contains the word "text"?</p>
| javascript jquery | [3, 5] |
3,951,378 | 3,951,379 | How do I insert text into a textbox after popping up another window to request information? | <p>I have an asp.net web page written in C#. Using some javascript I popup another .aspx page which has a few controls that are filled in and from which I create a small snippet of text. When the user clicks OK on that dialog box I want to insert that piece of text into a textbox on the page that initial "popped up" th... | c# asp.net javascript | [0, 9, 3] |
291,837 | 291,838 | How detect any of all events using jquery? | <p>I have function to detect idle state of user. I want to update database if any of the event occurs.Now i have script like this</p>
<pre><code>$("body").mousemove(function(event) {
myfuction();
});
</code></pre>
<p>I want to convert above script like this</p>
<pre><code>$("body").anyOfTheEvent(function(event) {
my... | javascript jquery | [3, 5] |
4,625,736 | 4,625,737 | Open main-activity one time | <p>For my news-reader app, I made a widget. Using the widget it is possible to start the news-app. But if the user goes back to the home screen, with the back button, there still is an instance of the application. So if the user goes the applications-list (all the app's) and start the news-app again. There are 2 instan... | java android | [1, 4] |
2,971,830 | 2,971,831 | Using javascript history.back() fails in Safari .. how do I make it cross-browser? | <p>I am using </p>
<pre><code><a href="index.php" onclick="history.back();return false;">Back</a>
</code></pre>
<p>to provide a back to previous page link. It works fine on Windows (IE/Mozilla) but fails in Safari on both Windows/Mac.</p>
<p>Is there a way to make it work on all of the systems/browsers (... | php javascript | [2, 3] |
4,856,636 | 4,856,637 | Using jquery and javascript in Wordpress | <p>After trying for many many days without any improvement, I think I have no other choice but to ask for your help.
I have to admit that I don't know much about coding, but I've tried various tutorials, but just can't get to work what I want.</p>
<p>The problem is that I want sidebar tabs using jquery tools as well a... | jquery javascript | [5, 3] |
4,161,808 | 4,161,809 | Find hyperlinked text and URL | <p>I have a large text in that some word is hyperlinked, I want to know all that text and it's hyperlink url suppose my text is as per below:</p>
<p><em><a href="http://test.com" rel="nofollow">LoremIpsum.Net</a> is a small and simple static site that provides you with a decent sized passage without having to use a <... | c# asp.net | [0, 9] |
2,372,805 | 2,372,806 | how to use WinJS.Navigation.navigate | <p>I'm sorry if my question may appear stupid, but I want to ask if someone know how to use WinJS.Navigation.navigate() option.</p>
<p>I'm trying to utilize it in my code but the page is not being redirected. I can't understand what is the matter.</p>
<pre><code>WL.Event.subscribe("auth.sessionChange",
function (... | javascript asp.net | [3, 9] |
3,313,969 | 3,313,970 | Why is the jQuery.attr() method not working inside my 'click' event? | <p>I have the following prototype code to trigger a process when a button is clicked:</p>
<pre><code>jQuery("#queue-process").click(function() {
jQuery("#queue-process").attr("disabled", "disabled");
try {
processQueue();
} catch (e) {
console.log(e.message);
} finally {
jQuery(... | javascript jquery | [3, 5] |
1,315,021 | 1,315,022 | Cannot Parse Variables from RowEditing to RowUpdating | <p>I am having trouble getting the values of public variables <strong>file</strong> and <strong>desc</strong> set on the <strong>RowEditing</strong> method.</p>
<p>I have put a break-point at the end of the <strong>RowEditing</strong> and i can see that the <strong>file</strong> and <strong>desc</strong> values are be... | c# asp.net | [0, 9] |
1,526,737 | 1,526,738 | How to get the number of lines in a textarea? | <p>What I would like is to count the number of lines in a textarea, e.g:</p>
<pre><code>line 1
line 2
line 3
line 4
</code></pre>
<p>should count up to 4 lines. Basically pressing enter once would transfer you to the next line</p>
<p>The following code isn't working:</p>
<pre><code>var text = $("#myTextArea").val()... | javascript jquery | [3, 5] |
1,427,363 | 1,427,364 | Proper way to get a Recurring Callback on the UI thread | <p>I would like to get a recurring call back to invalidate a view. I am sure there is a neat way to do this. I am currently doing this and would like a neater / better solution if possible?</p>
<pre><code>new Thread()
{
@Override
public void run()
{
while (!Thread.currentThrea... | java android | [1, 4] |
5,113,209 | 5,113,210 | why "setContentView" can't work in " if " ??? thx | <p>when I was first start this app! I need a first screen in first time</p>
<pre><code> final String PREFS_NAME = "MyPrefsFile";//
SharedPreferences settings = getSharedPreferences(PREFS_NAME, 0);//
if (settings.getBoolean("my_first_time", true)) {//
//the app is being launched for first time, do s... | java android | [1, 4] |
2,742,029 | 2,742,030 | Passing variables to a PHP file through jQuery | <p>Really not familiar with jQuery. Is there anyway I can pass form data to a PHP file using jQuery?</p>
<p>FORM:</p>
<pre><code><div id="dialog-form" title="Fill in your details!">
<form>
<fieldset>
<label for="name">Name</label>
<input type="text" name="name" id="name"/>
... | php jquery | [2, 5] |
5,686,573 | 5,686,574 | Why is Javascript used in MongoDB and CouchDB instead of other languages such as Java, C++? | <p>I asked this question on SO but was suggested to try here. So here it goes:</p>
<p>My understanding of Javascript so far has been that it is a client-side language that capture events and makes a web-page dynamic.</p>
<p>But on reading the <a href="http://www.mongodb.org/display/DOCS/Comparing+Mongo+DB+and+Couch+D... | java javascript | [1, 3] |
1,875,929 | 1,875,930 | capturing f5 keypress event in javascript using window.event.keyCode in window.onbeforeunload event is always 0 and not 116 | <p>i am creating an MVC application.There was a neccessitity to make a variable in a session to null upon closing of the application (i.e. window/tab) but not upon refreshing the application.
I tried it through the following code.</p>
<pre><code><script type="text/javascript">
window.onbeforeunload =... | javascript jquery | [3, 5] |
4,059,957 | 4,059,958 | Image Map with Icons Placed in Hotspots | <p>So, my project, in a nutshell, allows users to view an ImageMap with predefined hotspots that represent the locations of printers around the office. When they hover over these hotspots, I will add a tooltip telling them the name of the printer and give them the ability to install the printer drivers remotely. </p>
... | c# javascript jquery asp.net | [0, 3, 5, 9] |
3,869,024 | 3,869,025 | jQuery - programming style - many bindings vs. conditional single one | <p>I frequently see code like that:</p>
<pre><code>$("#foo").live("mouseover mouseout", function(e) {
if (e.type == "mouseover") {
$("#foo").append("<div id='bar'>");
} else {
$("#bar").remove();
}
});
</code></pre>
<p>instead of more self-explanatory in my opinion:</p>
<pre><code>$... | javascript jquery | [3, 5] |
800,868 | 800,869 | How to get the network uri of a file being downloaded from the Download Manager in Android | <p>I am writing an application wherein I want to detect if a download has started and retrieve the URI of the file being downloaded and then cancel the download from the Download Manager. I am doing this so that I can send this URI somewhere else.</p>
<p>The trouble is that I can detect when a download begins by query... | java android | [1, 4] |
4,019,045 | 4,019,046 | Pass a query in URL using jquery | <p>I want to pass a $_GET[''] to a php file, when a word is clicked in a div,it must display data from the db.</p>
<p> It displays the data without the query.</p>
<p>The process.php contains SQL statement to query the db and display values.</p>
<p>Thanks
Jean</p>
| php jquery | [2, 5] |
5,447,030 | 5,447,031 | How work the jquery oriented object? | <p>I don't understand how work an object with Jquery/javascript.</p>
<p>And how create a private method/variable with? i see on the forum a closure but i have try and not work. And how see if the method/variable is private? because when I run the website, I see always the function and variable with the own value into ... | javascript jquery | [3, 5] |
3,359,045 | 3,359,046 | How to return multiple values from java method to java script? | <p>I want to return two values from java method to java script..can you help me.??
would be grateful for help..</p>
| java javascript | [1, 3] |
3,482,304 | 3,482,305 | Python Script Failing to Execute from PHP exec() | <p>I have a simple PHP function that is supposed to execute a Pyton script when its called. I have tried this sort of function multiple times in my php programs, but somehow this time this function is not executing the python script at all. When I access the script from the command prompt and run <code>python testing.p... | php python | [2, 7] |
3,251,211 | 3,251,212 | jQuery Galleria plug-in: Make auto-play? | <p>I am using this <a href="http://kranichs.com/johncarder/gallery2" rel="nofollow">jQuery plugin</a></p>
<p>It is very nice, but I can't seem to figure out how to get it to auto-play. (automatically transition to the next image at an interval)</p>
<p>Has anyone else gotten this to do that?</p>
| javascript jquery | [3, 5] |
2,272,802 | 2,272,803 | Equivalent of set= and getActionCommand in Android Java? | <p>I've just started learning Android development and as a little project, I'm building a calculator. The way it works is that when a number button is pressed, the number is appended to the EditText. I don't want to write this code for each of the buttons, because it's tedious and blatantly inefficient but i'm not sure... | java android | [1, 4] |
6,031,205 | 6,031,206 | JQuery table w/ sorting | <p>There are all kinds of JQuery widgets that offer some nice features like sorting by a columns (like <a href="http://tablesorter.com/docs/" rel="nofollow">http://tablesorter.com/docs/</a> or <a href="http://www.datatables.net/" rel="nofollow">http://www.datatables.net/</a>)</p>
<p>I haven't found one that integrates... | javascript jquery | [3, 5] |
394,579 | 394,580 | how to access javascript variable with php code | <pre><code> function al(){
var selr = jQuery('#grid').jqGrid('getGridParam','selrow');
if(selr){
<?
include_once("../../DB/singleton.php");
$pDatabase = Database::getInstance();
$c = $pDatabase->query("select c.city_title as 'City'... | php javascript | [2, 3] |
5,076,897 | 5,076,898 | Store additional info with button | <p>How can I attach additional information to a button programmatically? I can mButton.setText("new text") to change the text but I want to be able to add a few more fields so that when you click the button you can grab those extra fields and use the data. How might I do that?</p>
| java android | [1, 4] |
3,951,310 | 3,951,311 | How to track down a page reload in javascript | <p>I am debugging a page that has a jquery dialog that contains a textbox and an ok button.</p>
<p>When a user hits enter, the page is reloading and the textbox ID & value are being passed to the page reload as get parameters. e.g. </p>
<pre><code>http://example.com?tex_box_id=text_entered_in_text_box
</code></p... | javascript jquery | [3, 5] |
5,277,510 | 5,277,511 | jquery this versus $(this) and maybe even $this | <p>I often see examples of using the keyword <code>this</code> in jquery. Sometimes I see it used with the $ and parenthesis, other times without. And I thought I saw it used with a little of each.</p>
<p>So,</p>
<pre><code> var id = this.attr('id');
var id = $(this).attr('id');
var id = $this.attr('id');
</code... | javascript jquery | [3, 5] |
5,009,093 | 5,009,094 | How show the content of a div after the CSS inside is ready | <p>I have this Code:</p>
<pre><code>$.ajax({
type: 'GET',
url: 'url.php',
success: function(data){
$("div#mainclass").hide().html(data).fadeIn(100);
}
});
</code></pre>
<p>When the fadeIn triggers, I see for a very short time, the html flashing with no CSS-Style applied, before the CSS applies... | javascript jquery | [3, 5] |
1,064,649 | 1,064,650 | Detect HTML in ASP.NET | <p>(clarification: this is an old question that has been tweaked for admin purposes)</p>
<p>There have been a fair amount of questions on this site about parsing HTML from textareas and whatnot, or not allowing HTML in Textboxes. My question is similar: How would I detect if HTML is present in the textbox? Would I n... | c# javascript asp.net | [0, 3, 9] |
3,621,356 | 3,621,357 | Creating an object array in jQuery | <p>I want to store an array of latitudes/longitudes. I have these inputs on my page:</p>
<pre><code><input type="hidden" class="latitude" value="-12.3456" />
<input type="hidden" class="longitude" value="12.3456" />
<input type="hidden" class="latitude" value="98.7654" />
<input type="hidden" clas... | javascript jquery | [3, 5] |
3,369,329 | 3,369,330 | need help getting contents from an EditText and placing it in my url | <p>I am working on an app where the user enters a url into the edit text field and my app takes him/her to that particular web page . </p>
<p>URL url = new URL("url_text.toString()");</p>
<p>i get an error as its not able to process the url .
what is the problem ?</p>
| java android | [1, 4] |
2,409,083 | 2,409,084 | Default timezone for DateTime in asp.Net | <p>What determines the default timezone for a DateTime instance if no timezone is specified.
Example:
A user living in timezone A visits a webpage hosted on a server in timezone B:
If the website code calls ToUniversalTime() on a dateTime instance, will timezone A or timezone B be used as the bases for the calculation?... | c# asp.net | [0, 9] |
3,083,628 | 3,083,629 | Make div appear on dynamic option select | <p>I have a SELECT input that gets all of its options via the database. Below the select input, there are divs created for each option in the select. I want the user to select an option from the drop down and make the div below display. So basically the drop down are sports, and if they make a selection the sport div h... | php javascript jquery | [2, 3, 5] |
190,525 | 190,526 | Role based security with asp.net | <p>How to implement role based security in each page.</p>
| c# asp.net | [0, 9] |
3,869,083 | 3,869,084 | How to send two inputs with jQuery | <p>ok, i have these two input fields where a user puts in two twitter names. When the submit button is pressed, both names should be send to a .php file with the POST method that checks if both usernames exsist on twitter.</p>
<p>Sending and receiving the answer for one value already works, but how can i also add the ... | php javascript jquery | [2, 3, 5] |
6,028,703 | 6,028,704 | Optimisation for reading contacts in listView? | <p>I have code to read contacts, get name and number and put them in listView. Everything works but application read all contacts in the same moment. I guess that I have to read them on scroll move, but I don't now how, please help?
Thank you in advance, Wolf.</p>
<p>Here is my code:</p>
<p>ArrayList> mapa = new Arra... | java android | [1, 4] |
5,815,755 | 5,815,756 | Javascript - get text between <li> by ID | <p>I'm trying to write some javascript that will grab the inner text of li elements (1-16) and put them into hidden fields. </p>
<pre><code> var myValue9 = document.getElementById("fileName9").value;
oForm.elements["fileName9"].value = myValue9;
<input name="fileName9" type="hidden" id="fileName9" />
&... | javascript jquery | [3, 5] |
4,387,214 | 4,387,215 | How do I get some JavaScript/jQuery to run in sequence | <p>I have an HTML file which contains two divisions. One has id 'welcome' and the other is named 'welcome_distort'.</p>
<p>With jQuery imported, I have a seperate js file which contains some code that operates on these divs.</p>
<pre><code>$("#welcome").fadeTo(50,0.1);
$("#welcome").fadeTo(10,1.0);
$("#welcome").fade... | javascript jquery | [3, 5] |
3,109,197 | 3,109,198 | Execute a function with sliding delay | <p>Say I have an html page which diplays a list of some elements. There is a textbox which allows the user to filter the elements. To update the displayed elements, I need to do an ajax call to retrieve the elements that match the filter value. I want the ajax call to be executed two seconds after the last letter was t... | javascript jquery | [3, 5] |
3,529,936 | 3,529,937 | How to detect the clicked href URL in JQuery/Javascript | <p>Does anyone know how to detect the clicked href URL in JQuery? For example I have the following links, some is redirect to the new page and some will call to the javascript to expand the div. How can I use the JQuery/Javascript to detect the href if no ID been use.</p>
<pre><code><a href="www.test.com">Test 1... | javascript jquery | [3, 5] |
3,730,709 | 3,730,710 | boost::python: compilation fails because copy constructor is private | <p>i use boost::python to wrap a C++ class. This class does not allow copy constructors, but the python module always wants to create one. </p>
<p>The C++ class looks like this (simplified)</p>
<pre><code>class Foo {
public:
Foo(const char *name); // constructor
private:
ByteArray m_bytearray;
};
</code>... | c++ python | [6, 7] |
112,116 | 112,117 | use of Window Shell in programme | <p>Can someone tell me that if there is any harm (to OS(Win Xp) if i programme using window shell in ASP.NET.</p>
| c# asp.net | [0, 9] |
4,626,055 | 4,626,056 | Is $(function() { }) an exact equivalent to $(document).ready(function() { }) | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/2662778/what-is-the-difference-between-these-jquery-ready-functions">What is the difference between these jQuery ready functions?</a><br>
<a href="http://stackoverflow.com/questions/4384651/are-function-and-docume... | javascript jquery | [3, 5] |
4,285,799 | 4,285,800 | retrieve data from dynamic text boxes created with jquery | <p>I'm creating text boxes using jquery.I want after that to get the data from text boxes and insert the answers in my table. This is my code for creating the text boxes.</p>
<pre><code> $(document).ready(function () {
var counter = 2;
$("#addButton").click(function () {
if (counter >... | c# jquery asp.net | [0, 5, 9] |
4,583,779 | 4,583,780 | how to write this type of fraction value as shown below? | <p><img src="http://i.stack.imgur.com/ZaLxN.png" alt="enter image description here"></p>
<p>Hot to write this type of fraction Value in java or android code as shown above ? Any idea/suggestion will be appreciated.</p>
| java android | [1, 4] |
889,786 | 889,787 | How to improve the security on a ASP.NET site? | <p>I have an ASP.NET site and some clients want a better layer of security for accessing it. The site today asks for a username and password, but a lot of clients want to restrict the access to some machines and I need to do this on my server side. So, I'm asking for some advice.</p>
<ol>
<li><p>Use a VPN to restrict ... | c# asp.net | [0, 9] |
981,475 | 981,476 | jQuery fn() isn't loading / working? | <p>There is one div which changes frequently it's innerHTML by ajax. Once the page loads, jQuery function() works but when innerHTML changes by ajax then some functionality doesn't work. I checked the code using firebug and try to explain it in short.** </p>
<p>I think DOM loads the js file only when the page loaded ... | javascript jquery | [3, 5] |
4,143,978 | 4,143,979 | two check boxes and 1 text field jquery | <p>I have two checkboxes and one text field. I want to put some data into field when one check box is checked and put another data when other checkbox is checked and both these checkboxes shouldn't be checked at the same time. But when these checkboxes are not checked the text field should be empty. I have achieved all... | php jquery | [2, 5] |
3,194,176 | 3,194,177 | Get specified texts in a div, than search for them in a different div | <p>I am trying to get texts from a div, than i want to search for these titles on the same page, but in a different div. And if one of the title exist there, i want to put some text after it. I tried to do it, but i don't know what is the problem. Last time i tried it with this jquery code:</p>
<pre><code>var cim = $.... | javascript jquery | [3, 5] |
4,581,778 | 4,581,779 | about android project | <p>I have elseif statement in which i declare flag is false and i declare</p>
<pre><code>Resources r = getResources();
String refrigerant;
String[] refrigerant1 = r.getStringArray(R.array.refrigerant);
</code></pre>
<p>in my program want to set flag=true but my for loop is not executed and flag remains false
pls gi... | java android | [1, 4] |
420,889 | 420,890 | jQuery code critque | <p>Thought I'd post here. My first hour on jQuery, actually first programing ever done. Would love to learn whats not right and how it could be better.</p>
<pre><code>$(function() {
function hide_me()
//A place to specify which elements you want hidden, on page load.
{
$("li.credentials").hide();
}
function firs... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.