I've got the following javascript function:
function addConfirmLine(number, strItem, strValue) {
var confirmLine = document.getElementById("divConfirmation").appendChild(document.createElement("div"));
confirmLine.id = "divConfirmLine" + number;
var confirmItem = confirmLine.appendChild(document.createElemen...
I have read the MSDN blog post about the subject.
And this question doesn't help me much either.
As far as i can tell checking Microsoft.XmlHttp is enough.
Someone could confirm me this bug?
Are there any earlier version of IE which require detecting both?
...
Let's say I have some text as follows:
do this, do that,
then this, then that
I use CSS to add a drop shadow.
I can also use CSS to add a yellow glow behind "do this", as described here:
http://www.kremalicious.com/2008/04/make-cool-and-clever-text-effects-with-css-text-shadow/
What I want is a repeating animation:
1 secon...
Hi i have 2 tables one table contaning header and other one result set i wanna match header with resultset.I tried with javascript offsetwidth but no use.Please let me know any other method i also tried with fixed width thats also no use.I dont wanna use any framework for this
...
I have some ten html pages each page also has same header and footer tag can i have one page with complete header and footer ,and i will refer to that particular page from other html pages.
...
I have HTML pages like example1.html, example2.html, example3.html, and example4.html. All pages have the same header, footer, and sidebar.
How can I make one master template which replicates any one of those so that I will avoid repeating header and footer code in each of the HTML pages?
My server side will be asmx web services coded...
I have some ten html pages each page has same search tab, when i click search button from any of the page it navigates to index page with search text passed through query string and displays output on the index page . How can i write click on the index page with search parameters entered from index page search tab and display the results...
I have five html pages ,all pages have same search tab,header,footer, my question is when enter particular searchtext and click search only the content place where the output will be displayed has to be changed in the html pages without change in header and footer.
I am using html ,javascript,jquery on clientside and webservices with ...
How to disable the querystring value once the value from is extracted
$(document).ready(function() {
var page1 = Request.QueryString("page1");
alert(page1);
if (page1 == 1) {
// i will execute my code here
............
........
.......
}
else
{
$("#SearchButton").click(function() {
}...
I have around ten html pages all have search tab ,only one page is dedicated to display the search result , from which ever page i enter search it directs to search page and displays output ,is their any better method to do this?
I am using jquery on clientside and webservices written in c# on the server side and i am not using master p...
I have this code fragment
var combo = new dhtmlXCombo("combo_zone4", "alfa4", 230);
combo.loadXML("create_store2.php");
combo.attachEvent("onChange", onChangeFunc);
combo.enableFilteringMode(true, "select_store.php");
function onChangeFunc() {
var d=combo.getSelectedValue();
var product=$("#selProduct");
...
String +
if user click the + sign i want to show some oder list
then String -
If the user click the - sign i want to hide order list
How to acheive this with javascript , not using ajax , jquery
...
<html>
<body>
sdadfasdf a
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
asfdasdfasdfadf
</body>
</html>
Output is
sdadfasdf a
Coffee
Tea
Milk
asfdasdfasdfadf
How to remove above and below spaces in Order list
...
In this simple script i get the error "obj.parentNode.getElementById is not a function", and I have no idea, what is wrong.
<script type="text/javascript">
function dosomething (obj) {
sibling=obj.parentNode.getElementById("2");
alert(sibling.getAttribute("attr"));
}
</script>
<body>
<div>
<a id=...
Hi there
I found a vertical menu but I'm having some problems with it , because i have some incompatibility with ie 7, 8, 9 and also with safari, just it working for firefox.
Here I leave the website www.timetarget.com/newsite
please any help or comments will be help me .
Cheers
...
I need to dynamically add elements to a page, but unfortunately when I do it using the jquery .append() method, the elements seem to act differently from other elements already on the page, despite the same CSS.
I created an example page that reproduces the problem.
on the top is a list (ul with a bunch of li's ) with statically defi...
Hi there
I found a vertical menu but I'm having some problems with it, i can't navigate properly in the submenu because i miss the menu when i move down.
Here I leave the website www.timetarget.com/newsite
please any help or comments will be help me .
Cheers
...
Is there a way to know if your page is opened inside of an IFrame?
An idea I had was to see if the window object has a .parent property, but this apparently is also true of standalone windows which are opened by Javascript's window.open() function.
...
When creating a web page who's content will be created and destroyed dynamically by the user, what is the best way to structure and initialize both the javascript functionality and the DOM Elements?
Example -- Lets say you have a todo-list who's items can be re-ordered, created, and destroyed by the user:
Each Item will have a visual ...
Hi,
I have the following jQuery which will allow me to update the widths and classes from the header of one table onto the data cells of another.
Currently the following only updates the first row in the other table but i need it to update all the widths and classes in the other table for consistency :(
$($orginalHeaders).each(functio...