Hi friends,
i was just curious as how to do this.
i want to open www.whatsmyip.com or something similar from my webpage.
put an ip address in the textbox in that page.
click the button
and read the value(suppose a textbox)..
i want to achieve all this programtically without any humaninteraction..
how is that possible.
...
Sounds dummy but I can't set to a server-side control's property a value contains quote marks ":
<asp:CompareValidator ErrorMessage="Currency-from can't be equal to currency-to" runat="server" />
I need to quote "from" and "to".
I tried escaping \"from\" and double quote marks ""from"" - both doesn't work. How to do that?
...
When I test this
http://www.andrewsellick.com/examples/sliding-side-bar/#
results are buggy and not the same.
Don't both based on the same standard ?
...
I'm trying do to a very simple operation of merging two columns in a table. This seems easy with the colspan, but if I merge different columns without leaving at least one row without any merged columns, the sizing gets completely messed up. Please see the following example at http://www.allthingsdope.com/table.html or take a look at a...
Dont worry we dont need to find out any bug in this code.. Its working perfectly.:-P
My boss came to me and said "Hey just tell me whats the best of way of writing code for a dynamic HTML table (add row, delete row, update row).No need to add any CSS. Just javascript. No Jquery library etc. I was confused that in the middle of the proje...
I want to double click on a div, but right now it "selects"/highlights a word. How do I make it so that this doesn't happen?
I tried:
$(this).hide().show()
and
$(this).blur()
But it still highlights the word.
...
I was about to redo a Rails site today using AJAX so that the background could remain in place. Then I thought, "that would be exactly like using frames," and then I thought about SEO consequences and I dropped the idea entirely and took a look around the Web. It turns out that few sites -- except for Google itself, which has the link ba...
I'm passing the company name to an onclick event. Some company names have apostrophes in them. I added '.Replace("'", "'")' to the company_name field. This allows the onclick event to fire, but the confirm message displays as "Jane&# 39;s Welding Company".
<a href="#" onclick="return Actionclick('<%= Url.Action("Activate", new {id ...
I've noticed a small alignment issue in the three major browsers when rendering my web site. As such how can I perform the following pseudo-code with pure CSS?
if Webkit (Safari/Chrome) {
#myDIV {margin-top:-3px}
} else if (Firefox) {
#myDIV {margin-top:0px}
} else { // IE and other browsers
#myDIV {margin-top:1px}
}
...
Hey guys,
In one of my pages, I use a Flex 4 app in a column on the left, and then normal HTML in a column to the right. Is there anyway I can make it so that the ratio between the two columns is the same no matter the resolution?
Thanks for reading.
...
In my application i have lots of divs containing text. All divs have overflow set to hidden so that the user does not see the text if the container is not large enough to contain the writing.
If the user wants to see the hidden text they are supposed to mouse over the "box". The box then expands and shows the text. Sounds simple enough,...
i think my title says it all
...
How could I identify which Ctrl / Shift / Alt keys are pressed in the following code ?
$("#my_id").click(function() {
if (<left control key is pressed>) { alert("Left Ctrl"); }
if (<right shift and left alt keys are pressed>) { alert("Right Shift + Left Alt"); }
});
I work with Firefox 3.6.3.
Thanks !
...
I have a doubt which might be silly for experience Rails developers.
I am creating an application which is suppose to embed a video player with URL passed to it.
So while displaying i.e in XXX.html.erb file i am writting below code. Now problem is @movie.trailer is my variable in ruby code which has URL value . I want the embedded video...
I have a script that links to the server I am hosting (IP can change) usually I would just use for links:
var url ='http://' + window.location.hostname + 'end of url';
But in this case it isnt appearing to be so easy.
I have tried: (1)
$('#scriptid').attr('src', url);
as well as: (2)
var script = document.createElement( 'script'...
Hi,
i got some li's that i'd like to sort and search through using jquery.
I've found
http://plugins.jquery.com/project/TinySort to sort things
and http://stackoverflow.com/questions/1428645/search-through-a-big-list-fast-with-jquery to search through the li's.
Is there a good plugin that can handle both things (search+sort) or is the...
Hi,
is there a way to see which elements of a website are still loading so that window.onload can't fire yet?
...
When I'm trying to create a rounded shaded box it works fine on FF and IE8 but on IE6 and IE7, any div inside the box gets the last background but if you set that all divs on the level where there should not be a background have background:none it doesn't show any background on the level that comes before
*The code is pointing to live i...
Hi,
I have a complex background image and images, that should be on exact positions of the background image.
How can I organize web page?
I can't use absolute positions, because I need to organize background to view it nice on any monitor, any resolution and any browser. It can be aligned to center or smth else.
Web page can be writ...
Hello everybody,
I have multi-step form and user can navigate to any page to modify or add information. There is a menu that shows progress and steps user completed. This menu allows to navigate to any step user completed or going to complete.
Inspite of big button "Save and Continue" some users click this menu to navigate further. I ...