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,253,135 | 3,253,136 | Php and Javascript connection | <p>I'm very interested in if it is possible to connect javascript variables to php. I know that in php we can write javascript code, but on the contrary we could not. To express my aim better , lets bring example like that: </p>
<pre><code><form name="some" action="<?php $_SERVER['php_self']; ?>" method="post... | php javascript | [2, 3] |
2,979,468 | 2,979,469 | Link button control using asp.net | <p>I have set of link buttons in my masterpage and one button in my content page.
i want when i click the any one of link button in the masterpage the value in the content page will change. How i can do this. Can any one able to help me because i am new in asp.net
Thank you </p>
| c# asp.net | [0, 9] |
2,237,389 | 2,237,390 | An array is undefined in javascript | <p>I am actually trying to retrieve something for a sqlite database and store the results in an array. So I create an array and pass it as an argument to the function. Then after the function returns, the array remains undefined. What is the problem with that?</p>
<pre><code>function initGraphView()
{
var resultsAr... | javascript jquery | [3, 5] |
1,787,222 | 1,787,223 | ASP.NET proxy to access protected resources (other webapps) | <p>I am running an ASP.NET based CMS/portal site using mojoPortal (www.mojoportal.com, open source). Users log in and access content based on their group/role. Now I would like to add a different web application (a wiki, MediaWiki based for ease of maintenance, but essentially any other web application or site) that sh... | c# asp.net | [0, 9] |
5,574,761 | 5,574,762 | JavaScript Resizing not initalizing on page load | <p>Below is my JavaScript cod and I am having an issue that I hope someone can help me with. The function columnConform does not fire and resize the divs until I resize the actual browser window. So the function is working but just doesn't happen until I trigger the window resize event handler. What can I do to make th... | javascript jquery | [3, 5] |
4,649,680 | 4,649,681 | Error using Jquery datepicker in ASP.Net | <p>I am trying to use the jquery datepicker in my asp.net solution but receive the following error:</p>
<p>Microsoft JScript runtime error: Object doesn't support property or method 'datepick'</p>
<p>I have the following markup in the head section of the site.master file:</p>
<pre><code> <script src="http://ajax.... | jquery asp.net | [5, 9] |
1,720,160 | 1,720,161 | How to return the order that an item appears in a list in jQuery? | <p>I am trying to find out how to find the position that an item appears in a list. For example:</p>
<pre><code><ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
</code></pre>
<p>If I clicked on item 2, I would want to receive '2'. Is this possible?</p>
| javascript jquery | [3, 5] |
5,431,727 | 5,431,728 | photogallery in ASP.NET window application/forms | <p>I have no experience in ASP.NET apps. I want to build photogallery in my ASP.NET windows app such that in one pane I can view thumbnails of images and when I click on any image i can view larger priview of that image on right hand side.</p>
<p>I am using ASP.NET c# to build this windows application.</p>
<p>I know ... | c# asp.net | [0, 9] |
486,836 | 486,837 | Address family not supported by protocol exception | <p>I'm trying to send a couple of values from an android application to a web service which I've setup. I'm using Http Post to send them but when I run the application I get the error- request time failed java.net.SocketException: Address family not supported by protocol.</p>
<p>I get this while debugging with both th... | java android | [1, 4] |
5,799,827 | 5,799,828 | Modal Windows using jQuery | <p>I'm working on a web app where in I need to add some values inputted by the user.</p>
<p>When the user clicks on the Add button he sees a form and these values then show up on the page. Now to implement this I can do two things</p>
<ol>
<li>Use a modal window</li>
<li>Make a form inside the page itself(in a div) a... | javascript jquery | [3, 5] |
678,692 | 678,693 | add/remove class at same time in java script (php module) | <p>i am developing a module in PHP and i need to add/remove class at the same time using event onclick in javascript.
Please suggest.</p>
<p>Below is the code but it is not working,</p>
<pre><code>jQuery("#cat-block-id").show();
//jQuery("#product-block-id").hide();
jQuery(".fme_layered_attribute").click(function()... | php javascript | [2, 3] |
761,643 | 761,644 | What's the best way to assemble Javascript modules server-side in Python? | <p>I'm planning an extensible web app where base objects are extended by JavaScript modules which plug in. Each JavaScript object may just be an independent bit of code, or I might be building a large object to simulate a module namespace. I'll be using a Django back-end and Backbone.js, since you asked.</p>
<p>The sy... | javascript python | [3, 7] |
4,202,397 | 4,202,398 | how to get phone number from my Contacts on android programing | <p>i have EditText and button on my form.</p>
<p>how to do this: </p>
<p>when i press the button i want to open all my Contacts,</p>
<p>and when i pick one - i what that his phone number will be in the EditText</p>
<p>thanks in advance</p>
| java android | [1, 4] |
1,748,155 | 1,748,156 | Mysterious problem on showing the jQuery datepicker in my form | <p>I am trying to add the jQuery Date Picker into my form, however I am having a problem on showing it. This is what I am using <a href="http://jqueryui.com/demos/datepicker/default.html" rel="nofollow">http://jqueryui.com/demos/datepicker/default.html</a> and below is my code structure. For a reason when I click into ... | php jquery | [2, 5] |
2,441,316 | 2,441,317 | what is wrong with this snippet | <pre><code><?php } elseif($_SOMETHING == 1 && $_ANOTHER_THING == 2) { ?>
<?php $_NAME = urlencode($_NAME); ?>
<?php $_MGT_NAME = urlencode($_MGT_NAME); ?>
</div>
<?php } ?>
</code></pre>
<p>I am getting this error expected ';'</p>
| php javascript | [2, 3] |
5,338,734 | 5,338,735 | DIsplaying DataSet in Editable format? | <p>assume I have a single row datatable with collums of diffrent type</p>
<p>I want to bind them to a contorl that will allow the user to easily edit the data, winform style for example if data is of type <code>datetime</code> it will diplay a <code>datepicker</code>. <code>boolean</code> will be displayed as <code>ch... | c# asp.net | [0, 9] |
2,226,694 | 2,226,695 | set session timeout after inactivity | <p>I want to redirect back to the home page when there is no activity.
However, i dont have a user login or the need to have one. However, i want to be able to redirect back to the home page when theres no activity.</p>
<p>I set this in the web.conf</p>
<pre><code><system.web>
<sessionState mode="InProc" ti... | c# asp.net | [0, 9] |
2,303,999 | 2,304,000 | Is there a JQuery API for assigning the month name based on the number.? | <p>Am working on SharePoint List, fetching the date from the list, which is generally in this format : 2013-03-25.</p>
<p>I have split the date and assigned to an variable.</p>
<p>Code.</p>
<pre><code>var splitDate = resultRegionArr[x].NewsDate.split("-");
</code></pre>
<p>Now, i want to know if there is any Jquery... | javascript jquery | [3, 5] |
117,104 | 117,105 | UPDATE STATEMENT in asp.net using c# | <p><P>i am using asp.net with C# as code behind
<Pre><code>
OleDbConnection cn = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Documents and Settings\CJP\My Documents\Visual Studio 2005\WebSites\NewElligibleSoft\elligiblity.mdb;Persist Security Info=False");
cn.Open();
string... | c# asp.net | [0, 9] |
76,382 | 76,383 | Show tooltip only on the datapoint for line graph in MSCHART | <p>I am using mschart in C#4.0 to generate line chart and I am createing DataPoint to show the tooltip on points but the probelm is, tool tip is coming on each point of line however, I want only on my datapoint.</p>
| c# asp.net | [0, 9] |
3,886,028 | 3,886,029 | window.outerWidth VS $(window).outerWidth() | <p>I'm just curious as to what the difference between <code>window.outerWidth</code> and <code>$(window).outerWidth()</code> is, if any.</p>
<p>I couldn't really find much info about this on Google, so I thought I'd appeal to the masses. This is just a general question, not a specific issue.</p>
| javascript jquery | [3, 5] |
3,632,286 | 3,632,287 | Where will be a file created in android if I do it like this | <p>This function creates a file but I can't figure out where is the file created and if someone has a solution to create a file in a particular directory from the external storage is very welcomed :) thanks a lot </p>
<pre><code>private void writeFileToInternalStorage() {
String eol = System.getProperty("line.sepa... | java android | [1, 4] |
4,776,061 | 4,776,062 | Javascript str.search("?") returns Unexpected Quantifier error | <p>I am able to search a string using <code>str.search("me");</code> and <code>str.search("=");</code></p>
<p>But when i serach for <code>str.search("?");</code></p>
<p>I get the error <code>Unexpected Quantifier.</code></p>
<p>Why is that?
How can i search for <code>"?"</code> using something other than a regular e... | javascript jquery | [3, 5] |
5,427,861 | 5,427,862 | How to programmatically create a <script> tag and a script inside an ASP.NET page? | <p>From time to time I run into situation in which I could solve a given problem by dynamicly creating piece of JavaScript, spesific to that instance of the page, that I could then insert in the final markup. Usualy this is because I want some behaviour to happen on the client side, rather than on the server side and c... | asp.net javascript | [9, 3] |
42,360 | 42,361 | Can jQuery ready() function be used twice for the same element? | <p>I want to use jQuery <code>ready()</code> function for the document element. Here are my scripts:</p>
<p><em>1st page:</em></p>
<pre><code>$(document).ready(function(){
$('form#haberekle').ajaxForm(options);
});
</code></pre>
<p><em>2nd page:</em></p>
<pre><code> $(document).ready(function() {
... | javascript jquery | [3, 5] |
4,732,410 | 4,732,411 | ASP.NET C# - Source File Parse Error - Could not load inherits type file | <p>How do I fix this error? </p>
<p>I'm running .NET Framework v4.0.30319 so the Framework shouldn't be an issue. I'm not using any DLL files or bin directories. How do I setup the IIS/Virtual Directory if I'm using Forms Authentication for the whole website using VS2010? </p>
<p>Description: An error occurred du... | c# asp.net | [0, 9] |
469,922 | 469,923 | jQuery creating and modifying elements | <p>I'm using an HTML snippet to insert some text into the element, then display it somewhere:</p>
<pre><code>var elemTemp = $('<span /><strong class="value unit" />').find('span').text('hi!').end();
elemTemp.appendTo('#someDiv');
</code></pre>
<p>I want to insert "hi" inside the <em>span</em> but could no... | javascript jquery | [3, 5] |
4,869,003 | 4,869,004 | How can I highlight a sentence that is spread over more than one tag | <p>If i have text some thing like below.. </p>
<pre><code>var str="Hi, How are you";
</code></pre>
<p>If i want to highlight this text in the below HTML in a single attempt rather than spliting it into an array. In document if my HTML is like below.. </p>
<pre><code><div> Hi, <span>How are</span>... | javascript jquery | [3, 5] |
2,612,896 | 2,612,897 | Javascript order of execution - How come it does this? | <p>I am quite on lost on why Javascript does certain things in this way, or maybe I coded something wrong. But how come the code after $.getJSON gets executed before the callback is complete?</p>
<pre><code>window.ratingCallback = function(data){
if(data[0].code == 3){
ratingHTML = buildHTML(0);
... | javascript jquery | [3, 5] |
1,578,165 | 1,578,166 | JavaScript variable not is undefined in IE9 | <p>Hello I have next JS code (this code not my own) </p>
<pre><code> function somename(f)
var procName = "";
var procParams = new Array();
var parseEl = "";
var parseEls = new Array();
var parseInd = 0;
var procParamsInd = 0;
var IsValRead = false;
for (i = 0; i < f.length; i++) {
... | javascript jquery | [3, 5] |
3,609,589 | 3,609,590 | Writing a really good ASP.Net Async HttpHandler | <p>Until recently I thought that I wrote some really smart IHttpAsyncHandler. The functionality of the handler boils down to bypassing cross domain restrictions to a predefined host for a full Ajax webapp. So the incoming request is validated and then immediately dispatched to the real server using an ordinary HttpWebR... | c# asp.net | [0, 9] |
4,345,611 | 4,345,612 | Javascript: pass "this" as "dom" object, not "this" as "this" function | <p>This is may hard can explain this. Lets see this:</p>
<pre><code><a onclick="jsFunction (1, 'a', function() { callback(this); }"></a>
</code></pre>
<p>the callback needs to know the <code><a></code> where this call come from. But this "this" is not that "this" what I want.
There is a little worka... | javascript jquery | [3, 5] |
3,456,464 | 3,456,465 | Focus on Javascript or Jquery? | <p>I am a student in college, and I notice that a lot of companies look for people who have experience with Javascript. Does this include Javascript's libraries, like JQuery? Or, are they looking for Javascript people only? It probably depends on the company, but what is the general advice for a student wanting to do s... | javascript jquery | [3, 5] |
5,325,525 | 5,325,526 | asp.net web application goes to login page after about 15 minutes | <p>I have a web application, and for some reason which I cannot figure out, It goes to the login page every 15 minutes (I believe the session is idle). I have no where web config file that specify a timeout even close to that. Has anyone ever had an issue like this or know where I could look to try and fix the problem?... | c# asp.net | [0, 9] |
317,036 | 317,037 | Problem in reconnecting Java client socket to python server socket | <p>I am creating a java client socket which connects to python server socket, and receives data from server also send acknowledgment to server and closes the connection, this work perfectly fine for the first time, but if i try to connect to same socket for second time, the connection is not getting made...</p>
<p>I a... | java python | [1, 7] |
354,230 | 354,231 | Replace text inside a div without affecting any HTML tags inside of it | <p>I see that this has been asked many times. But, unfortunately I have not come across a straight forward solution. Most solutions revolve around multiple nodes within the div.</p>
<p>So here's problem. I have the following markup:</p>
<pre><code><div class="test">Text1<span></span></div>
</c... | javascript jquery | [3, 5] |
206,498 | 206,499 | PHP/jQuery: Fadein/refresh after insert | <p>i have a "wall" on each profile, and i wish to make it smarter, so you don't need to update the page to view your inserted message you just put up.</p>
<p>When you insert a message, it makes a ajax call and inserts to the database, and you receive a message about it has been inserted. But right now you need to refr... | php javascript jquery | [2, 3, 5] |
3,048,171 | 3,048,172 | What's the difference between jQuery and JavaScript? | <p>What's the difference between jQuery and JavaScript?</p>
| javascript jquery | [3, 5] |
4,285,673 | 4,285,674 | How to only show input fields if checkbox is checked? | <p>Basically, I want to only show these fields if checkbox is selected, if it becomes unselected, disappear.</p>
<pre><code><input type="checkbox" name="supplied" value="supplied" class="aboveage2" />
<ul id="date">
<li><input id="start" name="start" size="5" type="text" class="small" value="... | javascript jquery | [3, 5] |
489,559 | 489,560 | jQuery slideshow not working, display:none; | <p>Im trying to get my jquery slideshow working only for some reason its outputting to the browser as display:none! </p>
<p>Theres quite a bit of code so ive made a fiddle...</p>
<p><a href="http://jsfiddle.net/uExdD/" rel="nofollow">http://jsfiddle.net/uExdD/</a></p>
<p>Can anbybody see where im going wrong? Im usi... | javascript jquery | [3, 5] |
858,670 | 858,671 | How to animate a div at the same time as slideToggle hide/show | <p>I'm working on a new website, where I have a contact 'tab' coming from the top of the browser window. Here's the link: <a href="http://www.stefanhagen.nl/testlab/" rel="nofollow">http://www.stefanhagen.nl/testlab/</a>. If you click the tab, a contact form will appear (using slideToggle). But while the contact form a... | javascript jquery | [3, 5] |
5,126,141 | 5,126,142 | PHP passing a class as a reference? | <p>in Python, you could do something like this:</p>
<pre><code>class SomeClass(object): pass
s = SomeClass
someClassInstance = s()
</code></pre>
<p>How could you accomplish the same effect in PHP? From what I understand, you cannot do this? Is this true?</p>
| php python | [2, 7] |
903,073 | 903,074 | how to convert mouse events and touch events using java script | <p>Any idea about about how to use double click event in tablets or ipad. Like 'onmousedown' is equivalent to 'touchstart'.</p>
| javascript jquery | [3, 5] |
3,681,816 | 3,681,817 | jQuery error?? How to get the first "td" in all rows that are visible | <p>I have a table and I am hiding some rows. I want to get the first td in all of the rows that are showing. I have the following statement</p>
<pre><code>$("table.SimpleTable tbody tr:visible td:first-child");
</code></pre>
<p>this works in FireFox but not in IE any ideas?</p>
| javascript jquery | [3, 5] |
3,383,568 | 3,383,569 | Token based Web Site logins? | <p>I'm really not sure how this works and can't seem to find much info on it.</p>
<p>I play a PC exe game where I can be logged in in-game. I then click the store button. It opens my browser. I see some token stuff in the url then it logs me in to the site with my profile and everything.</p>
<p>How would something li... | php c++ | [2, 6] |
4,786,829 | 4,786,830 | Displaying image on a different page | <p>Hallo there</p>
<p>I have and imageField as part of a gridview and would like to know how I can view this image in a different page when I select the row with a button(field).
When I add the information to a database the imageUrl is added to the database and this I tie up with the name of an uploaded image and subs... | c# asp.net | [0, 9] |
5,058,401 | 5,058,402 | How can I generate an alert/pop-up saying avoid clicking back button of browser before user clicks it | <p>As I have disabled the back button in my application,I want user not to click it (across all browsers).</p>
| javascript jquery | [3, 5] |
4,925,455 | 4,925,456 | HTTP Get method based on parameters in java | <p>I am trying to implement a class that gets data from mysql via my web service. I have previously used a http post to get information from a table but this time I intend a user to input a string into an editText, press search and the textview to display the query.For example, Imagine there are two columns of the mysq... | java android | [1, 4] |
3,668,391 | 3,668,392 | Disabling/enabled textbox in GridViewRow | <p>I have a checkbox and a textbox in a GridView (for every row), and I'd like to be able to write some javascript that would enable and disable the textbox depending on the state of the checkbox (checked or unchecked). I guess I'd have to give JS the row index somehow. Is this possible?</p>
| c# javascript asp.net | [0, 3, 9] |
5,780,447 | 5,780,448 | Does Android application memory limit apply to entire app or per process of app? | <p>I am having an issue hitting the memory limit of my application. My question is if I break my application into a few processes will this allow each process to get a 24mb limit or will all processes add up to hit the 24mb limit?</p>
| java android | [1, 4] |
1,316,077 | 1,316,078 | what rules does designer.cs generation use | <p>Folks, </p>
<p>what are the rules governing the generation of declarations in the designer.cs file in an asp.net project?</p>
<p>for example, I have<br>
- myfile.resx,<br>
- myfile.aspx,<br>
- myfile.aspx.cs. </p>
<p>these generate<br>
- myfile.aspx.designer.cs </p>
<p>which defines things like <em>protected... | c# asp.net | [0, 9] |
837,111 | 837,112 | access values of controls dynamically created on postback | <p>My problem is:
I've got a table, dynamically created, fill with a lot of dropdownlists witches IDs are dynamically created.</p>
<p>When a button is pressed, I need to scan all controls in the table and save their value.</p>
<p>But after the postback I can't no longer access to the table, and I've no idea how can I... | c# asp.net | [0, 9] |
5,426,560 | 5,426,561 | Why can't I use an int from a spinner in the same class? | <p>Ok so I am working on an android app and I have implanted spinners... I have a total of four spinners and I have learned that if the spinner reads the options from the strings it has a defined number for the selection(i.e the first option is "0" next is "1" and so on)</p>
<p>I have the following code for the spinne... | java android | [1, 4] |
9,300 | 9,301 | Should I learn C# or Java first? | <p>What is your advice? Should I learn Java or C# first? I know only PHP.</p>
<p>I would like to write desktop apps for Windows.</p>
<p>Thank you.</p>
<p>P.S. I noticed that C# tag has here on stackoverflow 200 000 times usage and java only 150 000. Does this fact mean that Java is not so widely used as is C#?</p>
| c# java | [0, 1] |
2,741,570 | 2,741,571 | How to check if a string is a substring of any element in an array | <p>I have an array</p>
<pre><code>var months = ["January", "February", "March", "April", \
"May", "June", "July", "August", "September", "October", \
"November", "December"];
</code></pre>
<p>I have strings like "Nov", "October", "Jun", "June", "Sept", "Sep" etc. The point is, the string can be a substring of... | javascript jquery | [3, 5] |
2,702,003 | 2,702,004 | Where do I put javascript when using an asp.net user control? | <p>I have a user control with a "More Info" link. When clicking that link, I want a div to appear which gives the user more information.</p>
<p>Where do I put the javascript? It doesn't appear to work when placing at the top of my user control. How do you handle javascript and jquery when you are using a user contr... | asp.net javascript jquery | [9, 3, 5] |
3,974,306 | 3,974,307 | Why is return function different after click | <p>In following code <code>$('body').delegate('.submit',... passed = search && passed; ...</code> after click on button in form i have in var <code>passed</code> output as <code>true</code> in case var <code>result</code> in function search is <code>false</code> because data is '0'. How can fix it?</p>
<pre><c... | javascript jquery | [3, 5] |
5,859,222 | 5,859,223 | jquery - get attributes of an element when clicked . The element contains inner divs so getting undefined error | <p>I have the html code like this : </p>
<pre><code><ul>
<li k="5" id="l">
<div>
<div>
Some Text
</div>
</div>
</li>
</ul>
</code></pre>
<p>From the above code, if I dont have any div's or spans or someother elements inside the <... | javascript jquery | [3, 5] |
277,437 | 277,438 | Does picking a language to learn really matter? They all use similar techniques to solve problms? | <p>College student about to major in CS. Just want to know if it really matter what language you learn first?</p>
<p>Seems to me CS and the nature of our work is about problem solving. Different language seems to differ in syntax, libraries you can use, etc. etc. But when it comes down to it, if you know how to solve ... | c# java c++ | [0, 1, 6] |
1,939,635 | 1,939,636 | File, Save As for iPhone and Android | <p>I have an application written in HTML5 that uses localstorage. The user should be able to play this game in airplane mode, but right now it goes to my website to load the page.</p>
<p>Q: How do I save a web page onto a mobile device so that it doesn't require going to the Internet to dl it first?</p>
<p>Is the an... | android iphone | [4, 8] |
1,328,019 | 1,328,020 | Application crashing when rendering sprites on Android | <p>I have recently been trying to learn Android programming in order to enhance my portfolio</p>
<p>I've built a couple of simple text based applications and have now decided to extend this into game programming</p>
<p>I've coded the following which should display the sprite named droid_1.png on screen</p>
<pre><cod... | java android | [1, 4] |
3,427,477 | 3,427,478 | Execute javascript | <p>I have used a script I have found. Where it should do some thing when the mouse hovers over the element</p>
<pre><code> $this.hover(
function () {
tip.html("<p>" + tTitle + "</p>");
setTip(tTop, tLeft);
setTimer();
},
function () {
... | javascript jquery | [3, 5] |
909,575 | 909,576 | Create a thumbnail from only part of an image | <p>I'm creating a thumbnail right now like this:</p>
<pre><code>// create thumbnail and save
var image = Image.FromFile(Server.MapPath(imageFilename));
var thumb = image.GetThumbnailImage(image.Width / 10, image.Height / 10, () => false, IntPtr.Zero);
thumb.Save(Server.MapPath(Path.ChangeExtension(imageFilename, "t... | c# asp.net | [0, 9] |
4,436,348 | 4,436,349 | Making a datarow Select() Query | <p>The thing is i have a data row array which contains ID and parent id as its fields.</p>
<p>I have used the following code and it returned the correct values ,</p>
<pre><code>datarow [] dt = datarow.select(" Parent = '0' ");
</code></pre>
<p>I want to select only those rows which don't have the '0' as its Parent.... | c# asp.net | [0, 9] |
2,024,281 | 2,024,282 | how to update my hidden division data when form is submitted without reloading page | <p>i want to know javascript code that is used for dynamic update on my site...
the problem is that,i have a hidden division which contain a form (like registration form )and
i validate this form using php.
but when i submit the form ,the page is reloaded and division is hide according to property,i want to see what i... | php javascript | [2, 3] |
1,419,848 | 1,419,849 | jquery <-> php logic on which side | <p>I have a question about where to put the logic between jquery and php. I´m writing a small website where users can input different values. Those values are added together and multiplied with an value saved in a mysql database and outputed again to the user.</p>
<p>My question is whats the better way for doing this.... | php jquery | [2, 5] |
2,745,785 | 2,745,786 | What is the exact error code for Type Mismatch Exception | <p>I am using Websphere Lombardi Edition 7.1. In this tool I am using Intermediate Exception Event,to handle Exceptions at Business Process Diagram (BPD) Level, I need to know error code for that particular Exception. So I need to know what is the exact error code for Type Mismatch Exception. Can anyone help me out.</p... | java javascript | [1, 3] |
1,789,755 | 1,789,756 | How to dynamic select element with JQuery by id | <p>I need to dynamic select element with JQuery, I get in code id of element. How to do that ?
I've tried:</p>
<pre><code>var sel='\'#'+id+'\'';
var elem+$(sel);
</code></pre>
<p>but it doesn't work ( id is string id of element).</p>
| javascript jquery | [3, 5] |
3,561,774 | 3,561,775 | Converting Indonesian (id-ID) Date To English (en-US) Date | <p>I am facing problem while converting Indonesian Date to English Date.
Ex : I got an Date which is in Indonesian Language <code>i.e 24/mars/1958</code>
so I have to convert this date to English Date <code>i.e 24/mar/1958</code> I tried to convert the date by using following code</p>
<pre><code>string date = "24/mars... | c# asp.net | [0, 9] |
2,031,819 | 2,031,820 | Response.End () doesn't abort current thread | <p>Anybody know why ASP.NET might not abort the current thread with a Response.End()?</p>
<p>Update: Reason being that there is code, albeit not well written, that is getting executed after Response.End(). I've never seen a case where Response.End () didn't stop the current thread from executing.</p>
<pre><code>
pro... | c# asp.net | [0, 9] |
2,723,713 | 2,723,714 | How to store emails from outlook 2007 into MySQL Database? | <p>in my office, we have a computer which is receiving more than 10000 emails in outlook with windows xp.
Each email has a specific subject name.
What i want is to sort emails by subject name and then store them in a MySQL database.</p>
<p>So i don't know what langage to use for this task, maybe in java or php.</p>
<... | java php | [1, 2] |
3,410,205 | 3,410,206 | jQuery getJSON not populating HTML select properly | <p>I have an HTML <code><select></code>:</p>
<pre><code><div id="content">
<input type="button" id="get-btn" onclick="getData();"/>
<select id="attrib-type-sel"></select>
</div>
</code></pre>
<p>When the user clicks the following button, I want to use jQuery's <code>getJSON... | javascript jquery | [3, 5] |
2,404,728 | 2,404,729 | jQuery post() with serialize and extra data | <p>Okay, so I'm trying to find out if it's possible to post serialize() and other data that's outside the form.</p>
<p>Here's what I though would work, but it only sends 'wordlist' and not the form data.</p>
<pre><code>$.post("page.php",( $('#myForm').serialize(), { 'wordlist': wordlist }));
</code></pre>
<p>Anyone ... | javascript jquery | [3, 5] |
408,597 | 408,598 | How to do autoplay(image) in jquery? | <p>I have 3 images. I want to show one by one through auto play with various time delay(first one 3 seconds,second one 5 seconds,third one 7 seconds). Finally i want to loop it.</p>
<p>I have no idea to do it. Please share ideas with me for it.</p>
| javascript jquery | [3, 5] |
1,982,792 | 1,982,793 | what are the OOP features which are not in java but c++ has those features? | <p>Respected Sir!</p>
<p>As i have not learnt java yet but most people say that C++ has more OOP features than Java, I would like to know that what are the features that c++ has and java doesn't. Please explain.</p>
| java c++ | [1, 6] |
1,070,759 | 1,070,760 | When I add jQuery library it invalidates my other jQuery on the same page | <p>I am trying to create a page that has a scroller of images and a voting system (which I copied from here: <a href="http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/" rel="nofollow">http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/</a>).</p>
<p>... | javascript jquery | [3, 5] |
4,561,746 | 4,561,747 | android getInputType in JAVA code | <p>I defined a EditText in XML with attribute <strong>android:inputType="numberSigned"</strong>, so, when I try to get it in Java Code like: <p></p>
<blockquote>
<p><code>int type = mEditText.getInputType();</code><br>
<code>switch(type){</code><br>
<code>case InputType.TYPE_NUMBER_FLAG_SIGNED:</code><br>
<cod... | java android | [1, 4] |
1,127,955 | 1,127,956 | Why does LinearLayout instance.getLayoutParams look to have a wrong class? | <p>If I declare <code>LinearLayout linearLayout</code> and look at <code>linearLayout.getLayoutParams()</code>, it gives me <code>ViewGroup.LayoutParams</code>, not <code>LinearLayout.LayoutParams</code>.</p>
<p>So I have to use the repeating (and thus bad) style construction of:</p>
<pre><code>int lm = ((LinearLayou... | java android | [1, 4] |
2,725,588 | 2,725,589 | Hide groupIndicator of expandable listview based on listview positions | <pre><code><ExpandableListView
android:id="@+id/android:list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:groupIndicator="@drawable/group_indicator"
android:background="#ffffff"
/>
</code></pre>
<p>I have used an expandable list view with group Indicator...
if in list view fou... | java android | [1, 4] |
2,202,030 | 2,202,031 | Cannot use php tag in javascript tag | <p>I'm trying to use php tag in a javascript function. But unfortunately its not working. I even used <code><?php</code> but still not working. I checked php.ini file and there the short tag is already enabled.</p>
<p>Any sort of suggestion will be appreciated. </p>
| php javascript | [2, 3] |
1,366,939 | 1,366,940 | Help with JavaScript reading checkbox with [] | <p>i have written/modified a script to count checkboxes checked it works fine but i know need the checkbox name to read r1[] for my php scripts and now it doesn't work please help with java script...</p>
<p>THIS WORKS</p>
<pre><code><input name='r1' type='checkbox' value='' onClick='return GetSelectedItem2()' />... | php javascript | [2, 3] |
234,978 | 234,979 | How do I strip the first character | <p>I am constructing a URL and I have</p>
<pre><code>escape($('#count_of_stations').html()
</code></pre>
<p>The problem is the value will come in like this </p>
<pre><code>1 station
2 stations
</code></pre>
<p>I need to strip everything other then the first character, so is there a way to sent it with the " station... | javascript jquery | [3, 5] |
404,420 | 404,421 | How to get the left navigation to follow user as they scroll down the page | <p>Please take a look at this example:</p>
<p><a href="http://jsfiddle.net/3YrDD/" rel="nofollow">http://jsfiddle.net/3YrDD/</a></p>
<p>I'm trying to get the left "SideBar" content to follow the user as they scroll down the "Main content".<br>
Is there a way that I can do this?</p>
<p>thanks</p>
| javascript jquery | [3, 5] |
3,136,585 | 3,136,586 | how to get empty row in DropDownList | <p>i have this citys in my database:</p>
<pre><code>city1
city2
city3
city4
</code></pre>
<p>i what to see this in my DropDownList:</p>
<pre><code>[empty]
city1
city2
city3
city4
</code></pre>
<p>this is my bind code:</p>
<pre><code>SQL = "select distinct City from MyTbl order by City";
dsClass = new DataSet();
ad... | c# asp.net | [0, 9] |
3,444,728 | 3,444,729 | How to count # words in a textarea | <p>I am wondering whether there is any javascript and PHP code to count number of words which are encoded in unicode.</p>
| php javascript | [2, 3] |
2,689,217 | 2,689,218 | javascript: function call to itself | <p>I suppose the following code:</p>
<pre><code>jQuery("#mybutton").click(function(){
//do something
});
</code></pre>
<p>How could I recall to this function "anonymous"?, I can not put a name to this function:</p>
<pre><code>var xfun = function(){
//do something
}
jQuery("#mybutton").click(xfun);
</cod... | javascript jquery | [3, 5] |
1,411,045 | 1,411,046 | Changing up and down arrow with jquery | <p>Why won't this jQuery change my image to a down arrow like I want it to? When a user opens a drop down, the up arrow changes to a down arrow. I'm doing this with an if else because I don't know any easier way, but it's not working. The arrow stays up the entire time, no matter how many times I click. Here is the jQu... | javascript jquery | [3, 5] |
5,042,751 | 5,042,752 | print() an element based on its id | <p>I would like to print only a table from a webpage whose id is <code>"test1"</code></p>
<pre><code>function printPage() {
$var = document.getElementById('test1');
print($var);
}
</code></pre>
<p>In print preview, the whole document is appearing and not the table. Most likely the entire page will be printed wh... | javascript jquery | [3, 5] |
1,073,615 | 1,073,616 | slideToggle is creating a wobble at the end of an accordion | <p>Creating an accordion - on the slide - the elements underneath the element that is sliding seem to move down a px and then back up, creating a juddering effect.</p>
<pre><code>$(document).ready(function() {
//Promos banners rotation and accordion
$(function(){
var $accordionList = $('.accordion').find('li');
... | javascript jquery | [3, 5] |
1,561,028 | 1,561,029 | How to auto submit javascript form | <p>There is a search button a a webpage : </p>
<pre><code><td><table border="0" cellpadding="0" cellspacing="0"><tr><td dir="ltr" width="10" height="21"><img src="/global/images/ButtonLeftDove.gif" border="0" alt="" height="21" width="10" /></td><td height="21" align="center" val... | c# javascript asp.net | [0, 3, 9] |
1,861,323 | 1,861,324 | When to use jQuery wrapper methods instead of built-in javascript methods | <p>Which jQuery methods should be avoided in favour of built-in methods / properties?</p>
<p>Example:</p>
<pre><code>$('#el').each(function(){
// this.id vs $(this).attr('id');
// this.checked vs $(this).is(':checked');
});;
</code></pre>
| javascript jquery | [3, 5] |
5,176,779 | 5,176,780 | activate readonly back after editing the input jquery | <p>how can i activate the readonly back after finishing the edit of the input ?</p>
<p>this is my code for now :</p>
<pre><code><script type="text/javascript">
$(document).ready(function () {
$("input").bind('click focus', function(){
$('input').each(function(){
... | javascript jquery | [3, 5] |
1,899,094 | 1,899,095 | Simple way to check if input is in focus and to disable mouseleave function if true | <p>I have to admit that I'm definitely no jQuery genius but what seems like asimple solution has just totally eluded me.</p>
<p>Basically I have a drop down script working on a nested ul to display on rollover of its parent. In one of the nested ul I have a form that I would like to stop the mouseleave event if any o... | javascript jquery | [3, 5] |
771,961 | 771,962 | Trigger javascript function through PHP | <p>I'm trying to call a JavaScript function through PHP and have met some problems. I have got three code snippets for your understanding:</p>
<p>1) My javascript function:</p>
<pre><code>function addPoints(radiobutton){
//code
}
</code></pre>
<p>The parameter is an actual button and inside the function is a lot... | php javascript | [2, 3] |
886,644 | 886,645 | making the menu stay and not disappear on hovering out of the area | <p>Hi I have a header with a menu to its side, right now the menu gets displayed by dropping down once I hove on the arrow on the side of header and disappears once I move my cursor out of the menu dropdown area.</p>
<p>How do I make the menu stay until I click like the arrow button on the top again or have a button i... | javascript jquery | [3, 5] |
3,842,919 | 3,842,920 | Getting value in <select>, using JQuery | <p>I need to get a current value of SELECT tag. And for this I'm using <code>$('select').val()</code>, but this return only default value and it's don't changed. May be I can help me?</p>
<pre><code>$('div#buy input').fancybox({
ajax : {
type : "POST",
data : {
id: $('input[name="... | javascript jquery | [3, 5] |
1,108,078 | 1,108,079 | set outer scoped variable from inner scope in javascript | <pre><code>var lat = 0.0;
var lng = 0.0;
var jsonData = null;
var geocoder = new google.maps.Geocoder();
var miles = $('#milesAway').val();
// find what the user is locating by
if ($('#zipCode').is(':visible'))
{
var zipText = $('#zipCode').val();
if (isValidUSZip(zipText))
{
geocoder.geocode( {
... | javascript jquery | [3, 5] |
1,280,034 | 1,280,035 | Finding Difference of 2 sets in Java | <p>I have two hashsets in Java, of which I want to find the difference</p>
<p>I tried the following code as recommended by Oracle's doc</p>
<pre><code> HashSet<RunningTaskInfo> difference = new HashSet<ActivityManager.RunningTaskInfo>(newRunningTasks);
HashSet<RunningTaskInfo> oldRunningTaskI... | java android | [1, 4] |
163,622 | 163,623 | Php vars within javascript | <p>I have a bit of code to record a certain action</p>
<pre><code>$('#record').click(function(){
$.get("../confirm.php", { "id": '<?php echo $record; ?>' }, function(data){});
});
</code></pre>
<p>Which works fine, but i don't want the page to be full of javascript and such as i have other things like this on i... | php javascript | [2, 3] |
4,022,697 | 4,022,698 | dynamic form with php and javascript | <p>I want to create a dynamically changing form, when someone select first option, it makes query on mysql and change secont option automatically based on first.</p>
<p>I don't know how to make things in java so I found it.
I found tutorial like this <a href="http://student-plus.blogspot.com/2011/05/dynamic-select-box... | php javascript | [2, 3] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.