Unnamed: 0 int64 302 6.03M | Id int64 303 6.03M | Title stringlengths 12 149 | input stringlengths 25 3.08k | output stringclasses 181
values | Tag_Number stringclasses 181
values |
|---|---|---|---|---|---|
4,651,661 | 4,651,662 | Dynamic data input for pie chart | <p>I am getting values from the database to javascript array. Javascript code which I am using to create pie chart with static value is as follows.</p>
<pre><code> $(function () {
$('#container').highcharts({
chart: {
type: 'pie'
},
plotOptions: {
... | javascript jquery | [3, 5] |
3,454,014 | 3,454,015 | How to show an element in Jquery after 1 seconds only if the mouse is still over the element? | <p>I'm trying to create a hover-menu inside a gridview like the one of Gmail when you put the mouse over the names in the chatlist. </p>
<p>How to show an element in Jquery after 1-2 seconds <strong>only if the mouse is still over the element</strong>?</p>
<p>The following is not working properly because if i just mo... | c# jquery asp.net | [0, 5, 9] |
661,276 | 661,277 | Simple javascript issue | <p>It turns out this does exactly what I want it to do. But HTML does not replace the function call with a value, which is why I got confused. The correct value IS passed into the array though. I am leaving this question here in case others have the same issue.</p>
<p>I have some javascript:</p>
<pre><code><script... | javascript jquery | [3, 5] |
2,563,680 | 2,563,681 | Executing method from object, where method name is passed as string? | <p>I'd like to know if I have a function defined as:</p>
<pre><code>void executeFunc(String funcName)
</code></pre>
<p>can I somehow execute MyObject.funcName();?</p>
<p>What I'm trying to do is have one Class that handles all calls to a server and they return XML data back, so I'd like to use the one AsyncTask to h... | java android | [1, 4] |
4,130,721 | 4,130,722 | having a lookup form in asp? | <p>OK. Normal winform thing that I do all the time but now in asp.net. You have a browse button on Form A and you open a new form B. For example you have user click on a browse button to select list of friends. User clicks on the button, picks one or more friends and then presses select. you then add them to the or... | c# asp.net | [0, 9] |
709,087 | 709,088 | what's type for data in success: function(data)? | <p>Here $fruit is encoded by js_encode() and send back to data in ajax. My questions is what datatype of data is(string or array)?
Thanks in advance!</p>
<pre><code>$.ajax({
type:"post",
dataType:"json",
url:"phpFile.php",... | php jquery | [2, 5] |
1,587,170 | 1,587,171 | Detecting when user scrolls to bottom of div with jQuery | <p>I have a div box (called flux) with a variable amount of content inside.
This divbox has overflow set to auto.</p>
<p>Now, what I am trying to do, is, when the use scroll to the bottom of this DIV-box, load more content into the page, I know how to do this (load the content) but I don't know how to detect when the ... | javascript jquery | [3, 5] |
4,042,841 | 4,042,842 | Add a class to an element not in the viewport due to overflow:hidden with jQuery | <p>I am trying to add either a class (with display:none) to or hide() divs that are not currently in the viewport due to the fact that I am using overflow-x:hidden. Here's a jsFiddle to hopefully better explain: <a href="http://jsfiddle.net/kendelaney_me/5e2Uz/3/" rel="nofollow">http://jsfiddle.net/kendelaney_me/5e2Uz/... | javascript jquery | [3, 5] |
5,800,308 | 5,800,309 | How to listen or poll for an event | <p>I have an Android app in which I'd like to display a fullscreen ad as soon as it becomes available. The ad network's SDK allows me to call a "ready" method to determine whether the ad is ready to display; it returns a boolean. How do I listen for this? Should I be polling this method every few seconds? What's the be... | java android | [1, 4] |
4,981,959 | 4,981,960 | Need help with manipulating some string | <p>ok so I have a string, let's say..</p>
<pre><code>string s="My Page";
</code></pre>
<p>Now I want to manipulate this string s and make it "mypage" i.e. all small letters and no spaces in between and then store this value in another string. How can I do this ?</p>
| c# asp.net | [0, 9] |
3,049,927 | 3,049,928 | Remembering the current index of a paged ASP.NET gridview | <p>I have a gridview in ASP.NET. If I go to any page (obviously not the 1st page). edit a record (using a custom bound button as I have a custom appearance). When I edit the record, it does not display in the gridview so I refresh the page, to do so.</p>
<p>However, refreshing the page (done via C#), means that the cu... | c# asp.net | [0, 9] |
3,249,082 | 3,249,083 | window.setInterval jQuery function does not work on IE8 | <pre><code>window.setInterval(function(){
$('#Notify-Bar').html('a new notification');
}, 5000);
</code></pre>
<p>Did not work on IE, however works fine on other major web browsers (like Chrome, Firefox, Opera)...</p>
| javascript jquery | [3, 5] |
2,606,328 | 2,606,329 | RedirectFromLoginPage - The resource cannot be found error | <p>I am setting a login up in c#</p>
<pre><code>if (TextBox1.Text == System.Convert.ToString(row["Username"]) &&
(TextBox2.Text == System.Convert.ToString(row["Password"])))
System.Web.Security.FormsAuthentication.RedirectFromLoginPage(TextBox1.Text, false);
else
Label1.Text = ... | c# asp.net | [0, 9] |
2,411,481 | 2,411,482 | 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,458,661 | 4,458,662 | How should I store KEY from AES encrypt? | <p>How should I store KEY from AES encrypt?</p>
<pre><code> SceAES secaes = new SceAES("pomboSenha","G567EF33WQ19PL1S",12,45,256,"SHA1","systemSCE");
</code></pre>
<p>"pomboSenha" is the secretKey above.Is safe to mantain it hardcoded in a class?</p>
| c# asp.net | [0, 9] |
4,533,622 | 4,533,623 | tablesorter - Don't want the Footer to sort | <p>I'm using an asp.net repeater control with tablesorter.
How can i disable sorting on the footer.I have a total on the footer but i don't want sorting to apply.
Thanks in Advance</p>
| jquery asp.net | [5, 9] |
5,129,805 | 5,129,806 | How to save file in the droid local media store Java, Android? | <p>How can I save file in the Android local media store?</p>
| java android | [1, 4] |
18,053 | 18,054 | How to become an expert in Python, PHP and Javascript? | <p>So I've been programming for about 9ish months now, and I've taught myself some Python, some PHP and some Javascript.</p>
<p>I want to become better at these languages - I can hack something out, but a lot of things like OOP, using lists in the most effective ways, etc, is lost on me.</p>
<p>What are the best ways... | php javascript python | [2, 3, 7] |
4,333,331 | 4,333,332 | AutoCompleteTextView onItemSelectedListener does not work | <p>I have AutoCompleteTextView and set onItemSelectedListener to it, which does not work.
Have you any idea what is the problem?
Here is my activity, I can also provite main.xml file if it is needed</p>
<pre><code> package com.chidem;
import android.app.Activity;
import android.app.AlertDialog;
impor... | java android | [1, 4] |
5,303,078 | 5,303,079 | Custom KeyDown Control | <p>I am very new to ASP.NET and this is my first job and I need to perfom good. </p>
<p>I am stuck on this search page where I have two text boxes. One searches by ID which is int, the second by last name. Both the searched populate a grid view. As per the requirement when the user types in last name and clicks search... | c# asp.net | [0, 9] |
3,052,740 | 3,052,741 | adjust only iframe src from youtube | <p>how can I adjust the width and height for all iframe that has only youtube link</p>
<pre><code><iframe width="420" height="315" frameborder="0" allowfullscreen="" src="http://www.youtube.com/embed/xbGv2T456dfg3">
</code></pre>
<p>because I have some the uses iframe also but I only need to adjust all iframe t... | php javascript jquery | [2, 3, 5] |
5,495,229 | 5,495,230 | use Save File Dialog in Asp.net to save directly in Client PC | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1227032/save-as-dialog-in-asp-net">save as dialog in asp.net</a> </p>
</blockquote>
<p>i need to use SaveFileDialog in asp.net to save TextFile in Client PC.
how can i do that ?
i don't want to upload to server ... | c# asp.net | [0, 9] |
5,043,125 | 5,043,126 | How do i use an asp.net variable value in javascript | <p>i have a asp.net application. It is assumed that every Bus has a android device which continuously sends its current location to wcf rest service.
Now the administrator on the other side needs to monitor the current location of theses buses.
I have a dropdow list from where he chooses the bus number.
now i need to s... | javascript asp.net | [3, 9] |
1,819,926 | 1,819,927 | Use variable as an argument inside function | <p>I am very bad in programming...</p>
<p>I have a javascript variable</p>
<pre><code>var a = 'S_QEEFCEAPU';
</code></pre>
<p>Then there is another html like this</p>
<pre><code><a href="#" onClick='jQuery("#youtube-player-container").tubeplayer("play","S_QEEFCEAPU")'>Video 1</a>
</code></pre>
<p>I wan... | javascript jquery | [3, 5] |
4,904,230 | 4,904,231 | anticipating a click event within a while loop - jquery/javascrip | <p>I'm working on a little dice game app with javascript/jquery and the part where I run into trouble is in the following while loop. I want the user to click the button and then the body of the while loop should execute. However, with the following code, the contents of the while loop execute without waiting for the... | javascript jquery | [3, 5] |
4,029,322 | 4,029,323 | jQuery tool plugging for dynamic controls | <p>in my application i creating a dynamic controls like ( 2 label controls in 2 tds of under 1 tr of a table doing this in .cs file).
now i need to provide the tool tip for these dynamic controls what i have generated </p>
<p>can any one help me out to give solution for thi... | asp.net jquery | [9, 5] |
1,064,088 | 1,064,089 | Overlay Image over Image | <p>I am searching for a way to overlay an image on an existing image.</p>
<p>e.g:</p>
<p><img src="http://i.stack.imgur.com/N0REB.gif" alt="img1"> + <img src="http://i.stack.imgur.com/OM7bj.jpg" alt="img2"></p>
<p>I have found a great example over here: <a href="http://www.tjkdesign.com/articles/png_overlay_with_no_... | php javascript | [2, 3] |
2,683,523 | 2,683,524 | Picking a server control depending on environment | <p>I have an aspx page that references a server control from an assembly and lives in Sharepoint (knowledge/experience in Sharepoint is not required to answer this question, i'm simply giving you context). The implementation looks something like this:</p>
<pre><code><%@ Register TagPrefix="wc" Assembly="Test.Contro... | c# asp.net | [0, 9] |
449,152 | 449,153 | In a time when starting to turn off the display of the activity, and then start it | <p>I now have a activity receiver display information from service to send, receive after there will be no closed the activity, led him to stay on after completion of reception interface. The beginning want to once again start time time, to close out the activity, then open it again, service came from the information r... | java android | [1, 4] |
47,591 | 47,592 | Android JSON Parse Error Undetermined Object | <p>I have a json with the following contents:</p>
<pre><code>{
"Dictionary":[
{
"word": "abc"
"meaning": "meaning of abc"
},
{
"word": "def"
"meaning": "meaning of def"
}
]
}
</code></pre>
<p>The code which I have written for ... | java javascript android | [1, 3, 4] |
1,446,816 | 1,446,817 | Size of file which we get through AssetManager function getAssets in Android | <pre><code>AssetManager mngr = getAssets();
test_file = mngr.open("sample.txt");
</code></pre>
<p>above test_file variable is of InputStream type. Any way to calculate the file size of sample.txt from it?</p>
| java android | [1, 4] |
520,127 | 520,128 | jquery event handler and php script nested inside a div block | <p>Supposing I have the following script</p>
<pre><code><div id="something">
<?php
// execute a loop
?>
</div>
<script>
//use jquery to show "something" div block on and off <toggle> by a button click event, for example
</script>
</code></pre>
<p>My question i... | php jquery | [2, 5] |
2,610,035 | 2,610,036 | How to call a Java class from a Android Activity | <p>I have an Android activity called main.java and BPMClass.java class. I need to call the BPMClass.java within the main.java class. I wrote the code in the following way (does not show function name):</p>
<pre><code>import com.app.BPMClass;
...
public class main extends Activity {
BPMClass bpmclass;
@Override
publ... | java android | [1, 4] |
3,986,901 | 3,986,902 | How to cast TextView with my custom TextView? | <p>I take text view instance from here:</p>
<pre><code> TextView date = null;
try {
date = (TextView) getLayoutInflater().inflate(
R.layout.some_textview, null);
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
}... | java android | [1, 4] |
2,438,342 | 2,438,343 | How can I use a jquery array in asp.net, and reading values of array from asp.net | <p>I have an array in jquery, and I'm adding values on runtime to this array.After I will access this aray from asp.net page ie:
jquery:</p>
<pre><code>var marker=[];
marker[0]='world';
marker[1]='sky';
</code></pre>
<p>asp.net:</p>
<pre><code>string []values=new string[];
values[0]=marker[0];
values[1]=marker[1];
<... | jquery asp.net | [5, 9] |
4,410,557 | 4,410,558 | replace ids of html elements in jquery clone object | <p>So I have some HTML that I would like to be cloned several times and appended to the document. It's just typical HTML form stuff. But since things like <code><label for="something"></code> works based on element IDs, it would be nice if each HTML element within the jquery <code>clone()</code>'d element could h... | javascript jquery | [3, 5] |
3,704,823 | 3,704,824 | Where do I put the dll when I've compiled a httphandler into a class? | <p>I have a httphandler that I got from msdn, looks this way </p>
<pre><code>using System.Web;
public class HelloWorldHandler : IHttpHandler
{
public HelloWorldHandler()
{
}
public void ProcessRequest(HttpContext context)
{
HttpRequest Request = context.Request;
HttpResponse Respons... | c# asp.net | [0, 9] |
5,686,810 | 5,686,811 | duplicate functions, how may I combine them? | <p>I have a function that remains pretty much constant except for the changing class names. I was hoping to make the code a little less text heavy. How may I go about making it just a small function instead of repeating it <em>n times</em>. My concern is also about removing the active class for the last li that was cli... | javascript jquery | [3, 5] |
5,070,002 | 5,070,003 | R.layout.menu cannot be resolved | <p>Everything was working fine earlier. I then happened to add a new xml file to my layouts. now, one of my classes is giving an error when setContentView points to (R.layout.menu). Eclipse is telling me that R.layout.menu cannot be resolved. I can't figure out why; I have a layout called menu defined in my layout fold... | java android | [1, 4] |
3,265,726 | 3,265,727 | connect over ssl without certificate | <p>I'm trying to connect to my server over SSL port 443 without a certificate.</p>
<p>I'm getting an error thrown: </p>
<blockquote>
<p>javax.net.ssl.SSLException: Not trusted server certificate</p>
</blockquote>
<p>Reading other questions to solve the problem, the following code should work, but I'm still getting... | java android | [1, 4] |
4,321,483 | 4,321,484 | Is there a way to delete a form element without using jQuery .remove()? | <p>Using <a href="http://api.jquery.com/remove/" rel="nofollow">.remove()</a> so that the select all check box is not submitted to the server. </p>
<p>However, it is visible to the user as the select all checkbox is "physically" removed from the web page, upon submit.</p>
<p>Instead, I would like removing the select... | javascript jquery | [3, 5] |
4,683,470 | 4,683,471 | jquery click callback | <p>I have jquery function that is triggered by a 'click' handler:</p>
<pre><code>$('#showDatesCheckbox').click(function(){
var table = $('#planningViewTable').find('tr');
if ($('#showDatesCheckbox').is(':checked')) {
table.find('.textDate').stop().animate({
"opacity": 1
}, 1000);
... | javascript jquery | [3, 5] |
586,962 | 586,963 | features of asp.net | <p>what are the most important features a web developer should know about in asp.net?<br>
i am asking this question because i am a newbie and i want to learn c#, and i found a lot of books about: ajax,edmx,asmx,custom controls,jquery,wcf,silverlight......<br>
so in what order should i learn them, and what is are the mo... | c# asp.net | [0, 9] |
203,554 | 203,555 | How can I check if the value of a parameter passed to a javascript function is null? | <p>I have the following javascript code:</p>
<pre><code> function changeButtonState(targetSelector, action, iconClass) {
var $target = $(targetSelector);
var $targetSpan = $(targetSelector + ' span');
$targetSpan.removeClass('sprite-blank').addClass(iconClass);
</code></pre>
<p>How can I ma... | javascript jquery | [3, 5] |
3,286,146 | 3,286,147 | Failed to load resource: Frame load interrupted - Agian | <p>I have code which downloads a picture from a fake link. I have looked at others comments / sites but nothing has helped me find the solution to the annoying :</p>
<p>"Failed to load resource: Frame load interrupted" </p>
<p>my php headers are after I read the GET value: </p>
<pre><code>header("Pragma: public"); /... | php jquery | [2, 5] |
3,685,164 | 3,685,165 | how to read the response from a web site? | <p>I have a website url which gives corresponding city names by taking zip code as input parameter. Now I want to know how to read the response from the site.</p>
<p>This is the link I am using <a href="http://zipinfo.com/cgi-local/zipsrch.exe?zip=60680" rel="nofollow">http://zipinfo.com/cgi-local/zipsrch.exe?zip=6068... | c# asp.net | [0, 9] |
5,372,303 | 5,372,304 | Getting dropdownlist.selectedvalue trough Postback | <p>I've got this dropdownlist wich i populate using programming code :</p>
<pre><code> while (teller < modellen.Length)
{
SqlCommand cmd2 = new SqlCommand("SELECT Mod_Naam FROM Model WHERE Mod_ID = '" + modellen[teller] + "' ", con);
string modnaam = (string)cmd2.ExecuteScalar... | c# asp.net | [0, 9] |
3,162,232 | 3,162,233 | "this file is blocked because it came from another computer" - ajax permission issue | <p>Im fetching a local xml file using jQuery ajax through an html that i download from my site. </p>
<p>The problem is that each and every time the file gets downloaded, the user must right click on it -> properties -> unblock. Otherwise jquery ajax throws a "permission denied" error.</p>
<p>Is there any way to mark ... | c# javascript jquery asp.net | [0, 3, 5, 9] |
4,655,844 | 4,655,845 | reuse code when binding to click | <p>Given the following:</p>
<pre><code> $(document).ready(function() {
$('a.went-cold-turkey').click(function() {
$("body").css("cursor", "progress");
var activity_day = this.rel;
$.ajax({
url: this.href,
type: "GET",
cache: false,
success: function (html... | javascript jquery | [3, 5] |
3,280,713 | 3,280,714 | what is the Best way to learn object oriented principles | <p>I am interesed in OOP principles and i found lots of documentations and books about it, for instance in C++, Java, .NET, PHP and so on, but if i only want to learn OOP principle, differences and not in language, what can i do? i want a good documentation, not just like a whole book about something except OOP :) spec... | php c++ | [2, 6] |
407,730 | 407,731 | Javascript checkboxes with <asp:checkbox /> | <p>The Javascript checkbox script (<a href="http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/" rel="nofollow">by ryanfait</a>) worked beautifully when I used it at first. Then I needed to alter the form I made so that asp.net could process the form, but now the checkboxes are default.</p>
<p>Is there ... | asp.net javascript | [9, 3] |
2,356,855 | 2,356,856 | Is there a OnExit or Leave event on ASP.NET textbox? | <p>I need to run some code on server when user leaves the Textbox, it will do some calc over what's been typed. I'd rather avoid doing it with jQuery, because it would involve creating a JSON server, etc.</p>
<p>Isn't there a way to do a postback for such an event?</p>
| c# asp.net | [0, 9] |
2,389,167 | 2,389,168 | Where can I find all the selector xml attributes, include sub-attributes as well? | <p>I am new to android, recently encounter selector xml, found that selector can contains "item", in "item" it can contains "shape", "gradient" and more! I try to search the documentation regarding to this but can't locate. </p>
<p>Anyone know where can I locate all the xml attributes related to Selector?</p>
| java android | [1, 4] |
5,944,060 | 5,944,061 | javascript/jquery shortening a string without cutting word off | <p>say i had the string text = "this is a long string i cant display" i want to trim it down to 10 characters but if it doesnt end with a space finish the word i don't want the string variable to look like this "this is a long string i cant dis" i want it to finish the word until a space occurs. I'm trying this which w... | javascript jquery | [3, 5] |
4,167,354 | 4,167,355 | Tips on rendering html on client | <p>What are the points to bear while designing and coding a web application where the approach is to render components on the client using jQuery/ScriptServices (as data source), similar to an igoogle page?</p>
| javascript jquery | [3, 5] |
3,620,832 | 3,620,833 | Is there a c++ wrapper that compile php into a c++ program? | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/1090124/convert-php-to-c-code">Convert PHP to C++ code</a> </p>
</blockquote>
<p>Is there a c++ wrapper that compile php into a c++ program?</p>
<p>I want to program something for the steam distribution platfor... | php c++ | [2, 6] |
2,275,688 | 2,275,689 | Why do I need to define custom constructor? | <p>If I have a class, let's say, extended from DialogFragment and define custom constructor for it, why should I define a default one? If I wouldn't I get the error message if runtime change occurs. </p>
| java android | [1, 4] |
4,328,443 | 4,328,444 | Convert Feb 17, 2012 to 17/02/2012 with jQuery | <p>I have this code:</p>
<pre><code>var Date = "Feb 17, 2012";
</code></pre>
<p>How can I convert it to</p>
<pre><code>Date = "17/02/2012"
</code></pre>
<p>using jQuery?</p>
| javascript jquery | [3, 5] |
897,594 | 897,595 | jQuery: Global Variable Namespace Problem | <p>Is there a way to declare a global variable in jQuery in its own namespace?</p>
<p>Sure, I can declare global variables with plain old JavaScript, but they will fall in the <code>window</code>'s namespace. For example, if I had a variable named <code>document</code>, it would surely overwrite the <code>document</co... | javascript jquery | [3, 5] |
3,326,494 | 3,326,495 | Validate form using jQuery | <p>When a form submit button is clicked, a function to validate all the field is to be called. Nothing is to happen, however, if the validation fails.</p>
<p>I am using <code>mailto:</code> as my action, does this make a difference?<br>
I would like to get clarification on two things:</p>
<ol>
<li><p>Is this the corr... | javascript jquery | [3, 5] |
1,097,954 | 1,097,955 | Not able to append options to select | <p>I am not sure why this works but not when I pass in numbers</p>
<pre><code><form id="form1" runat="server">
<div id="facebookPhotos-iFrameContent">
<div>
<p>Log in</p>
<p id="LoginButtonContainer"><input type="image" id="btnLogin" src="image... | javascript jquery | [3, 5] |
1,571,563 | 1,571,564 | html page loading message | <p>My html page loads a bit slowly because of the jquery that's in it. I want an image that tells the user that it's loading, until the entire page get loaded. How should I go about doing this?<br>
Many thanks in advance.</p>
<pre><code><script type="text/javascript">
$(document).ready(function(){
//my ... | javascript jquery | [3, 5] |
2,260,863 | 2,260,864 | gridview on edit event , on update event? | <p>I would like to know how I can access the edit and the update button from <code>GridView</code>?<br>
I mean, if I click the edit button from the website in the <code>GridView</code>, I want to get some values from the tables.<br>
For example: the <code>button1</code> event.</p>
| c# asp.net | [0, 9] |
1,512,229 | 1,512,230 | How do I fade in a div by id if cookie=1? | <p>I have a page with few tabs.
I am looking for a way that if you select tab 5 and cookie = 1 then show tab6 otherwise show tab5.</p>
<p>The code for the tabs is:</p>
<pre><code>jQuery(".tabs a").click(function () {
stringref = jQuery(this).attr("href").split('#')[1];
jQuery('.tab_content:not(#' + stringref ... | javascript jquery | [3, 5] |
761,836 | 761,837 | Blurry text on link hover in jQuery? | <p>I would like to create a blurry effect that will last e.g. 500 ms and then it goes back to normal in some animation that will last e.g. 250ms. So, if the user hover over the link it will animate a blurry/fuzzy effect on this link text and then goes back to normal.</p>
<p>Let's say I have this code:</p>
<pre><code>... | javascript jquery | [3, 5] |
2,357,202 | 2,357,203 | Get the the last inserted record in the code behind | <p>I have an insert stored procedure likes this </p>
<pre><code> insert into Profile_Master(FirstName,LastName,Dob,Gender,MobileNo,Country,State,EmailId,Password)
values
(@FirstName,@LastName,@Dob,@Gender,@MobileNo,@Country,@State,@EmailId,@Password)
set @id=SCOPE_IDENTITY()
return
end
</code></pre>
<p>I want to g... | c# asp.net | [0, 9] |
1,870,902 | 1,870,903 | Traffic estimation of a website | <p>How can we find traffic estimation of a website ?? for example 200,000 to 1,000,000 visitors/month.I am using asp.net,c#.
Thank You</p>
| c# asp.net | [0, 9] |
4,176,990 | 4,176,991 | Simulate a click on JavaScript function in Java | <p>I'm writing a program that interacts with a website automatically in Java. I figured out how to build and send GET/POST requests to simulate a click or form submit. But I encountered a link that runs a JavaScript function.</p>
<pre><code><a href="javascript:function()">Run</a>
function function()
{
... | java javascript | [1, 3] |
5,294,526 | 5,294,527 | Hiding radio button list items based on selection of a item in other radiobutton list using jquery | <p>In my scenario I have 2 radio button lists(asp.net server controls).
If I select an item in my 1st radio button list then two items in the 2nd radio button list should not be visible.</p>
| jquery asp.net | [5, 9] |
3,685,130 | 3,685,131 | checking collection of functions if equals to false | <p>I have a group of methods that bring back a true / false deppending on the outcome.
I have a collection of 3 - 4 methods and if any of these return false then throw an error.</p>
<p>But to check these all I can think of is </p>
<pre><code>if(!myfunction) OR (!myOtherFunction) OR (!myOtherOtherFunction)
return er... | c# asp.net | [0, 9] |
2,573,582 | 2,573,583 | check that a collection is not empty | <p>How do you check that <code>data.results</code> in the following is not empty before trying to perform actions on it?</p>
<pre><code>$.getJSON(myurl, function(data) {
// if data.results is not empty
// {
// console.log(data.results.size);
// }
});
</code></pre>
| javascript jquery | [3, 5] |
5,768,345 | 5,768,346 | Java: constructing a file from a URI? | <p>I need to obtain a File object from a URI, working in Java, but keep getting a length of zero - though I know the file size is not zero. </p>
<p>I need the File object to pass to <a href="http://code.google.com/apis/gdata/javadoc/com/google/gdata/data/media/MediaFileSource.html#constructor_summary" rel="nofollow">a... | java android | [1, 4] |
2,935,812 | 2,935,813 | Get selected radio buttons of certain class | <p>I'm trying to get the radio buttons that has a certain class that is selected.</p>
<p>Getting the radio buttons of that class comes with </p>
<pre><code>$("input:radio.someClass");
</code></pre>
<p>I thought that this would work to get the selected radio button -</p>
<pre><code>$("input:radio.someClass:selected"... | javascript jquery | [3, 5] |
5,819,728 | 5,819,729 | jquery flyout menu background li | <p>Playing around with <a href="http://tympanus.net/Tutorials/CufonizedFlyOutMenu/" rel="nofollow">http://tympanus.net/Tutorials/CufonizedFlyOutMenu/</a>
I dropped the fly-in descriptions and now trying to get it to load the extra li with style that would "highlight" the li.current-menu-item.</p>
<p>It sets up an obje... | javascript jquery | [3, 5] |
5,282,930 | 5,282,931 | what's the equivalent of jquery's 'trigger' method without jquery? | <p>what's the equivalent of <em>jQuery</em>'s <code>trigger</code> method without <em>jQuery</em>?</p>
<p>e.g., how do i do something like <code>$('.blah').trigger('click');</code> without <em>jQuery</em>?</p>
| javascript jquery | [3, 5] |
1,491,251 | 1,491,252 | Is it possible to overload a method this way? | <p>I am trying to allow people to login using their UserID(int) or their username (string). The way I thought about doing this is creating two seperate methods, one that accepts a string, and one that accepts an int. But I could not get this to work and it seems there might be a better solution.</p>
<pre><code>publi... | c# asp.net | [0, 9] |
3,293,714 | 3,293,715 | Is there any way to implement MaintainScrollPositionOnPostBack functionality in jQuery | <p>ASP.NET 2.0 had the following property MaintainScrollPositionOnPostBack and it could be used to maintain browser position on post back. Can this be achieved using jQuery and if yes how?
I have read a few articles mentioning that MaintainScrollPositionOnPostBack doesnt work in some browsers like Chrome/Safari etc. </... | asp.net jquery | [9, 5] |
4,681,630 | 4,681,631 | decrypting cypher value in web.config | <p>I have an asp.net web site with connection string in external config file like this:</p>
<p></p>
<p>and external file looks like this:</p>
<pre><code><connectionStrings configProtectionProvider="DataProtectionConfigurationProvider">
<EncryptedData>
<CipherData>
<CipherValue> so... | c# asp.net | [0, 9] |
1,916,253 | 1,916,254 | Find out if a Variable exists | <p>I would like to find out if a Javascript variable exists. This is what I have so far which was cobbled together from different forums:</p>
<pre><code>function valueOfVar(foo){
var has_foo = typeof foo != 'undefined';
if(has_foo){
alert('1 = true');
return true;
}
else {
ale... | javascript jquery | [3, 5] |
1,773,902 | 1,773,903 | "Waiting" for ReadyState to be 4 before returning a value | <p>I have looked in lots of places for this, and I'm probably being an idiot because this is done a lot, but here's my situation.</p>
<p>I am trying to display a checkbox next to an e-mail field on my website iff the e-mail has not been used to register already.</p>
<p>What I have is something like this:</p>
<pre><c... | javascript jquery | [3, 5] |
980,267 | 980,268 | Show message if user has entered content on page and not saved | <p>How can I show a message like a popup modal if a user has entered some content and then not saved it and try to leave the page?</p>
<p>Something like:</p>
<p><img src="http://i.stack.imgur.com/ZFQF9.png" alt="enter image description here"></p>
<p>This appears if you try to go to another page within Facebook BUT i... | javascript jquery | [3, 5] |
1,711,306 | 1,711,307 | How to alter concurrent list items from multiple nested lists with jQuery | <p>If I have the following nested lists</p>
<pre><code><ul>
<li class="hide">list 1.1</li>
<li>list 1.2</li>
<li>list 1.3
<ul>
<li>list 2.1</li>
<li class="hide">list 2.2</li>
<li>list 2.3
<ul>
&... | javascript jquery | [3, 5] |
4,670,833 | 4,670,834 | Javascript triple greater than in PHP | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/3325640/php-shift-right">PHP shift right</a> </p>
</blockquote>
<p>What is the ability to get the same result of javascript's <a href="http://msdn.microsoft.com/en-us/library/342xfs5s%28v=vs.94%29.aspx" rel="nof... | php javascript | [2, 3] |
5,545,512 | 5,545,513 | 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] |
3,740,633 | 3,740,634 | C# Image.FromStream is that secure? | <p>after reading the data from the request as Stream i needed to convert it to Image so i used this Method:</p>
<pre><code>Stream inputStream = HttpContext.Current.Request.InputStream;
Image img = Image.FromStream(inputStream)
</code></pre>
<p>my question is, while im unable to know what was in that inputStream (file... | c# asp.net | [0, 9] |
3,517,950 | 3,517,951 | Can you force compilation despite errors | <p>Is it possible to build and compile an Android applications even though it has errors and missing classes? (Assume the errors are in classes that won't be used during a round of testing for example).</p>
| java android | [1, 4] |
2,827,689 | 2,827,690 | Can anybody explain what is the best way to update latest post automatically in the page? | <p>Can anybody explain what is the best way to update latest post automatically in the page ?</p>
<pre><code>(Newly added posts will just prepend to the old wall posts)
</code></pre>
<p>And</p>
<pre><code> (The number which tells number of newly added posts.
Number should be displayed in the top of the wall.)
</cod... | php javascript | [2, 3] |
4,128,600 | 4,128,601 | IE7 ignores :not-selector | <p>Internet Explorer 7 seems to ignore the :not-selector in the second line in following example, it shows and then hides the content - instead of showing the content with the right index and hiding the rest.</p>
<pre><code>$('.dashboard-module-content:eq(' + indexFoo + ') .expand-collapse').show('fast');
$('.dashboar... | javascript jquery | [3, 5] |
3,203,302 | 3,203,303 | Compiled code spreadsheet-like cell management? (auto-updating) | <p>Okay so I am fully aware how spreadsheets manage cells, they build dependency graphs where when one cell changes it tells all the other cells that are dependent on it that it changed. So they can from there update. </p>
<p>How they update I think involves either re-evaluating the formulas stored as strings, or re-e... | java c# | [1, 0] |
2,417,945 | 2,417,946 | Does javascript have a shorthand way of setting up fields in an object? | <p>I am using the following:</p>
<pre><code>var link = {};
link.action = $link.attr('data-action') || '';
link.dialogType = $link.attr('data-dialogType') || '';
link.params = $link.attr('data-params') || '';
link.title = $link.attr('title') || '';
link.viewURL = $link.attr('data-href') || '';
link.entity = $link.attr(... | javascript jquery | [3, 5] |
1,829,768 | 1,829,769 | filtering ListBox according to input value | <p>Javascript</p>
<pre><code> <script type="text/javascript">
//note that you would put these functions in a library .js that you include on every page
//the jQuery default contains function is case-sensitive //this declaration creates a new Contains function that's case-insensitive
jQuery.expr['... | javascript jquery asp.net | [3, 5, 9] |
5,441,916 | 5,441,917 | Why browser doesn't cache java script(Ajax)? | <p>I have made a cascade drop down list box using jquery. user selects state from first drop down and according to selected state the second drop down will fll by appropriate cities.
my problem is about caching of second drop down. when user clicks on back browser button and then click on forward button the city drop d... | javascript asp.net | [3, 9] |
2,659,793 | 2,659,794 | Fadein on hover then fade out to orginal state but stay on hover state when onclicked | <p>What I have to create is a fade in/out of an image to show the image behind it which has text on it, the user can stay on that button by clicking it. Then it will go back to its orginal state when an other button is clicked on. But while an image has been clicked on the other buttons can be hovered over.</p>
<p>The... | javascript jquery | [3, 5] |
5,162,091 | 5,162,092 | JQuery Detect class changes | <p>I am using a plugin that added a class <code>open</code> to <code>.slide-out-div</code> when opened.</p>
<p>So I am trying to change some css if the open is detected.</p>
<p>What I need to do is </p>
<pre><code>IF
$('.slide-out-div **open**') IS Detected then
$('.otherDiv').css('top','0px');
</code></pre>
<p>N... | javascript jquery | [3, 5] |
3,015,229 | 3,015,230 | Remove HTML tags from a javascript string | <p>I have this code :</p>
<pre><code>var content = "<p>Dear sms,</p><p>This is a test notification for push message from center II.</p>";
</code></pre>
<p>and I want to remove all <code><p></code> and <code></p></code> tags from the above string. Just want to display the string val... | javascript jquery | [3, 5] |
92,729 | 92,730 | weird PHP shell_exec Java behavior | <p>i am having a very unusual problem related to PHP shell_exec().
well, i am actually going to execute external java program.
i make a test like this</p>
<pre><code><?php
$command = 'C:\\Program Files\\Java\\jdk1.6.0_35\\bin\\java.exe';
$val = shell_exec($command);
echo('command:' . $command);
ech... | java php | [1, 2] |
2,383,579 | 2,383,580 | How to append row to table id="address" on click of button? | <p>How to append row to table <code>id="address"</code> on click of button </p>
<pre><code> <tr>
<td>address:</td>
<td><input type="text"></input></td>
<td><input type="text"></input></td>
<td><input type="text"></inpu... | javascript jquery | [3, 5] |
3,649,871 | 3,649,872 | Using a C++ class in C# | <p>How can I use a C++ class in C#? I know you can use DllImport and have the class as IntPtr, but then how would I call the functions inside the class? And I don't want to create a new method for each method in the class and export that, then there is not point for me to use a class then...</p>
<p><strong>Without cre... | c# c++ | [0, 6] |
1,285,578 | 1,285,579 | How to find the closest element to the current position with jQuery | <p>I have a document with several sections like this:</p>
<pre><code><div class='section' id='sec1'>
lalala
lalala
lalala
</div>
<div class='section' id='sec2'>
lalala
lalala
lalala
</div>
<div class='section' id='sec3'>
lalala
lalala
lalala
</div&... | javascript jquery | [3, 5] |
758,798 | 758,799 | Javascript TRUE is not defined or in quotes | <p>I have a XML file that contains </p>
<pre><code><car>
<id>123</id>
<sunroof>FALSE</sunroof>
<service>TRUE</service>
</car>
</code></pre>
<p>The following code only works if I wrap TRUE inside quotes e.g <code>(service == "TRUE")</code></p>
<pre><code>var... | javascript jquery | [3, 5] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.