Hi,
I tried blink the rows of ASp:Gridview. Have succeded in IE but not working in FF and safari. FF error console says "Error: gridRef.childNodes is not a function" Can anybody tell me where exactly I am wrong...
The Javascript used is:
');
for (var i=0; i
and on my gridview_rowdatabound I have
e.Row.Attributes.Add("blinkingRow", "Y");
I'm in need of some help, I need to store the information below into a database, what would the relational database structure be for this:
Then I need to create a dropdown for the insurance company followed by another dropdown depending on what the first dropdown selected value was, then once both selects have been chosen display the relevant telephone number.
I guess i need to query the database, then display the dropdowns using javascript(jquery) or Ajax?
hey there,
in my google analytics account there is a page tracked usually opened as a javascript window.open() pop-up (same domain as referring page).
unfortunately, g.a. categorizes the pop-up page as entrance, although it is just a step in the whole navigation flow.
how can i avoid this?
thanks for your help!
I've some html code generated in javascript like this
cell.innerHTML = '<a href="#" class="sortheader" id="sortheader_'+i+'" '+
'onclick="ts_resortTable(this, '+i+');return false;">' +
txt+'<span class="sortarrow"></span></a>';
I'd like to call the function ts_resortTable() but independently of the onclick event how can i generate the "this" parameter of the function?
I tried the DOM selector : $('sortheader_'+i) in jQuery and the getElementById('#sortheader_'+i) as well but it's not working
My firefox downloads the JSON response of an AJAX call as a file.
It's suppose to be handled by the JavaScript i.e. JSON object.
Can anyone explain how to stop this behavior or there is something I am missing.
Thanks.
My javascript looks like the following. I don't understand why these methods are all public though?
Something.RegisterNamespace("One.ABC");
(function(ABC) {
ABC.SayHello = function() {
alert('hello');
};
})(One.ABC);
So now I can do:
One.ABC.SayHello();
Is there any difference between
1 : <a href="javascript:MyFunction()">Link1</a>
and
2 : <a href="#" onclick="MyFunction()">Link2</a>
?
Would one affect the page performance by any means ?
<td style="width:230px;overflow:hidden;">
<?php echo $something; ?>
</td>
What I'm doing is to cut $something to 2 rows at most,and add ... when necessary,
but this kind of requirement seems clue less when trying to implement,
Solutions within the scope of php/javascript/css are appreciated!
anyone has ideas?
Is there a widely supported video playback technology for web pages that provides an event/hook that can be captured from Javascript when playback reaches the end of the stream?
My goal is to provide a web page that plays a video and then asks the user a question about the video once playback is complete. The question would be hidden or disabled until they have actually viewed the video.
Hello fellow front-end web h4X0|2s,
I was wondering if anyone had any resources, proof, or personal experience in using the age-old http/https JavaScript hack:
<script src="//someserver.com/js/script.js"></script>
Has anyone encountered issues in any of these browsers (IE 5.5+, FF2+, Chrome, Opera 9+, Safari 3+)? Has anybody had success stories?
Thank you for your help.
We used to be able to use javascript in IE to produce a chromeless window...no buttons, scrollbars or even the standard edges of the browser window.
My question: Is there any way to accomplish this type of window look from the web with today's browsers?
I want to check the performance of the gzip decoding speed in a web browser.
In the Java or c#, we can easily check the gzip decoding time.
But I can not measure the decoding time in the web browser.
plz help me.
I want to check some decoding speed of gzipped html files.
With JavaScript can I measure the performance.
Hi,
I'm working on a site that in some of its forms , a specific language is needed to be used. (sth like a Dictionary).I want to know if there is a Tag in Javascript/Html that i can check the language?for example if i need the input in japanese and user gave me an English word,it finds out and gives an error.
How to make up a form that is going to be a search box and work only via Ajax? That is:
1) What to put as the form's action value? (action="what")
2) How to submit it so that nothing else happenes except for calling the JavaScript function?
I'm sending an ajax request that will either give me an error or a userID
<?xml version="1.0" encoding="UTF-8"?>
<error>1000</error>
<?xml version="1.0" encoding="UTF-8"?>
<userID>8</userID>
how can I find out if the root element is error or userID using jquery or just javascript in general. Using the find method doesn't appear to work if what you're trying to access is the root element
I want alternative rows in my table to be shaded. what is the best way to do this, javascript, rails?
Today, i do a simple <% num % 2%, but this is such a common operation that i think there should be a smarter way to do it
When I create a document using javascript document.write
this is an iframe
then i call iframe.print()
nothing happens no error and no print dialog.
how can I print?
I'm trying to write fully automated unit tests in JavaScript and I'm looking for a way to read some private variables in various JS functions. I thought I recalled a way to inject privileged members into a function/object (and found an overwhelming occurrence of "no such thing as private in JS") and yet I can't find any resources indicating how.
I'm trying to read through the properties of .prototype but if there's a way, someone out here would know where to direct me faster than I'd find on my own.
Thanks
hi i am newbie to javascript....
i want to synchronize scrolling of two select boxes, so that when i scroll down the first select box the scroll bar of another select box also scrolls....
In Javascript, I have a variable that is set to a block of text from a WYSIWYG editor.
I want to use JQUERY's EACH() to find span's with the class XXXX.
$( "span.foods" ).each( function() {});
But I want it to search in the variable I have, lets call if lookHere
Is this possible?
Hey,
Is it possible to use jQuery on a new Window javascript object?
Example:
win = new Window();
jQuery(win).ready(function(){
do jQuery stuff on the new window here??
});
Is something like this possible?
Hi,
Is there a quick way to translate (using CSS or Javascript) a tables TD into TR, currently I have:
A B C D
1 2 3 4
and I want to translate to:
A 1
B 2
C 3
D 4
??
Does executing javascript within a browser in 'strict mode' make it more performant, in general? Do any of the major browsers do additional optimisation or use any other techniques that will improve performance in strict mode?
Edit: Since none of the major engines actually implement strict mode, I'll rephrase slightly: Is strict mode intended, amongst its other goals, to allow browsers to introduce additional optimisations or other performance enhancements?