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 |
---|---|---|---|---|---|
5,361,722 | 5,361,723 |
Whant to check all kind of audio & video quality in asp.net C#
|
<p>How can I check the quality and bit-rate of audio & video files in C# asp.net?</p>
|
c# asp.net
|
[0, 9]
|
859,824 | 859,825 |
AlertDialog in SurfaceView
|
<p>In my surfaceView class I have a AlertDialog with 2 buttons that allows the user to restart or exit the application when they lose. I used the code from the android website on creating dialogs. When ever the health drops to 0, the app forcecloses. I am wandering how it is I would go about setting it up to where it doesn't crash and allows me to restart or exit the app depending on what option I choose.</p>
|
java android
|
[1, 4]
|
4,583,611 | 4,583,612 |
Best way to fill textbox with list of values by double click using java script or jquery?
|
<p>I need to fill a textbox with list of values just by double click on it using java script or j query?</p>
<p>Eg:- I have a list of 10 users and i want to fill a textbox control like a dropdownlist just by clicking on it using java script or j query.</p>
<p>Is it possible than how?</p>
|
javascript jquery
|
[3, 5]
|
2,134,727 | 2,134,728 |
How to show a html button for asp:button click
|
<p>I have an asp.net web page with asp:button control. I need to show two (normal) HTML buttons for the click event of the asp:button control.
My requirement is when the page load for the first time there will be only asp:button there visible. After I click on that asp:button other two HTML buttons should be visible. But they should be visible for all the other postbacks. I mean if there would be any post backs, that HTML buttons should be visible constantly. How could I do that? Please help me. I tried to implement that using jquery hide and show.</p>
|
c# jquery asp.net
|
[0, 5, 9]
|
3,679,351 | 3,679,352 |
smtp web.config configuration and usage
|
<p>I have the following problem:</p>
<p>Using asp.net C# and calling several places in code to send email to the user.</p>
<p>However the from address in different sections of the code is different, and I have only one email address configured in web.config. This causes email sent from non-configured email addresses to go to users' junk box, how do I prevent this.</p>
<p>I have the following in web.config. So if from any place in the code the from address i not [email protected], it will go to users' junk box.</p>
<pre><code> <smtp deliveryMethod="Network">
<network
host="smtp.site.com"
userName="[email protected]"
password="mypassword"
/>
</smtp>
</code></pre>
<p>Here is c# code:</p>
<pre><code>MailMessage message = new MailMessage();
message.From = new MailAddress("forgotyourpassword@abc");
message.To.Add(new MailAddress(this.txt_Email_Pass.Text));
message.Subject = "Welcome to abc";
message.Body ="abc";
SmtpClient client = new SmtpClient();
client.Send(message);
</code></pre>
|
c# asp.net
|
[0, 9]
|
5,091,994 | 5,091,995 |
Running a Web Page On More Than One Directory
|
<p>I have written a web page that reads an input file and outputs a dashboard. Every month there will be a new input file (stored in its own sub directory with some other files) and I want to be able to archive the old files and display them in a drop down menu as options to display. I can read the home directory and get a list of all the directories but I can't figure out how to run the web page using the chosen directory as an argument.</p>
|
c# asp.net
|
[0, 9]
|
1,644,707 | 1,644,708 |
jQuery: How to make function in an object public?
|
<p>I use a pagination plugin and I'd like to make one of it's functions public, so I can call it from "outside". I can not call it directly, using <code>pageSelected($(obj))</code>.</p>
<p>Is there an easy way to make it visible so I can call it?</p>
<p>Jerry</p>
|
javascript jquery
|
[3, 5]
|
6,031,578 | 6,031,579 |
C++ to Java code translation
|
<p>I have following code in C++:</p>
<pre><code>struct Foo { };
std::ostream& operator<<(std::ostream& os, const Foo& f) {
return os << "Foo";
}
Foo foo;
std::cout << print("Ha! %1%, x=%2% %1% %3%") % "Hej" % 1 % foo;
</code></pre>
<p>Because I don't think I understand that C++ code. What is appears, is that it is some kind of printf like function.
What I need, is to make it Java way. Any ideas, how to mark it work as it is, but in Java?</p>
|
java c++
|
[1, 6]
|
4,130,187 | 4,130,188 |
asp.net - Get data from external application
|
<p>I would like to know how to link my web application with an external application. </p>
<p>The external application would call my application with a link.</p>
<p>Ex, ../../report/3</p>
<p>here 3 is the id for some data. Now I would gather the data from their database and process it.</p>
<p>Please tell me how to achieve this. What would be the best approach?</p>
<p>I am not started yet. Looking for an idea to start. </p>
<p>Thanks in advance. </p>
|
c# asp.net
|
[0, 9]
|
752,916 | 752,917 |
Eval function is C#
|
<p>I need some help in understanding what the Eval bit does (Just started learning C#.net):</p>
<pre><code><asp:Image
ID="Image1"
ImageUrl='<%# Eval("Name", "~/UploadImages/{0} %>'
...
</code></pre>
<p>The image is in a datalist repeater which has been binded to a folder containing images files.</p>
<p>I'm confused with the "Name" and {0}.. what is the significance of these and in what situation can I change them.</p>
|
c# asp.net
|
[0, 9]
|
1,096,103 | 1,096,104 |
Passing javascript variables to server-side C# logic
|
<p>Is there a way to assign/pass/copy a javascript variable to a server side variable in C#? For the sake of argument, let's say that I was able to parse some JSON for variables that I want to store and assign them on the client (ie. var = FirstName and var = 25 and var = someDateTime, etc) . </p>
|
c# javascript asp.net
|
[0, 3, 9]
|
3,366,871 | 3,366,872 |
javascript inheritance pattern confusion
|
<p>I find this is most recommended way to do inheritance in javascript.</p>
<pre><code>function extend(Child, Parent) {
var F = function(){};
F.prototype = Parent.prototype;
Child.prototype = new F();
}
</code></pre>
<p>what if I already have methods in child's prototype, aren't they will overwrite, shouldn't we preserve them.</p>
<pre><code>function extend(Child, Parent) {
var c = child.prototype;
var oldProto = new C();
var F = function(){};
F.prototype = Parent.prototype;
Child.prototype = new F();
for(var i in oldProto ){
Child.prototype[i] = oldProto[i]
}
}
</code></pre>
|
javascript jquery
|
[3, 5]
|
1,965,625 | 1,965,626 |
If container width, padding and line-height is known, how to calculate height?
|
<p>I am adding element dynamically to DOM.</p>
<pre><code>$('<div class="entry"></div>').text(data.status).appendTo(app.twitter_feed);
</code></pre>
<p>I want to get element height before it is added to DOM. The usual approach is to add the element within a hidden element with the same style and then simply see what is the height.</p>
<p>Though, is it imposible to calculate element height if you know container's width, padding and line-height (content is only plain-text) and content?</p>
|
javascript jquery
|
[3, 5]
|
2,108,660 | 2,108,661 |
Use edittext as html editor in android
|
<p>i am creating an application which give options to write articles and submit.</p>
<p>I want to give all html options to user so that user can make part of text bold,italic,underlined etc.
i googled but not found that much suitable options or any html tool for android.</p>
<p>looking for suggestions.</p>
|
java android
|
[1, 4]
|
4,654,663 | 4,654,664 |
Checking ScrollBar of TextBox
|
<p>I have a simple asp:textbox set up like this</p>
<pre><code><asp:TextBox runat="server" ID="tbxWarning" TextMode="MultiLine" Rows="4">
</asp:TextBox>
</code></pre>
<p>The SUBMIT button on the page does not become active until you scroll to the bottom of the textbox. This part works except that sometimes the textbox does not have enough data in it to make the textbox scrollable. How can I check (with either javascript or jQuery) wether or not the scrollbar in the textbox is enabled?</p>
|
javascript jquery asp.net
|
[3, 5, 9]
|
2,042,753 | 2,042,754 |
Android, how to make a thread sleep?
|
<p>Here's my code that, upon a click of the "menu" button, slides 'menubtm' in or out of view. Is there a way to make it pause for a few milliseconds at every loop, so that it would be viable, how the menubtm moves?</p>
<p>Thanks!</p>
<pre><code>@Override
public boolean onKeyDown(int keycode, KeyEvent event ) {
if(keycode == KeyEvent.KEYCODE_MENU){
if ( menuBtmVisable == true )
{
menuBtmVisable = false;
int xnow = menuBtmTopLimit;
while (xnow<menuBtmTopLimit+120)
{
xnow+=1;
AbsoluteLayout.LayoutParams lp = new AbsoluteLayout.LayoutParams(480, 120, 0, xnow);
menubtm.setLayoutParams(lp);
}
}
else
{
menuBtmVisable = true;
int xnow = menuBtmTopLimit+120;
while (xnow>menuBtmTopLimit)
{
xnow-=1;
AbsoluteLayout.LayoutParams lp = new AbsoluteLayout.LayoutParams(480, 120, 0, xnow);
menubtm.setLayoutParams(lp);
}
}
}
return super.onKeyDown(keycode,event);
}
</code></pre>
<p><strong>EDIT:
Thanks to your advice, I did it with animations.</strong></p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:fromYDelta="0"
android:toYDelta="120"
android:duration="500"
/>
</code></pre>
<p><strong>This animation has to make the menu slide 120 px down... it does so ok, but then springs back into the old place. Is there a way to make it stay in the new location?</strong></p>
<p><strong>EDIT2 : got it!</strong></p>
<pre><code>android:fillEnabled="true"
android:fillAfter="true"
</code></pre>
|
java android
|
[1, 4]
|
5,389,713 | 5,389,714 |
What is the equivalent to Java's string.getBytes() in C#?
|
<blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/7089640/equivalent-of-getbytes-in-java-to-c-sharp">Equivalent of getBytes() in Java to C#</a> </p>
</blockquote>
<p>In Java:</p>
<pre><code>String s="abcde";
byte bar[] = s.getBytes();
</code></pre>
<p>In C#:</p>
<pre><code>for (int i = 0; i < s.Length; i++)
{
bar[i] = Convert.ToByte(s.Substring(i, 1));
}
</code></pre>
<p>I worked Java example getBytes to convert C# code. But the above C# code does not work.</p>
|
c# java
|
[0, 1]
|
5,622,530 | 5,622,531 |
jqtscroll - How do I send the scroll content to the end of the page?
|
<p>How do I send the scroll content to the end of the page?
There's a bind event to do this?</p>
<p><a href="http://code.google.com/p/jqtscroll/" rel="nofollow">http://code.google.com/p/jqtscroll/</a></p>
|
javascript jquery iphone
|
[3, 5, 8]
|
2,397,195 | 2,397,196 |
does php ternary operator only 'return' a true or false?
|
<p>I have a php ternary operator as follows that does not work:</p>
<pre><code> var newLoginTxt = <?=$_SESSION['loginStatus']? 'Logged in' : 'Login'?>;
alert("About to set the navbar's login text to: " + newLoginTxt);
</code></pre>
<p>No alert box appears at all.</p>
<p>However this does work:</p>
<pre><code>var curLoginStatusSessionVar = <?=$_SESSION['loginStatus']? 'true' : 'false'?>;
alert("Testing: " + curLoginStatusSessionVar);
</code></pre>
<p>The alert box appears and says "Testing: false"</p>
<p>I have the following article seeming to say that the ternary operator in php CAN in fact return values other than 'true' or 'false':
<a href="http://davidwalsh.name/php-shorthand-if-else-ternary-operators" rel="nofollow">http://davidwalsh.name/php-shorthand-if-else-ternary-operators</a></p>
<p>Okay, even more odd -- in the code below, why does the first "Testing" alert box appear, then the 2nd "Testing" alert box NOT appear? It's the exact same code:</p>
<pre><code> // THIS "Testing" ALERT BOX APPEARS FINE**
var curLoginStatusSessionVar = <?=$_SESSION['loginStatus']? 'true' : "false"?>;
alert("Testing: " + curLoginStatusSessionVar);
var newLoginTxt = <?=$_SESSION['loginStatus']? 'Logged in' : 'Login'?>;
alert("About to set the navbar's login text to: " + newLoginTxt);
// THIS IDENTICAL "Testing" ALERT BOX NEVER APPEARS**
curLoginStatusSessionVar = <?=$_SESSION['loginStatus']? 'true' : 'false'?>;
alert("Testing" + curLoginStatusSessionVar);
</code></pre>
|
php javascript
|
[2, 3]
|
596,957 | 596,958 |
Run a PHP script in a .net page
|
<p>Strange question I know, but I'm developing a .net site, it's going to be pretty big so I'm not developing it in a language I am unfamiliar with (PHP).</p>
<p>The site needs to have it's PHPBB forum ported with it. I've looked at some .net forums but none are to the levels of maturity that the site requires.</p>
<p>Is it possible to somehow run a PHP script (the forum) in a .net page? I know the obvious answer is no don't be so stupid but just asking incase.</p>
<p>Some of the content on every page will be dynamically generated by .net and I'd rather not write all these template headers/footers in .net and PHP so they appear on each page correctly.</p>
<p>One possible solution I thought of was to request the forum php page somehow and print the returned HTML?</p>
|
php asp.net
|
[2, 9]
|
377,719 | 377,720 |
how to make the appliction exit when pressing back button in the main activity?
|
<p>In my application when i click the back button it passes through all the activities that i open them previously , i used the public void <code>onBackPressed()</code> method to make the back button back to the activity that i want as follow </p>
<pre><code>public void onBackPressed()
{
startActivity(new Intent("com.MyDiet.Main"));
Tracker.this.finish();
}
</code></pre>
<p>is that true and safe way to code the back button ? how i can prevent the application from passing through all the previous opened activities when the back button is pressed ? and how i can make the application exit when i click the back button in the main activity? </p>
|
java android
|
[1, 4]
|
2,522,792 | 2,522,793 |
in mail column in my gridview - how to send mail?
|
<p>i have gridview in my form that has column that bind to mail field on </p>
<p>my database.</p>
<p>i see this mail in my gridview, but how to do that in mouse press i'll send mail ?</p>
<p>(i try the hyperlink - but still no working)</p>
<p>thanks</p>
|
c# asp.net
|
[0, 9]
|
2,265,941 | 2,265,942 |
get_File_contents
|
<p>I have a php file that use this function like this :</p>
<ul>
<li>file_get_contents("somewhere/XMLRPC", false, $context);</li>
</ul>
<p>I am going to re write this request in JAVA, but the problem is that I don't know what exactly should I send to my server.
I will appreciate if you could guide me how can I print this request in some way?</p>
|
java php
|
[1, 2]
|
2,499,475 | 2,499,476 |
Trying to incrementally animate "marginTop" with jQuery, but it resets each time. Why?
|
<p>I'm having trouble implementing a "scroll more text" feature. </p>
<pre><code><a href="#" id="scroll-trigger">More</a>
<div id="outer-frame">
<div id="scroll-frame">
.. long text
</div>
</div>
</code></pre>
<p>.. in the css</p>
<pre><code>#outer-frame {
height:200px;
overflow:hidden;
}
</code></pre>
<p>and the Jquery ..</p>
<pre><code>$(document).on("click","#scroll-control",function(e){
(e)preventDefault();
$('.scroll-frame').animate({"marginTop":"-=50px"},1000);
});
</code></pre>
<p>That's the basic construction. There is more to it, but even when I have stripped down to this it does not work like I would expect.</p>
<p>I simply want the user to be able to scroll the text up by 50px increments. </p>
<p>But each time the #scroll-trigger is clicked, the .scroll-frame "resets" and scrolls from 0 up to -50px.</p>
<p>I have tried grabbing the dynamic CSS each time</p>
<pre><code>$(document).on("click","#scroll-control",function(e){
(e)preventDefault();
var newMarginTop = ($('.scroll-frame').css('marginTop')); // should get the new value?
newMarginTop -= 50;
$('.scroll-frame').animate({"marginTop": newMarginTop },1000);
});
</code></pre>
<p>That didn't work either. It still resets and scrolls from zero. What am I not getting? I'm looking at the jQuery manual and this ..</p>
<pre><code>$("#left").click(function(){
$(".block").animate({"left": "-=50px"}, "slow");
});
</code></pre>
<p>.. moves the box progressively more and more to the left. Why is my situation different?</p>
|
javascript jquery
|
[3, 5]
|
5,037,728 | 5,037,729 |
Get anchor tags from mutiple HTML Files
|
<p>I am not sure if this is even possible but I am trying to extract all the anchor tag links in a few HTML files on my website. I have currently written a php script that scans a few directories and sub directories that builds an array of HTML file links. Here is that code:</p>
<pre><code>$di = new RecursiveDirectoryIterator('Migration');
$migrate = array();
foreach (new RecursiveIteratorIterator($di) as $filename => $file) {
if (eregi("\.html",$file) || eregi("\.htm",$file) ) {
$migrate[] .= $filename;
}
}
</code></pre>
<p>This method successfully produces the HTML File links that I need. Ex: </p>
<pre><code>Migration/administration/billing/Billing.htm
Migration/administration/billing/_notes/Billing.htm.mno
Migration/administration/new business/_notes/New Business.htm.mno
Migration/administration/new business/New Business.htm
Migration/account/nycds/_notes/NYCDS Index.htm.mno
Migration/account/nycds/NYCDS Index.htm
</code></pre>
<p>There's more links but this gives you an idea. The next part is where I am stuck. I was thinking that I would need a for loop to loop through each array element, open the file, extract the links, then store those links somewhere. I am just not sure how I would go about this process. I tried to google this question but I never seemed to get results that matched what I was looking to do. Here is the simplified for loop that I have.</p>
<pre><code>var obj = <?php echo json_encode($migrate); ?>;
for(var i=0;i< obj.length;i++){
// alert(obj[i]);
}
</code></pre>
<p>The above code is in javascript. From what I am reading, It seems that I shouldn't be using javascript but should maybe continue using PHP. I am confused on what my next steps should be. If someone can point me in the right direction I would really appreciate it. Thank you so much for your time.</p>
|
php javascript
|
[2, 3]
|
5,078,722 | 5,078,723 |
ASP.NET Classes Question
|
<p>Could someone tell me the difference between </p>
<pre><code>static public
public static
</code></pre>
<p>and </p>
<pre><code>private int _myin = 0
public int MyInt
{
get{ return _myInt; }
private set {_myInt = value; }
}
</code></pre>
<p>the private set part is what I want to know</p>
|
c# asp.net
|
[0, 9]
|
3,397,642 | 3,397,643 |
qtip unable to display Tool Tip
|
<p>in aspx page inside <code>head</code> tag:<br></p>
<pre><code><script type="text/javascript">
$(function() {
InitializeToolTips();
});
function InitializeToolTips() {
$.toolTipRequest("txtText", "Text tip");
$.toolTipRequest("imgGirl", "You want to see image");
}
(function($) {
$.toolTipRequest = function(id, data) {
$('#' + id).qtip({
content: {
data: { id: data }
},
position: {
corner: {
target: 'leftBottom',
tooltip: 'topLeft'
}
},
style: {
name: 'blue'
}
});
}
})(jQuery);
</script>
</code></pre>
<p>Code run and didnt show any error in console but i am unable to display message(Tool tip).What is my mistake.Thanks.</p>
<p>I got a solution.So for future ref. i post it here.<br>
instead of<br></p>
<pre><code>content: { data: { id: data }},
</code></pre>
<p>i use<br></p>
<pre><code> content: { text: data },
</code></pre>
|
jquery asp.net
|
[5, 9]
|
2,414,596 | 2,414,597 |
Divide data into several datasets/listview which are shown in jquery tabs
|
<p>I'm extracting data from a webserivce.</p>
<p>This is my select statement to retrieve the data:</p>
<pre><code>string cmdstr = "select title, titlefr, racpnr, racpmodeltype from onl_wgn where show = 1 order by onl_kl, racpnr";
</code></pre>
<p>I got 4 groups of onl_kl. Now I want to show each group in a tab of the jquery tabcontainer. </p>
<p>I can pass the data in a dataset from my webservice to my webapplication and databind it to a listview, but I don't know how to seperate the data into the 4 tabs? Is this possible in a way with a listview or using other datacomponents?</p>
<p>If not, should I make 4 select statements in my webservice and send 4 datasets to my webapplication and bind it to 4 listviews each in 1 tab? If so how I can pass a list of datasets from a webservice to a webapplication?</p>
<p>Thx</p>
|
c# asp.net jquery
|
[0, 9, 5]
|
5,076,417 | 5,076,418 |
I can't get li elements' index?
|
<p>This is my list..</p>
<pre><code><li class="haftalar"><a value="7" class="click" href="#" title="7. Hafta Maç Özetleri">7. Hafta</a></li>
<li class="haftalar"><a value="8" class="click" href="#" title="8. Hafta Maç Özetleri">8. Hafta</a></li>
</code></pre>
<p>I want to get index as clicked li element's and class equaled to "haftalar".</p>
<p>I'm using this code but I can't get my want.</p>
<pre><code>$(".click").toggle(function(){
index = $(this).index();
}
</code></pre>
|
javascript jquery
|
[3, 5]
|
2,883,726 | 2,883,727 |
XML listview issue
|
<p>Trying to set a listview up with the results of my database query.</p>
<p>Anyway, I'm getting a weird XML refrence id error from my listview. Can anyone see the issue here? Im guessing its the '@id' reference causing the problem?</p>
<p>Heres my XML:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ListView
android:id="@+id/contentList"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</ListView>
</LinearLayout>
</code></pre>
<p>And my java class:</p>
<p>The error is on the 'R.id.conactList'.</p>
<pre><code>ListView listContent = (ListView)findViewById(R.id.contentList);
</code></pre>
|
java android
|
[1, 4]
|
3,884,206 | 3,884,207 |
How to validate the text box should take only A B C
|
<p>I have a text box I need to validate that.. </p>
<p>I mean user can only Enter Either A or B or C if he enters D to Z or any other things I should show the Popup message please Enter A or B or C</p>
<p>Using Jquery or javascript?</p>
<p>thanks</p>
|
javascript jquery
|
[3, 5]
|
3,927,687 | 3,927,688 |
How to display hidden placeholder without refreshing the page?
|
<p>I have two placeholders in one page and basically my requirement is that I want to show other placeholder on click of button which is in first placeholder without refreshing the page.</p>
<p>But when I m clicking on the button in 1st placeholder it is refreshing the page and then showing me second placeholder.I m open to hear any other suggestions also if it is not possible through placeholder.</p>
<p>Can anyone tell me how to achieve this?</p>
<p>Thanks,</p>
|
c# asp.net
|
[0, 9]
|
2,176,745 | 2,176,746 |
If a <li> is clicked, hide the inner div
|
<p>My DOM looks like this:</p>
<pre><code><li id="li1">
<div class="c1"></div>
</li>
<li id="li2">
<div class="c1"></div>
</li>
</code></pre>
<p>Using jQuery, if the first <li> is clicked, I want the inner to be hidden.</p>
|
javascript jquery
|
[3, 5]
|
3,526,743 | 3,526,744 |
Return false not working
|
<p>Can someone tell me why <code>return false</code> is not working? I just want to check if current is yellow. If it is yellow class don't do nothing (return false). The problem is when you click a button it runs its thing again but I want to avoid that.
Here's <a href="http://jsfiddle.net/3YLEg/" rel="nofollow">the Fiddle of the problem</a>. </p>
<pre><code>/*INSIDE THIS CODE RETURN FALSE NOT WORKING!!*/
$('.yellowcontroll').click(function(){
if($yellow.after('.current').length){
$('.yellow').show();
$('.slideswrapper:not(:animated)').animate({'marginLeft':'-=100'},1000,function(){
$('.current').removeClass('current').hide();
$('.yellow').addClass('current');
$('.slideswrapper').css({'margin-left':'0px'});
if($('.current').is($('.slideswrapper div:last'))){
$('.blue,.green,.red').clone().insertAfter('.slideswrapper div:last');
}
if($('.current').is($('.red'))){
$('.red').prevAll().remove(':not(.yellow)');
$('.yellow').insertAfter($('.slideswrapper div:last'));
}
/*THIS IS NOT WORKING AS EXPECTED!!*/
if($('.current').is($('.yellow'))){
return false;
}
});
}
});
</code></pre>
|
javascript jquery
|
[3, 5]
|
5,699,445 | 5,699,446 |
What does PageMethods actually return?
|
<p>This code gets the return value from public static string in the code behind and shows what is returned in an alert.</p>
<pre><code><script type="text/javascript">
function GetFromServer()
{
PageMethods.GetHello(OnGetHelloComplete);
}
function OnGetHelloComplete(result, userContext, methodName)
{
alert("Result: " + result + "\n" +
"Context: " + userContext + "\n" +
"Method name: " + methodName);
}
</script>
</code></pre>
<p>The web method in the code behind is a public static string. But what is it returning?</p>
<p>Why can't I write ...</p>
<pre><code>var myString = PageMethods.GetHello()
</code></pre>
<p>Where are 'result' and 'userContext' and 'methodName' appearing from?</p>
<p>EDIT: Please ignore, I had a look at the source and saw what is being output there.</p>
|
javascript asp.net
|
[3, 9]
|
1,951,781 | 1,951,782 |
XMLVM EXEC error Could not find or load main class org.xmlvm.Main
|
<p>Please excuse the ignorance if I missed anything.</p>
<p>I am trying to build the CSharp Fireworks (Visual Studio 2008) example that was included in the packaged downloaded via SVN. However, after building the project successfully, there is a post-build that takes place, but throws an error. I've listed the error below....
Also, what is the org.xmlvm.Main class and how do I use it.</p>
<p>java -classpath ./lib/bcel.jar;./lib/jakarta-regexp.jar;./lib/jdom.jar;./lib/mbel.jar;./lib/saxon9.jar;./lib/xercesImpl.jar;./ org.xmlvm.Main --java --out=./ FireWorks.exe</p>
<p><em><strong>EXEC : error : Could not find or load main class org.xmlvm.Main</em></strong>
c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3397,13): error MSB3073: </p>
<p>The command "java -classpath ./lib/bcel.jar;./lib/jakarta-regexp.jar;./lib/jdom.jar;./lib/mbel.jar;./lib/saxon9.jar;./lib/xercesImpl.jar;./ org.xmlvm.Main --java --out=./ FireWorks.exe" exited with code 1.
Done building project "FireWorks.csproj" -- FAILED. </p>
|
c# java iphone
|
[0, 1, 8]
|
3,855,232 | 3,855,233 |
Check if a remote image is online
|
<blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/5913150/check-if-image-exists-on-remote-server-before-downloading">Check if image exists on remote server before downloading</a> </p>
</blockquote>
<p>I want to display several webcam images from remote servers (authorized to do that). Sometimes the image is not available. What is the best way to check -in real-time- whether an image can be served on my website?</p>
|
php jquery
|
[2, 5]
|
5,969,542 | 5,969,543 |
Can I do both javascript and a PHP form?
|
<p>I want to take advantage of some jquery functions for sending messages like having a modal dialog but I also want to include users not running javascript.</p>
<p>If I have a jquery function to handle the dialog but the user doesn't have javascript enabled whats the best way to redirect them to my PHP page for composing and sending a message?</p>
<p>I'm assuming the jquery code takes highest priority since it's client side but then do I wrap my php code in tags?</p>
<p>Is there a more elegant solution?</p>
|
php javascript jquery
|
[2, 3, 5]
|
4,170,711 | 4,170,712 |
How to navigate from one popup to another
|
<p>I have a popup which is </p>
<pre><code>function validateDropDown(obj){
if(document.getElementById(obj).value=='4')
{ alert('Do you want to view Service Details?');
return false;
}
}
</code></pre>
<p>Now, when the popup asks "Do you want to view Service Details?" and if i give OK, then it should take me to the other page. Please help me how to incorporate this,</p>
<p>Thanks.</p>
|
c# javascript
|
[0, 3]
|
964,142 | 964,143 |
How To jQuery JavaScript conditional statement (beginner)
|
<p>Apologies if this is an overly simple question, but my searches are getting me nowhere.</p>
<p>I have a jQuery function which produces an error on some of my pages which do not contain the <code>#message</code> input:</p>
<pre><code>Error: jQuery("#message").val() is undefined
Line: 56
</code></pre>
<p>And my jQuery function:</p>
<pre><code>function updateCountdown()
{
var $left = 255 - jQuery( '#message' ).val().length;
jQuery( '#countdown' ).text( $left + ' Characters Remaining' );
}
$( document ).ready( function()
{
updateCountdown();
$( '#message' ).change( updateCountdown );
$( '#message' ).keyup( updateCountdown );
});
</code></pre>
<p>So my question is, how do I use a conditional to remove the error message from pages without the <code>#message</code> input? I believe my problem is a basic lack of knowledge of how JavaScript works.</p>
|
javascript jquery
|
[3, 5]
|
445,804 | 445,805 |
how to change combobox values on keypress using jquery
|
<p>this is not working</p>
<pre><code>if($(".foo").is(':focus')){
// do something
}
</code></pre>
<p>To change values on keypress:</p>
<pre><code>$(".foo").bind("keypress", function(e){
$(this).attr('value', 'bar');
})
</code></pre>
|
javascript jquery
|
[3, 5]
|
3,983,303 | 3,983,304 |
Prevent a negative number in JS click counter
|
<p>I have a simple JS counter with two buttons (+ and -) that is used to tally people. Works fine, but it allows the user to go into the negative when decreasing the count. Probably a simple solution but not for me. Any help would be appreciated. Thanks.</p>
<p>JS</p>
<pre><code> //Pax Counter
$(document).ready(function(){
//Count Function
$('#increase').click(function() {
$('#pax_count').val(function(i, val) { return val*1+1 });
});
$('#decrease').click(function() {
$('#pax_count').val(function(i, val) { return val*1-1 });
});
});
</code></pre>
<p>HTML</p>
<pre><code><input name="pax_count" type="text" class="pax_input_box" id="pax_count" value="0" >
<div id="pax_counter_container"><!-- open #pax_counter_container -->
<button id="increase" type="button" class="click_button" onTouchStart="EvalSound('audio3')"></button>
<button id="decrease" type="button" class="click_button" onTouchStart="EvalSound('audio3')"></button>
</div><!-- close #pax_counter_container -->
</code></pre>
|
javascript jquery
|
[3, 5]
|
224,215 | 224,216 |
JQuery Assign a value to a new variable?
|
<p>Hi am using the following jquery code:</p>
<pre><code>$.cookie('the_cookie', 'the_value');
</code></pre>
<p>I want to assign the_value to a new variable...</p>
<p>like:</p>
<pre><code>var newVar = the_value;
</code></pre>
<p>How can I do this?</p>
|
javascript jquery
|
[3, 5]
|
419,513 | 419,514 |
Dot notation for hierarchical related string values
|
<p>I have a lot of constant string values in my application which I want to have as strongly typed objects in C# for code reuse and readability. I would like to be able to reference the string value like so:</p>
<pre><code>Category.MyCategory //returns a string value ie “My Category”
Category.MyCategory.Type.Private //returns a string value ie “private”
Category.MyCategory.Type.Shared //returns a string value ie “shared”
</code></pre>
<p>I have started by implementing the following classes each containing a list of public string valued fields with a public property which exposes the child.</p>
<p>Category, MyCategory, Type</p>
<p>However I already know this is not the way to go so could do with a bit of advice on this one.</p>
<p>An example of this is where I am using the Syndication classes to add a category to an atom feed. I am creating the items in this feed dynamically so need to use the notation as shown.</p>
<pre><code>item.Categories.Add( new SyndicationCategory
{
Scheme = Category.PersonType,
Label="My Category",
Name=Category.MyCategory.Type.Private
});
</code></pre>
|
c# asp.net
|
[0, 9]
|
2,000,574 | 2,000,575 |
how to insert hexadecimal byte in a particular position in a given string
|
<p>I want to insert hexadecimal byte for example 0A and 00 in a particular position in a given string i.e.,String set="16 10 36 07 02 00 00 00 00 00 00 00 00 00 00 0B 11 B7 93"; i want to insert 0A and 00 in 4th and 5th position of the given string. How can i write a code in java</p>
|
java android
|
[1, 4]
|
5,010,078 | 5,010,079 |
Listen to phone state throughout the application?
|
<p>I nee to liste to phone state using phone state listener .I have many activities in a project. Should I register the listener to each of the activities or else is ther a better way.</p>
<p>ps: i am not interested to use broadcast receiver</p>
|
java android
|
[1, 4]
|
2,002,538 | 2,002,539 |
Help in Converting Small Python Code to PHP
|
<p>please i need some help in converting a python code to a php syntax
the code is for generating an alphanumeric code using alpha encoding</p>
<p>the code : </p>
<pre><code>def mkcpl(x):
x = ord(x)
set="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
for c in set:
d = ord(c)^x
if chr(d) in set:
return 0,c,chr(d)
if chr(0xff^d) in set:
return 1,c,chr(0xff^d)
raise Exception,"No encoding found for %#02x"%x
def mkalphadecryptloader(shcode):
s="hAAAAX5AAAAHPPPPPPPPa"
shcode=list(shcode)
shcode.reverse()
shcode = "".join(shcode)
shcode += "\x90"*((-len(shcode))%4)
for b in range(len(shcode)/4):
T,C,D = 0,"",""
for i in range(4):
t,c,d = mkcpl(shcode[4*b+i])
T += t << i
C = c+C
D = d+D
s += "h%sX5%sP" % (C,D)
if T > 0:
s += "TY"
T = (2*T^T)%16
for i in range(4):
if T & 1:
s += "19"
T >>= 1
if T == 0:
break
s += "I"
return s+"\xff\xe4"
</code></pre>
<p>any help would be really appreciated ... </p>
|
php python
|
[2, 7]
|
3,555,142 | 3,555,143 |
how to inject a jquery code to a HTML page dynamically
|
<p>i want to add a javascript code , which i getting from the server to my view .</p>
<p>is this possible .</p>
<p>i am doing this</p>
<pre><code> jQuery(".city").change(function(){
var address = jQuery('#business-address').val();
var city = jQuery('.city').val();
var state = jQuery('.state').val();
var country = jQuery('.country').val();
var address_string = address+","+city+","+state+","+country;
jQuery.ajax({
type: "post",
url: baseurl+"home/auth/create_google_map_from_address",
data:{address:address_string},
success: function(data,status){
var data_array = JSON.parse(data);
var latitude = data_array['map']['markers']['marker_0'].latitude;
var longitude = data_array['map']['markers']['marker_0'].longitude;
var map_js = data_array['map'].js;
var map_html = data_array['map'].html;
alert(latitude);
jQuery('#gmap_js').html(map_js);
}
});
});
</code></pre>
<p>i am getting a javasript code to variable <code>map_js</code></p>
<p>i want to add this code to the html page , </p>
<p>currently i am using <code>jQuery('#gmap_js').html(map_js);</code></p>
<p>but it is not working , how to do this . </p>
<p>this is map_js</p>
<p><img src="http://i.stack.imgur.com/jH1T9.png" alt="enter image description here"></p>
<p>please help...........</p>
|
javascript jquery
|
[3, 5]
|
486,871 | 486,872 |
jQuery UI Tab returns first tab
|
<p>I've an asp:Button control in tabs-2. I'm inserting database something in onClick method, then it returns first tab but i want to open current tab. Also, page must be reload. How can i do ?</p>
<pre><code><asp:Button ID="btnAddContactKnowledge" CssClass="ButtonDefault" runat="server" Text="add" OnClientClick="ValidateContactKnowledge();" Width="120px" OnClick="btnAddContactKnowledge_Click" />
</code></pre>
|
c# jquery asp.net
|
[0, 5, 9]
|
1,948,462 | 1,948,463 |
Force asp.net dropdownlist to expand
|
<p>I have an ASP.NET data bound dropdownlist which is populated based on the contents of a textbox. After it is populated I would like to expand the dropdownlist automatically, so that the user realizes that a choice needs to be made and doesn't need to click on the dropdown to expand it. There doesn't seem to be a property or method do do this.</p>
<p>EDIT: After trying out Ed B's example, I am still stuck. The id of my ddl is 'ctl00_ContentPlaceHolder9_ddlContact'. If I put the following in the onclick event of a button, it works fine, the dropdown expands nicely:</p>
<pre><code> document.getElementById('ctl00_ContentPlaceHolder9_ddlContact').size=10;
</code></pre>
<p>However, the following code in the Databound event of the ddl shows the alert but doesn't expand the dropdown:</p>
<pre><code>string script = "<SCRIPT LANGUAGE='JavaScript'> ";
script += "alert('expanding');document.getElementById('ctl00_ContentPlaceHolder9_ddlContact').size=10 </SCRIPT>";
ClientScript.RegisterClientScriptBlock(GetType(), "Dropdown", script);
</code></pre>
|
c# asp.net
|
[0, 9]
|
131,152 | 131,153 |
Difference between Dalvik Bridge Function and Dalvik Native Function call?
|
<p>What is the difference between Dalvik Bridge Function and Dalvik Native Function call in Android?</p>
|
java android
|
[1, 4]
|
3,592,876 | 3,592,877 |
How do I replace white spaces from the string in Android?
|
<blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/6932163/removing-spaces-from-string">Removing spaces from string</a> </p>
</blockquote>
<p>I want to remove white spaces and special characters from the string when user enters it in the textbox.</p>
|
java android
|
[1, 4]
|
2,663,703 | 2,663,704 |
Reading an XML Node only
|
<p>I am having an issue getting the value of an XML, it is loading it in the XML document when i debug, but it is not finding the value or the node i want to access. Here is the xml. The value i want to get is "Active". Now this XML is not a file or anything , is being passed as a string... (can not modify this part) have only access to the class where i can create functions to access it but can not modify the actual code getting the values and passing it as a "xml string"</p>
<pre><code><Clients>
<BillingCycle>30</BillingCycle>
<Category>1</Category>
<Type>Admin</Type>
<AddressCat>3</AddressCat>
<ZipCodeCat>5</ZipCodeCat>
<ClientManager>
<UserID>5</UserID>
<ZPVal>1</ZPVal>
<DRY1>Test</DRY1>
<Active>1</Active>
</ClientManager>
</Clients>
</code></pre>
<p>C# code here</p>
<pre><code>public bool IsActive(int ClientID, int VassID)
{
bool isActive = false;
HelperClass helper = new HelperClass();
XmlDocument xml = new XmlDocument();
//at this point i can see the data was stored in the xml when debugging
xml.LoadXml(helper.GetClientXML(ClientID, VassID));
//have tried the following do not woerk
// XmlNode node = xml.SelectSingleNode ("/Clients/ClientManager/Active/text()");
XmlNode node = xml.SelectSingleNode("Clients/ClientManager/Active");
int isActiveVal = Convert.ToInt32(node.Value);
if (isActiveVal == 1)
{
isActive = true;
}
return isActive;
}
</code></pre>
|
c# asp.net
|
[0, 9]
|
3,748,307 | 3,748,308 |
Call Javascript from GridView TemplateField
|
<p>I have a GridView, I have coded like the below</p>
<pre><code><asp:TemplateField HeaderText="Item">
<ItemTemplate>
<asp:Button ID="btnItem" OnClientClick="javascript:SearchReqsult(<%#Eval("Id") %>);"
CssClass="Save" runat="server" />
</ItemTemplate>
</asp:TemplateField>
</code></pre>
<p>I face a run time error which says that my button control is formatted correctly
I suppose the issue with the following</p>
<pre><code>OnClientClick="javascript:SearchReqsult(<%#Eval("Id") %>);"
</code></pre>
<p>Any idea?</p>
|
c# javascript asp.net
|
[0, 3, 9]
|
2,583,847 | 2,583,848 |
Android; Application has stopped. Simple Animation Error
|
<p>My application splash screen is set to have one image fade in, then another, and then after the second one finishes, it's set to start my Main activity.</p>
<p>As soon as my second image is almost done fading in, it crashes.</p>
<p>Here is my SplashScreen activity;</p>
<pre><code>package com.example.gymbuddy;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.animation.Animation;
import android.view.animation.Animation.AnimationListener;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;
public class SplashScreen extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_splashscreen);
ImageView gym = (ImageView) findViewById(R.id.imageView1);
Animation fade1 = AnimationUtils.loadAnimation(this, R.anim.gym);
gym.startAnimation(fade1);
ImageView buddy = (ImageView) findViewById(R.id.imageView2);
Animation fade2 = AnimationUtils.loadAnimation(this, R.anim.buddy);
buddy.startAnimation(fade2);
fade2.setAnimationListener(new AnimationListener() {
public void onAnimationStart(Animation animation) {
}
public void onAnimationEnd(Animation animation) {
Intent intent = new Intent(SplashScreen.this, Main.class);
SplashScreen.this.startActivity(intent);
SplashScreen.this.finish();
}
public void onAnimationRepeat(Animation animation) {
}
});
}
@Override
public void onPause() {
ImageView gym = (ImageView) findViewById(R.id.imageView1);
gym.clearAnimation();
ImageView buddy = (ImageView) findViewById(R.id.imageView2);
buddy.clearAnimation();
}
}
</code></pre>
|
java android
|
[1, 4]
|
5,439,235 | 5,439,236 |
Android - instead of launch new intent to new class/activity, how go back to open activity/class?
|
<p>My code allows me to launch a new activity/class:</p>
<pre><code>Intent intent = new Intent(activity1.this, activity2.class);
startActivity(intent);
finish();
</code></pre>
<p>What if i have an activity already open, and just want to go back to it instead of reopening a new one, thus having multiple open of same.. So i want to switch back to an already open activity/class ?</p>
|
java android
|
[1, 4]
|
2,632,865 | 2,632,866 |
jQuery - Get the href attribute for each link in a section of HTML
|
<p>I've written the following jQuery to loop through each of the <code><a></code> objects in a section of HTML:</p>
<pre><code>$(".chapterindex" + key + " div.link a").each(
function(intIndex){
alert( "Numbered index: " + intIndex );
});
});
</code></pre>
<p>The key value used in the first line of the jQuery is from an array of URL's I've built manually, something like this:</p>
<pre><code>var chapters = new Array();
chapters[0] = "original/html/0/ID0EFJAE.html";
</code></pre>
<p>I can alert the <code>intIndex</code> which gives me, <code>0,1,2,3,4,5....</code> etc..</p>
<p>But how can I extend the jQuery above to get the <code>href</code> attribute from each of the links found in the HTML?</p>
|
javascript jquery
|
[3, 5]
|
392,705 | 392,706 |
Help porting c++ to php code
|
<p>I need if possible port this function to c++:</p>
<pre><code>static unsigned char bux_code[3] = {0xFC, 0xCF, 0xAB};
void bux_convert(char* buf, int size)
{
int n = 0;
// ----
for (n=0;n<size;n++)
{
buf[n]^=bux_code[n%3];
}
}
</code></pre>
<p>What i have done:</p>
<pre><code>$bux_code = array("\xFC", "\xCF", "\xAB");
function bux_convert($string)
{
$size = strlen($string);
for ($n = 0; $n < $size; $n++) {
$string[$n] ^= $bux_code[$n % 3];
}
return $string;
}
var_dump ( bux_convert("£Ì•½Ï¼«ü") );
</code></pre>
<p>But i got this error: Cannot use assign-op operators with overloaded objects nor string</p>
|
php c++
|
[2, 6]
|
2,648,538 | 2,648,539 |
WinFormsControlLibrary in Asp.net
|
<p>I am using <code>windowformscontrol</code> library to capture a image and it is referring a dll "<strong><em>test.dll</em></strong>".</p>
<p>And when i am using the <code>windowformscontrol</code> library in my <code>Asp.net</code> app its throwing an error while running in explorer..</p>
<pre><code>Exception : Unable to load the assembly test.dll
</code></pre>
<p>plz resolve my issue.</p>
|
c# asp.net
|
[0, 9]
|
3,921,752 | 3,921,753 |
Get the newly focussed element (if any) from the onBlur event.
|
<p>I need to get the newly focussed element (if any) while executing an onBlur handler.</p>
<p>How can I do this?</p>
<p>I can think of some awful solutions, but nothing which doesn't involve setTimeout. </p>
|
javascript jquery
|
[3, 5]
|
5,018,009 | 5,018,010 |
Help thinking "Pythony"
|
<p>I'm brand new to Python and trying to learn it by replicating the following C++ function into python</p>
<pre><code>// determines which words in a vector consist of the same letters
// outputs the words with the same letters on the same line
void equivalentWords(vector <string> words, ofstream & outFile) {
outFile << "Equivalent words\n";
// checkedWord is parallel to the words vector. It is
// used to make sure each word is only displayed once.
vector <bool> checkedWord (words.size(), false);
for(int i = 0; i < words.size(); i++) {
if (!checkedWord[i]){
outFile << " ";
for(int j = i; j < words.size(); j++){
if(equivalentWords(words[i], words[j], outFile)) {
outFile << words[j] << " ";
checkedWord[j] = true;
}
}
outFile << "\n";
}
}
}
</code></pre>
<p>In my python code (below), rather than having a second vector, I have a list ("words") of lists of a string, a sorted list of the chars in the former string (because strings are immutable), and a bool (that tells if the word has been checked yet). However, I can't figure out how to change a value as you iterate through a list.</p>
<pre><code> for word, s_word, checked in words:
if not checked:
for word1, s_word1, checked1 in words:
if s_word1 == s_word:
checked1 = True # this doesn't work
print word1,
print ""
</code></pre>
<p>Any help on doing this or thinking more "Pythony" is appreciated.</p>
|
c++ python
|
[6, 7]
|
1,858,906 | 1,858,907 |
Limiting frame rate with Thread.sleep()
|
<p>I am working on a live wallpaper, so no worries about physics collisions. I just want to have as smooth a frame rate as possible, up to a limit of 30fps to conserve battery. </p>
<p>To do this, at the end of the loop, and I measure time since the beginning of that loop. If the frame took less than 33ms, I use Thread.sleep() to sleep the number of ms to get up to 33. </p>
<p>However, I know that Thread.sleep() is not super accurate, and is likely to sleep longer than I ask for. I don't know by how much. </p>
<p>Is there a different method I can use that will provide a more even rate? </p>
|
java android
|
[1, 4]
|
5,380,689 | 5,380,690 |
How to pass values from parent.aspx page to user control?
|
<p>I have the following setup in my application and I'm having some difficulties passing values my user control.</p>
<p><strong>ASPX</strong></p>
<pre><code><%
var posts = this.getPosts();
foreach (var post in posts)
{ %>
<asp:TextBox runat="server" Text="<%: post.post_id %>" />
<% } %>
</code></pre>
<p><strong>CS</strong></p>
<pre><code>DataClassesDataContext db = new DataClassesDataContext();
public Post[] getPosts(int offset = 0, int lenght = 10)
{
var resultSet = db.Posts.OrderBy(x => x.date).Skip(offset).Take(lenght).ToArray();
return resultSet;
}
protected void Page_Load(object sender, EventArgs e)
{
DataBind();
}
</code></pre>
<p>The TextBox value on page load is "<% post.post_id %>". I even tried using the <%# post.post_id %> tag but that gives an error - "The name 'post' does not exist in the current context".</p>
<p>Any suggestions?</p>
|
c# asp.net
|
[0, 9]
|
4,995,395 | 4,995,396 |
how to use lightbox(jquery) in gridview or datalist control
|
<p>i have an requirment where i need to i display a <strong>thumbnailimage</strong> in datalist control. and once user clicks the thumbnail image new pop up show come showing image. along with the data [ that comes from <strong>Database</strong>]
so any one have done concept using lightbox with asp.net
any idea how to slove this thing.</p>
<p>i am new to jquery concept.i have no idea how to use this concept with datalist control</p>
<p>any help would great
thank you</p>
|
asp.net jquery
|
[9, 5]
|
5,163,385 | 5,163,386 |
For Android, should I use the float datatype more often for my game, or just cast to float when drawing?
|
<p>Android uses the RectF structure for drawing bitmaps. I am working on my game structure, so for example, a Sprite will have and x/y coordinate, width, height, speed, and so on. This means every time in my render loop I have to cast those integers to floats when figuring out the source/target RectF's to use... alternatively, I can be far more universal and use floats everywhere so that when it comes time to simulate the physics and render, all of the types are already of the same type... even if it is unnecessary for what the property is (I don't need a float for "x position", but will have to cast it when rendering if not).</p>
<p>if floats generally are 2-10x's more ineffient (per <a href="http://developer.android.com/guide/practices/performance.html">http://developer.android.com/guide/practices/performance.html</a>), what is the proper course to take? </p>
<p>TLDL: Should I cast int's to float on render, or just have all of the contributing variables be floats to begin with, even if floats are inefficient? How inefficient is a typecast?</p>
|
java android
|
[1, 4]
|
1,207,115 | 1,207,116 |
each function index and element
|
<p>my question is a simple one how do you use element with index in each function</p>
<pre><code>$('div').each(function(index, element) {
is element equal to $(this)
});
</code></pre>
|
javascript jquery
|
[3, 5]
|
1,983,862 | 1,983,863 |
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 sql = "UPDATE main SET s_name='"+TextBox1.Text+"',inst_code='"+DropDownList1.SelectedItem+"',ms_oms='"+Label7.Text+"',elligiblity='"+Label12.Text+"',Board='"+DropDownList5.SelectedItem+"',percentage='"+TextBox4.Text+"' WHERE elg_id = '"+DropDownList4.SelectedItem+"'";
OleDbCommand cmd = new OleDbCommand(sql, cn);
cmd.ExecuteNonQuery();
cmd.Dispose();
cn.Close();
Response.Write("alert('DATA UPDATED')");
</pre></code>
<p> i am getting error on </p>
<pre><code>cmd.ExecuteNonQuery();</code></pre>
<p>that Data type mismatch in criteria expression.</p>
|
c# asp.net
|
[0, 9]
|
1,704,375 | 1,704,376 |
Jquery Css Selector Add Value
|
<p>How can i reset a display:none and add some value here is the code</p>
<pre><code>onclick="$('reason{$test->id}').css('display:block');
$('#reasonid{$test->id}').val(this.value);"
</code></pre>
|
javascript jquery
|
[3, 5]
|
795,172 | 795,173 |
jQuery slideToggle() on two items concurrently
|
<p>So I'm in the process of creating a text slider, for headlines. I would like the currently displayed text to side out, at the same time that the new text is sliding in. Is there a way that I can use jQuerys <code>.slideToggle()</code> or <code>.slide()</code> concurrently to be able to do what I want?</p>
|
javascript jquery
|
[3, 5]
|
3,790,049 | 3,790,050 |
ASP.NET or PHP? Soft for Real Estate Agencies
|
<p>Soon I begin create CRM for Real Estate Agencies sphere.
In my backround 2 years of PHP-programming & then 5 years of ASP.NET (intranet applications).
& I think maybe ASP.NET (i write code on C#) have good IDE (VS 2010), but this is monster :)</p>
<p>My application will be multiplayer webapplication for different real estate agencies (it is now fashionable to talk SAAS).
Interaction over SSL via web browser.</p>
<p>What situation with developing of web applications now?</p>
<p>What language prefer for start new project?
Pluses & Minuses of each?
Or maybe choose another language?</p>
<p>Maybe now exist standarts of data structure & exchange in real estate at this moment? </p>
|
php asp.net
|
[2, 9]
|
6,022,116 | 6,022,117 |
Using Jquery fadeOut() how can hide this Msg box
|
<p>i am trying to close(<em>fadeout</em>) the message box when i click the close button. But here it is not working. help me to fix this.</p>
<p>before it close automatically. if i click the close button the message box should hide. but here it is not working</p>
<p>Here is my <a href="http://jsfiddle.net/sureshpattu/rxR5E/6/" rel="nofollow">Jsfiddle</a></p>
<p>Here is my script;</p>
<pre><code>$('.msg_close_icon_div').click(function(){
$('.error_msgbox').fadeOut('slow');
});
$('.error_msgbox').hide().fadeIn('slow').delay(4500).fadeOut('slow');
</code></pre>
<p>if user not click the close button(<em>it is there in topright corner</em>) then i want to close the message box automatically after 3sec.
</p>
|
javascript jquery
|
[3, 5]
|
1,243,064 | 1,243,065 |
Sliding in content on hover over #viewer with .load and sliding away when hovering over #button2 or #button3
|
<p>I have this jquery :</p>
<pre><code>$(document).ready(function() {
$('#display').hover(
function () {
$('#viewer').load('display.php');
});
});
</code></pre>
<p>What I want to happen is, for the content to slide in when hovering over #viewer and I want it to slide away when it hovers over #button1 or #button2 (so basically div#viewer slides away)</p>
|
php jquery
|
[2, 5]
|
3,668,730 | 3,668,731 |
jquery: Writing a method
|
<p>This is the same question as this:
<a href="http://stackoverflow.com/questions/2890620/jquery-running-a-function-in-a-context-and-adding-to-a-variable">http://stackoverflow.com/questions/2890620/jquery-running-a-function-in-a-context-and-adding-to-a-variable</a></p>
<p>But that question was poorly posed.</p>
<p>Trying again, I'm trying to do something like this:</p>
<p>I have a bunch of elements I want to grab data from, the data is in the form of classes of the element children.</p>
<pre><code><div id='container'>
<span class='a'></span>
<span class='b'></span>
<span class='c'></span>
</div>
<div id='container2'>
<span class='1'></span>
<span class='2'></span>
<span class='3'></span>
</div>
</code></pre>
<p>I have a method like this:</p>
<pre><code>jQuery.fn.grabData = function(expr) {
return this.each(function() {
var self = $(this);
self.find("span").each(function (){
var info = $(this).attr('class');
collection += info;
});
});
};
</code></pre>
<p>I to run the method like this:</p>
<pre><code>var collection = '';
$('#container').grabData();
$('#container2').grabData();
</code></pre>
<p>The collection should be adding to each other so that in the end I get this</p>
<pre><code>console.log(collection);
</code></pre>
<p>:</p>
<pre><code>abc123
</code></pre>
<p>But collection is undefined in the method. How can I let the method know which collection it should be adding to?</p>
<p>Thanks.</p>
|
javascript jquery
|
[3, 5]
|
5,146,469 | 5,146,470 |
Multiple Dropdown Boxes that will fill in a table
|
<p>I'm going to have 3 drop down menus. </p>
<ol>
<li>that has garment.</li>
<li>has the color. </li>
<li>number of colors. </li>
</ol>
<p>When the person selects these it will generate a table that shows what the cost for the amount of pieces like 1 column 48pc then 72pc then 96pc and so on. I dont expect anyone to write the code but I was trying to figure out the best language to use. I was thinking javascript but i'm not sure where to start if anyone knows some tutorials or something to help. I would appreciate it.</p>
|
php javascript
|
[2, 3]
|
3,777,778 | 3,777,779 |
Passing Arguments into an Inline Function
|
<p>I'd like to use an inline function with arguments to set a variable. Here is a boiled down version (which apparently is only pseudo code at this point) of what I'm attempting:</p>
<pre><code>var something = 10;
var something_else = 15;
var dynamic_value = (function(something,something_else){
if(something == something_else){
return "x";
}else{
return "y";
}
})();
</code></pre>
<p>In this case, "dynamic_value" should be "y". The problem is that the variables "something" and "something_else" are never seen inside of this inline function.</p>
<p>How do you send arguments to an inline function?</p>
<p>edit: I'm using jquery, although that may not really apply to this question.</p>
|
javascript jquery
|
[3, 5]
|
4,353,155 | 4,353,156 |
How to call a function in Page.ClientScript properly
|
<p>There are two things I do not understand too well in this scenario</p>
<p>First, there is a javascript that is in this format</p>
<pre><code>function Allocate()
{
this.Name = $("allocateName");
this.AddAllocation = $("addAllocation");
this.setCustom= $("setCustom");
}
... some other initializations here
Allocate.prototype.EnableAllocations = function() {
this.enableAllAlloactions();
this.setCustomAllocations();
}
</code></pre>
<p>This is just an example, so is this some kind of class in Javascript? this is in a file called Allocate.js.</p>
<p>My questions are the following:</p>
<p>If I was to call the EnableAllocations in a <code>Page.ClientScript.RegisterClientScriptBlock(...);</code> how would I do that?</p>
|
c# javascript asp.net
|
[0, 3, 9]
|
144,410 | 144,411 |
Getting name of object as a string in JavaScript
|
<blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/85992/how-do-i-enumerate-the-properties-of-a-javascript-object">How do I enumerate the properties of a javascript object?</a><br>
<a href="http://stackoverflow.com/questions/3982721/javascript-getting-a-single-property-name">Javascript: Getting a Single Property Name</a> </p>
</blockquote>
<p>Given a JavaScript object or JSON object such as:</p>
<pre><code>{
property: "value"
}
</code></pre>
<p>How can one get the word <code>property</code> as a string?</p>
|
javascript jquery
|
[3, 5]
|
2,477,565 | 2,477,566 |
JavaScript counter
|
<p>Everytime a specific action is made in JavaScript for example this:</p>
<pre><code><script type="text/javascript">
$(function() {
$('#typing').keyup(function () {
switch($(this).val()) {
case 'containment':
// HERE
break;
}
});
});
</script>
</code></pre>
<p>inside the //HERE would be where the 'counter' was made. Then add 1 everytime the case 'containment' is run if it's not already run. So if I run containment case once.. it adds. If I run it again.. it will not -- see what I am talking about?</p>
|
javascript jquery
|
[3, 5]
|
3,018,698 | 3,018,699 |
How can I call a C++ function from C#?
|
<p>How can I call a C++ function from C# .NET?</p>
|
c# c++
|
[0, 6]
|
4,341,100 | 4,341,101 |
Do Raphael elements like RECT support the zIndex attribute
|
<p>Raphael elements do not seem to respond to zIndex modifications for me. I've tried everything to reorder a bunch of rectangles drawn one over the other and they remain unchanged. Here is what I tried.</p>
<pre><code>$(".c10").css({zIndex: 0});
$(".c50").css({zIndex: 0});
$(".c90").css({zIndex: 0});
</code></pre>
<p>I thought that this would send all the c90s to the bottom of the stack, visually.</p>
<p>Any thoughts?</p>
<p>Dennis</p>
|
javascript jquery
|
[3, 5]
|
919,084 | 919,085 |
javascript issue - unexpected token (
|
<p>this code here is suppose to call a file that will in return return data for fill in a form but i am getting this error (in the code) and i do not know why.</p>
<pre><code>dropdown.bind('change', function(){
$post.('backgroundScript.php',
Uncaught SyntaxError: Unexpected token ( - this is the error im getting
{
first: dropdown.val()
},
function(response) {
$('#first').val(response.first);
$('#last').val(response.last);
// Repeat for all of your form fields
},
'json'
);
});
</code></pre>
<p>it you would give me a hand i would appreciate it :)</p>
|
php javascript
|
[2, 3]
|
1,423,219 | 1,423,220 |
php to javascript varable not working in chrome and I.E
|
<p>I am converting a php variable to a javascript variable. It works fine in firefox, but in chrome and I.E it doesn't work,</p>
<p>Here is what i'm doing,</p>
<pre><code>var chkimg = "<?= $_imgname ?>";
</code></pre>
<p>Where $_imgname contains the data and is tested. But it doesn't convert to javascript variable!</p>
|
php javascript
|
[2, 3]
|
4,765,972 | 4,765,973 |
Get ASP.NET session id with jQuery
|
<p>I was wondering if it's possible to get the session id of a session with jQuery ?
And if so, how do I do that, can't seem to find it on jquery.com</p>
|
jquery asp.net
|
[5, 9]
|
1,190,657 | 1,190,658 |
Different ways to set context?
|
<p>Here are two ways of setting context:</p>
<pre><code>$.proxy(function() {
this.doStuff();
}, this);
</code></pre>
<p>...</p>
<pre><code>var that = this;
that.doStuff();
</code></pre>
<p>Is there any reason to use one and not the other?</p>
|
javascript jquery
|
[3, 5]
|
2,410,552 | 2,410,553 |
A question about a standard way to hide a div in Javascript and jQuery
|
<p>I'm still relatively new to javascript and jQuery and was just wondering this.</p>
<p>Suppose I have this HTML snippet:</p>
<pre><code><p id="disclaimer">
Disclaimer! </p>
<input type="button" id="hideButton" value="hide" />
</code></pre>
<p>I could hide the div in the following ways:</p>
<pre><code>$(document).ready(function() {
$('#hideButton').click(function() {
if ($('#disclaimer').css('display') == 'none') {
$('#disclaimer').show();
$('#hideButton').val('hide');
} else {
$('#disclaimer').hide();
$('#hideButton').val('unhide');
}
})
});
</code></pre>
<p>OR</p>
<pre><code>$(document).ready(function() {
$('#hideButton').click(function() {
if ($('#disclaimer').is(':visible')) {
$('#disclaimer').hide();
$('#hideButton').val('unhide');
} else {
$('#disclaimer').show();
$('#hideButton').val('hide');
}
})
});
</code></pre>
<p>My question is: Is there a preferred method of hiding the div or is it just a matter of personal preference?</p>
|
javascript jquery
|
[3, 5]
|
3,834,053 | 3,834,054 |
Trigger Div Click From Link
|
<p>I have a site <a href="http://www.thebalancedbody.ca/" rel="nofollow">http://www.thebalancedbody.ca/</a> and there is a pop out contact form on the left (Contact) which has this id <code><div id="mycontactform"></code>.</p>
<p>There is also a link in the footer called CONTACT US </p>
<pre><code><a href="#" title="CONTACT US">CONTACT US</a>
</code></pre>
<p>and I need this link to trigger the pop out contact form as if the contact tab was clicked manually.</p>
<p>Is this possible and how would I do it?</p>
<p>Thanks</p>
<p>JOnathan</p>
|
javascript jquery
|
[3, 5]
|
1,872,701 | 1,872,702 |
PHP showing null output
|
<p>I'm writing an android application that retrieves data belonging to a particular user. I'm using SharedPreference of Activity1 in Activity2.</p>
<p>here's the SharedPreference that I'm storing in Activity1</p>
<pre><code>SharedPreferences sp = getSharedPreferences("login details", 0);
SharedPreferences.Editor spedit = sp.edit();
spedit.putString("sPhone",sPhone);
spedit.putString("sPassword", sPassword);
spedit.commit();
</code></pre>
<p>I'm using the above SharedPreference in Activity2 and sending it as a String to a PHP file:
The Activity2 code:</p>
<pre><code>SharedPreferences prefs = getSharedPreferences("login details", 0);
String str = prefs.getString("sPhone", "");
nameValuePairs.add(new BasicNameValuePair("userid", str));
httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));
httppost.setHeader("Content-type", "application/json");
response = httpclient.execute(httppost);
entity = response.getEntity();
is = entity.getContent();
</code></pre>
<p>Here's the PHP code:</p>
<pre><code><?php
mysql_connect("localhost","root","");
mysql_select_db("assigndroid");
header('content-type=application/json; charset=utf-8');
//$userID = isset($_POST['userid']) ? $_POST['userid'] : '';
$userID = mysql_real_escape_string($_POST['userid']);
$sql=mysql_query("select * from newassignment where issuedBy='$userID';");
while($row=mysql_fetch_assoc($sql))
$output[]=$row;
print(json_encode($output));
mysql_close();
?>
</code></pre>
<p>But the SQL query is returning 'null'. I get an error saying "Undefined variable output". And due to this null value, the application is crashing on the emulator by saying a "FATAL EXCEPTION AsyncTask #1"</p>
<p>Can anyone help me out here? I urgently need this code for my project work which should be submitted on Friday. Please, can anyone help me out here? Thank you in advance! :)</p>
|
php android
|
[2, 4]
|
4,269,134 | 4,269,135 |
how does accordion works?
|
<p>I'm not asking how to <code>show/hide</code> content upon <code>click</code>.</p>
<p>All I want to know is how by placing 2 divs, one on top the other, I can get the effect that by clicking on the bottom div, it "closing" the upper div. that's all. Not exactly accordion, but this is enough for my situation.</p>
<p>I tried to achieve this by animating the upper div height to 0, after clicking the bottom div. It works but not smoothly enough. and IE browsers didn't like it:</p>
<p><strong>JQUERY</strong></p>
<pre><code>$('#BottomDiv').click(function() {
$('#UpperDiv').animate({ height: '0px' }, "slow");
});
</code></pre>
<p>in the markup side, both divs are position - relative:</p>
<p><strong>HTML</strong></p>
<pre><code> <div id="UpperDiv" style="height:190px; width:100%; margin-top:80px; position:relative">
</div>
<div id="BottomDiv" style="width:100%; position:relative; z-index:10; float:left;" >
</div>
</code></pre>
<p>So I was just curious maybe there is a better way to achieve this, like jQuery accordion does it. Smooth and works for all browsers.</p>
|
javascript jquery
|
[3, 5]
|
2,414,320 | 2,414,321 |
Using jQuery to find certain text, then add class onto the following UL
|
<p>So I am trying to add a class onto a UL depending on the text used in the navigation.</p>
<p>For example.</p>
<pre><code> <li>
<a href="#">Text</a>
<ul>
</ul>
</li>
</code></pre>
<p>I want to add a class onto the ul depending on the text inside the a tag, to find the text I just use the a:contains method </p>
<pre><code>$('#nav > li > a:contains("text")')
</code></pre>
<p>After that I draw a blank on how to add a class onto the ul that follows, I thought the .next might work but it turns out it doesn't.</p>
<p>Any help would be greatly appreciated! </p>
|
javascript jquery
|
[3, 5]
|
992,093 | 992,094 |
How to reset image positions
|
<p>I am making a game and I am trying to create a game end function. How would I go about resetting all images to their starting positions?</p>
|
javascript jquery
|
[3, 5]
|
2,889,490 | 2,889,491 |
how to resize a picture programatically and add it to the web site
|
<p>Hi there
I am working with visual web developer and would a) like to know how I could programatcally add a picture to the website, instead of going to Website and then add existing item. The idea I have is to upload the picture using the file upload control but then I want to have it added so that it can be accessed using a gridview.
b)I would also like to know how to size the picture using C# code obviously so that is displayed at the correct size.</p>
<p>best regards
arian</p>
|
c# asp.net
|
[0, 9]
|
4,738,353 | 4,738,354 |
javascript ClearTimeout with jquery droppable out
|
<p>I have this code </p>
<pre><code> var expandTimerId=0;
$(".droppable").droppable({
tollerance : 'pointer',
greedy : true ,
hoverClass : 'dropHover',
drop : _onDropItem,
over: _onDragOver,
out: function(event,ui){
clearTimeout ( expandTimerId );
}
});
function _onDragOver(event, ui){
var expandNode = $(this).children(".expandNode");
expandTimerId = setTimeout(function(){
$(expandNode).trigger("click");
}, 2000);
}
</code></pre>
<p>What i wanted to do is, When an object is drag on top of droppable for 2second or a period of time the droppable will expand itself. droppable is a tree with branch.</p>
<p>If i didnt add cleartimeout on out. The branch would expand. But when i add cleartimeout, the branch wouldnt expand even though i didnt move the drag, out.</p>
<p>Did i have any mistakes in the code? or is the out event trigger even though im not moving the object out of droppable?</p>
|
javascript jquery
|
[3, 5]
|
3,374,895 | 3,374,896 |
JQuery / JavaScript MAC Address Validation
|
<blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="http://stackoverflow.com/questions/4260467/what-is-a-regular-expression-for-a-mac-address">What is a regular expression for a MAC Address?</a> </p>
</blockquote>
<p>I would like to validate a string to ensure that it is a valid MAC Address.</p>
<p>Any ideas in Jquery or Javascript?</p>
<p>I have the following:</p>
<pre><code>var mystring= '004F78935612' - This type of MAC Address
var rege = /([0-9a-fA-F][0-9a-fA-F]){5}([0-9a-fA-F][0-9a-fA-F])/;
alert(rege.test(mystring));
</code></pre>
<p>But its not all that accurate.</p>
<p>Ie. My tissue box is a valid MAC Address?!?</p>
<p>Thanks!</p>
|
javascript jquery
|
[3, 5]
|
5,515,756 | 5,515,757 |
Dynamically change size of div and all its content?
|
<p>Please note that this is not the same question as "change a div size to fit content". What I have is a relatively positioned div with a couple of absolutely positioned images inside it:</p>
<pre><code><div id="nj_size_holder">
<img id="nj_credit_card" src="credit_card.png" width="340"/>
<img id="nj_ruler" src="ruler.jpg" />
<img id="nj_item_image" src="{$base_dir_ssl}img/p/{$imgurl}" height='{$imgheight}'/>
</div>
</code></pre>
<p>What I also have is a Javascript/jQuery function. This function is where my question lies. What I need it to do is - given a certain parameter (as a percentage) it should dynamically resize both the div and the images inside it by that percentage.</p>
<pre><code>function resizeAll(perc){
//resize everything here
}
</code></pre>
<p>So if the div height is initially 600px and the "nj_ruler" image height is 400, calling resizeAll(25) should increase the height of the div to 750px and the height of the image to 500px (25% increase).</p>
<p>Is there a way to accomplish this without increasing each height individually? There will be more elements in the div later on and, if possible, I'd like to have a function which resizes everything without referring to every element within the div individually.</p>
|
javascript jquery
|
[3, 5]
|
2,742,058 | 2,742,059 |
Add php database to java script file
|
<p>I am working on a project of web calendar. I want to add my php database file to the java script file. When I click on the save button of calendar, the entries showed in calendar, but I m unable to add PHP file to save button. So when I click on save button, the entry should go to the database(php file).</p>
<p>code goes here:-</p>
<pre><code>buttons:
{
save : function()
{
calEvent.id = id;
id++;
calEvent.start = new Date(startField.val());
calEvent.end = new Date(endField.val());
calEvent.title = titleField.val();
calEvent.body = bodyField.val();
$calendar.weekCalendar("removeUnsavedEvents");
$calendar.weekCalendar("updateEvent", calEvent);
$dialogContent.dialog("close");
},
cancel : function() {
$dialogContent.dialog("close");
}
}
</code></pre>
|
php javascript
|
[2, 3]
|
3,946,708 | 3,946,709 |
Access web control from class file in asp.net 4
|
<p>I am doing a simple page (Default.aspx), where is a DropDownList (id <strong>colors</strong>) control. It is easy to populate it with items in PageLoad method. </p>
<pre><code>protected void Page_Load(object sender, EventArgs e)
{
if (!this.IsPostBack)
{
colors.Items.Add("red");
}
} etc. ....
</code></pre>
<p>However, is it possible to fill the <strong>colors</strong> control from external class file (I mean some class file located in AppCode folder). </p>
<p>Thanks.</p>
|
c# asp.net
|
[0, 9]
|
4,677,575 | 4,677,576 |
Conversion of Date
|
<p>I am getting date in two different formats.<br>
1) <code>2012-01-05</code><br>
2) <code>05/01/2012</code><br>
But i want this to be in the below format. <code>"5 Jan 2011"</code> </p>
<p>Please help..
Now i'm having <code>String d1="2012-01-05"</code> and <code>String d2="2012-01-05".</code><br>
urgent..</p>
|
java android
|
[1, 4]
|
5,438,986 | 5,438,987 |
Locating DOM element by absolute coordinates
|
<p>Is there a simple way to locate all DOM elements that "cover" (that is, have within its boundaries) a pixel with X/Y coordinate pair?</p>
<p>Thank you!</p>
|
javascript jquery
|
[3, 5]
|
79,295 | 79,296 |
Buttons in treeView
|
<p>I am making an application where I want to display buttons next to each expanded leaf node.
I looked for tree list view and datagrid in tree view but nothing helped.
It would be great if anyone could suggest something
I am coding with c# and using asp.net.</p>
<p>I am looking for something like this: </p>
<ul>
<li><p>Parent</p>
<pre><code>-Child 1 Button1 Button2
-Child 2 Button1 button2
</code></pre></li>
<li><p>Parent2</p></li>
<li><p>Parent3</p></li>
<li><p>Parent 4</p></li>
</ul>
<p>Buttons are displayed in front of only those nodes which are expanded.</p>
|
c# asp.net
|
[0, 9]
|
4,181,907 | 4,181,908 |
java - checking file content before uploading to server
|
<p>i have got a situation now.</p>
<p>I need to develop a webpage where user can select a file to upload and before uploading the file to server i need to check first few lines of the file whether the data is valid or not and if the data is valid then upload the file, if not through an error message.</p>
<p>the file will be text file.</p>
<p>thanks,</p>
<p>Sandeep</p>
|
java javascript
|
[1, 3]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.