473,698 Members | 2,426 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help Jquery: unable to register a ready function


Hello All

I am trying to activate a link using Jquery. Here is my code;

<html>
<head>
<script type="text/javascript" src="../../resources/js/
jquery-1.2.6.js"</script>

<script language="javas cript" type="text/javascript">

$(document).rea dy(function(){ $('.mylink').cl ick(function()
{ $.jPrintArea('# tabularData') }); });

jQuery.jPrintAr ea=function(el)
{
alert("hello");

var iframe=document .createElement( 'IFRAME');

var doc=null;

$(iframe).attr( 'style','positi on:absolute;wid th:0px;height:
0px;left:-500px;top:-500px;');

document.body.a ppendChild(ifra me);

doc=iframe.cont entWindow.docum ent;

var links=window.do cument.getEleme ntsByTagName('l ink');

for(var i=0;i<links.len gth;i++)
if(links[i].rel.toLowerCas e()=='styleshee t')

doc.write('<lin k type="text/css" rel="stylesheet " href="'+links[i].href
+'"></link>');

doc.write('<div class="'+$(el). attr("class")+' ">'+$(el).html( )+'</
div>');

doc.close();

iframe.contentW indow.focus();

iframe.contentW indow.print();

alert('Printing ...');

//wait(1);

document.body.r emoveChild(ifra me);

}
</script>
</head>
<body>
<div id="tabularData ">
<a href="#" class="mylink" name="mylink">P rint this Table</a>
</div>
</body>
</html>

When I click on the link I see nothing. I am expecting to see an
alert. Could someone please tell me where
I am going wrong?

Thanks for your help. Sorry I am unable to post the code on a web
site.

Oct 28 '08 #1
53 8390
On Oct 28, 7:50*am, "souporpo...@gm ail.com" <soup_or_po...@ yahoo.com>
wrote:
Hello All

I am trying to activate a link using Jquery. Here is my code;
Trying to do what? And you can't do anything useful with jQuery.

You forgot the doctype.
>
<html>
<head>
<script type="text/javascript" src="../../resources/js/
jquery-1.2.6.js"</script>
Remove this.
>
<script language="javas cript" type="text/javascript">

$(document).rea dy(function(){ * $('.mylink').cl ick(function()
{ $.jPrintArea('# tabularData') }); * * *});
This is the sort of mangled syntax that the jQuery crowd thinks "makes
JavaScript bearable?" This is complete nonsense and about as
inefficient as it gets. And BTW, their "ready" method is known to be
unreliable.

>
jQuery.jPrintAr ea=function(el)
{
* * * * alert("hello");

var iframe=document .createElement( 'IFRAME');

var doc=null;

$(iframe).attr( 'style','positi on:absolute;wid th:0px;height:
0px;left:-500px;top:-500px;');

document.body.a ppendChild(ifra me);

doc=iframe.cont entWindow.docum ent;

var links=window.do cument.getEleme ntsByTagName('l ink');

for(var i=0;i<links.len gth;i++)
if(links[i].rel.toLowerCas e()=='styleshee t')

doc.write('<lin k type="text/css" rel="stylesheet " href="'+links[i].href
+'"></link>');

doc.write('<div class="'+$(el). attr("class")+' ">'+$(el).html( )+'</
div>');

doc.close();

iframe.contentW indow.focus();

iframe.contentW indow.print();

alert('Printing ...');

//wait(1);

document.body.r emoveChild(ifra me);

}

</script>
</head>
<body>
<div id="tabularData ">
<a href="#" class="mylink" name="mylink">P rint this Table</a>
</div>
</body>
</html>

When I click on the link I see nothing. I am expecting to see an
alert. Could someone please tell me where
I am going wrong?
Yes. You clearly want to add scripting to your site, but do not know
how. You heard that jQuery would make it really easy and you won't
have to learn anything about ECMAScript, cross-browser issues, etc.
Just wind it up and watch it go, right? It won't work. Yes, lots of
pundits on blogs say it works, but they don't know what they are
talking about.

See the FAQ for some basic examples. That is the best place to start.
Oct 28 '08 #2
On Oct 28, 2:35*pm, David Mark <dmark.cins...@ gmail.comwrote:
On Oct 28, 7:50*am, "souporpo...@gm ail.com" <soup_or_po...@ yahoo.com>
wrote:
Hello All
I am trying to activate a link using Jquery. Here is my code;

Trying to do what? *And you can't do anything useful with jQuery.

You forgot the doctype.
<html>
<head>
<script type="text/javascript" src="../../resources/js/
jquery-1.2.6.js"</script>

Remove this.
<script language="javas cript" type="text/javascript">
$(document).rea dy(function(){ * $('.mylink').cl ick(function()
{ $.jPrintArea('# tabularData') }); * * *});

This is the sort of mangled syntax that the jQuery crowd thinks "makes
JavaScript bearable?" *This is complete nonsense and about as
inefficient as it gets. *And BTW, their "ready" method is known to be
unreliable.


jQuery.jPrintAr ea=function(el)
{
* * * * alert("hello");
var iframe=document .createElement( 'IFRAME');
var doc=null;
$(iframe).attr( 'style','positi on:absolute;wid th:0px;height:
0px;left:-500px;top:-500px;');
document.body.a ppendChild(ifra me);
doc=iframe.cont entWindow.docum ent;
var links=window.do cument.getEleme ntsByTagName('l ink');
for(var i=0;i<links.len gth;i++)
if(links[i].rel.toLowerCas e()=='styleshee t')
doc.write('<lin k type="text/css" rel="stylesheet " href="'+links[i].href
+'"></link>');
doc.write('<div class="'+$(el). attr("class")+' ">'+$(el).html( )+'</
div>');
doc.close();
iframe.contentW indow.focus();
iframe.contentW indow.print();
alert('Printing ...');
//wait(1);
document.body.r emoveChild(ifra me);
}
</script>
</head>
<body>
<div id="tabularData ">
<a href="#" class="mylink" name="mylink">P rint this Table</a>
</div>
</body>
</html>
When I click on the link I see nothing. I am expecting to see an
alert. Could someone please tell me where
I am going wrong?

Yes. *You clearly want to add scripting to your site, but do not know
how. *You heard that jQuery would make it really easy and you won't
have to learn anything about ECMAScript, cross-browser issues, etc.
Just wind it up and watch it go, right? *It won't work. *Yes, lots of
pundits on blogs say it works, but they don't know what they are
talking about.

See the FAQ for some basic examples. *That is the best place to start.
You are right. I can't agree with you more. I found the following
vanilla javascript to be working
perfectly. For the benefit of some, I am posting it here. I am
convinced Jquery is not for me. Thanks

var iframe; //global
function printArea (el) {
iframe=document .createElement( 'IFRAME');
var doc=null;
iframe.style.he ight='0px';
iframe.style.wi dth='0px';
document.body.a ppendChild(ifra me);
doc=iframe.cont entWindow.docum ent;
var innerhtml = document.getEle mentById(el).in nerHTML;
doc.write('<htm l><body><div>'+ innerhtml +'</div></body></html>');
doc.close();
iframe.contentW indow.focus();
iframe.contentW indow.print();

setTimeout("doc ument.body.remo veChild(iframe) ",5000);

}
And it is called as printArea('mydi v') where mydiv is the div tag
wrapping around some html.
Oct 29 '08 #3
so*********@gma il.com wrote:
On Oct 28, 2:35 pm, David Mark <dmark.cins...@ gmail.comwrote:
[...]
>See the FAQ for some basic examples. That is the best place to start.

You are right. I can't agree with you more. I found the following
vanilla javascript to be working
perfectly. For the benefit of some, I am posting it here. I am
convinced Jquery is not for me. Thanks

var iframe; //global
You seem to be making iframe global so you can call it from setTimeout.
You don't have to do that, you can use a closure instead.

function printArea (el) {
iframe=document .createElement( 'IFRAME');
var doc=null;
There is rarely any need to initialise a variable with null if you are
going to set its value later. Just declare it, its value will be
undefined, which is more-or-less equivalent to null.

iframe.style.he ight='0px';
iframe.style.wi dth='0px';
document.body.a ppendChild(ifra me);
doc=iframe.cont entWindow.docum ent;
Now you've assigned a value to doc, the previous assignment did nothing
useful. It's not really an issue, just that you didn't need to assign
it a value of null.

var innerhtml = document.getEle mentById(el).in nerHTML;
doc.write('<htm l><body><div>'+ innerhtml +'</div></body></html>');
doc.close();
iframe.contentW indow.focus();
iframe.contentW indow.print();

setTimeout("doc ument.body.remo veChild(iframe) ",5000);
To use a closure so you don't need the global variable, try:

setTimeout(func tion(){document .body.removeChi ld(iframe)}, 5000);
Untested, but should be OK.
>
}
And it is called as printArea('mydi v') where mydiv is the div tag
div element. :-)
--
Rob
Oct 29 '08 #4
On Oct 28, 1:35*pm, David Mark <dmark.cins...@ gmail.comwrote:
And you can't do anything useful with jQuery.
You forgot the wink: ;)
You forgot the doctype.
Perhaps intentionally. (For example, when inserting code into an
existing product or service with no doctype, it's best to test without
a doctype).
$(document).rea dy(function(){ * $('.mylink').cl ick(function()
{ $.jPrintArea('# tabularData') }); * * *});
This is the sort of mangled syntax that the jQuery crowd thinks "makes
JavaScript bearable?" *
No. His formatting was terrible. I would write it like:

$(function(){
$('.mylink').cl ick(function(){
$.jPrintArea('# tabularData');
});
});

ah, yes. Much better.
And BTW, their "ready" method is known to be unreliable.
Really? Under what conditions? Where would someone locate a more
reliable method of determining when the DOM is ready?

Hope that helps!

Matt Kruse
Oct 29 '08 #5
On Oct 29, 2:39*pm, Matt Kruse <m...@thekrusef amily.comwrote:
On Oct 28, 1:35*pm, David Mark <dmark.cins...@ gmail.comwrote:
And you can't do anything useful with jQuery.

You forgot the wink: ;)
Why would I wink about that? It is a proven fact. You just have a
(very) short memory.
>
You forgot the doctype.

Perhaps intentionally. (For example, when inserting code into an
existing product or service with no doctype, it's best to test without
a doctype).
Oh, I am sure that was the intention.
>
$(document).rea dy(function(){ * $('.mylink').cl ick(function()
{ $.jPrintArea('# tabularData') }); * * *});
This is the sort of mangled syntax that the jQuery crowd thinks "makes
JavaScript bearable?" *

No. His formatting was terrible. I would write it like:
Formatting?! What does that have to do with anything?
>
$(function(){
* $('.mylink').cl ick(function(){
* * $.jPrintArea('# tabularData');
* });

});

ah, yes. Much better.
Much better than what? Look at that BS. Create a big jQuery object,
which is known to have problems with its own arguments (typeof a ==
'array', isFunction, etc.) due to an incredibly ignorant design, then
discard a big jQuery object. Create a big jQuery object, discard a
big jQuery object, create a big jQuery object, discard a big jQuery
object, etc., etc. That's how all of the pathetic examples for this
library read. It encourages people to be as inefficient as possible.
And how many functions are called by the above "better" example?
3000?

And you already know about the browser sniffing and the all-around
incompetence of the author.

http://ejohn.org/blog/future-proofin...ipt-libraries/

That one is my personal favorite, next to the time he asked me for a
"magic flag" to feature test get/setAttribute. Yes, I gave it to him,
but I think he had fled back to gumdrop-land by then.

Though for comic relief, you can't beat this one:

http://ejohn.org/blog/most-bizarre-ie-quirk/

What kind of idiot would delegate the most critical browser scripting
tasks to people like that? In 2008 no less?! And we just had this
discussion a year ago. Did you fall on your head since?

I take it you like to write "plug-ins" for jQuery. How
irresponsible. Are we to congratulate you for volunteering to help
the helpless? Of course not. You are serving up poison in a soup
kitchen.

I gather you like being a Big Fish in a very shallow pond.
>
And BTW, their "ready" method is known to be unreliable.

Really? Under what conditions? Where would someone locate a more
reliable method of determining when the DOM is ready?
Google? This group? I have personally published such methods. Peter
has a Blog entry on the subject. Perhaps you were too busy with the
special needs class to notice.
>
Hope that helps!
In a way, I think it did. Care to help dispel any more myths about
jQuery? You do that inadvertently every time you open your mouth in
here.
Oct 29 '08 #6
On Oct 29, 2:43*pm, David Mark <dmark.cins...@ gmail.comwrote:
And you can't do anything useful with jQuery.
You forgot the wink: ;)
Why would I wink about that? *It is a proven fact. *You just have a
(very) short memory.
I do useful things with it all the time. That seems to falsify your
theory. *WINK*
$(function(){
* $('.mylink').cl ick(function(){
* * $.jPrintArea('# tabularData');
* });
});
ah, yes. Much better.
Much better than what? *Look at that BS. *Create a big jQuery object,
which is known to have problems with its own arguments (typeof a ==
'array', isFunction, etc.) due to an incredibly ignorant design
Ignorant design = true
Problems = Only if you hit the cases where problems might exist, and I
never have except in theory.
>, then
discard a big jQuery object. *Create a big jQuery object, discard a
big jQuery object, create a big jQuery object, discard a big jQuery
object, etc., etc. *
Computers are fast. Don't optimize just because you feel bad for them
having to work so hard.
There are certainly cases where using jQuery hinders performance.
Don't use jQuery in those cases.
For many problems, jQuery is an inadequate solution.
Don't use jQuery to solve those problems.
That's some revolutionary thinking right there.
And how many functions are called by the above "better" example?
3000?
Yes. Exactly 3000.
Though for comic relief, you can't beat this one:
http://ejohn.org/blog/most-bizarre-ie-quirk/
What kind of idiot would delegate the most critical browser scripting
tasks to people like that? *
Delegating the most critical scripting tasks to jQuery may be a
mistake. I use it mainly in controlled environments. Mostly to add
some UI enhancements and to show pictures of bunnies.
I take it you like to write "plug-ins" for jQuery.
I have. My motivation for doing so is probably quite different than
what you imagine.
>*How irresponsible. *
It's surely right up there with smoking while pregnant and eating live
puppies, both of which I have also done. I like to live on the edge.
Are we to congratulate you for volunteering to help the helpless?
Yes?
>*Of course not.
Damn.
>*You are serving up poison in a soup kitchen.
[Insert one-up kitchen analogy here]
I gather you like being a Big Fish in a very shallow pond.
[Insert one-up pond analogy here]
And BTW, their "ready" method is known to be unreliable.
Really? Under what conditions? Where would someone locate a more
reliable method of determining when the DOM is ready?
Google? *This group? *I have personally published such methods. *Peter
has a Blog entry on the subject. *Perhaps you were too busy with the
special needs class to notice.
I haven't read this group regularly for a while.
In a way, I think it did. *Care to help dispel any more myths about
jQuery? *You do that inadvertently every time you open your mouth in
here.
Consider using more descriptive words, like "open your big fat mouth".
It will help you to connect with your audience. HTH!

Matt Kruse
Oct 29 '08 #7
On Oct 29, 4:26*pm, Matt Kruse <m...@thekrusef amily.comwrote:
On Oct 29, 2:43*pm, David Mark <dmark.cins...@ gmail.comwrote:
And you can't do anything useful with jQuery.
You forgot the wink: ;)
Why would I wink about that? *It is a proven fact. *You just have a
(very) short memory.

I do useful things with it all the time. That seems to falsify your
theory. *WINK*
Useful according to whom?
>
$(function(){
* $('.mylink').cl ick(function(){
* * $.jPrintArea('# tabularData');
* });
});
ah, yes. Much better.
Much better than what? *Look at that BS. *Create a big jQuery object,
which is known to have problems with its own arguments (typeof a ==
'array', isFunction, etc.) due to an incredibly ignorant design

Ignorant design = true
Problems = Only if you hit the cases where problems might exist, and I
never have except in theory.
Christ on a crutch. You don't have to have empirical evidence. Look
at the code. You know it won't work on anything but a handful of
modern browsers in their default configurations. You know this, yet
you persist with these sorts of "arguments. " You want to be
different.
>
, then
discard a big jQuery object. *Create a big jQuery object, discard a
big jQuery object, create a big jQuery object, discard a big jQuery
object, etc., etc. *

Computers are fast. Don't optimize just because you feel bad for them
having to work so hard.
Computers are fast?! That is your argument for using such inane and
inefficient patterns? EVERYTHING IS RELATIVE. Tattoo that on your
forehead.
There are certainly cases where using jQuery hinders performance.
And there are certainly cases where incompetence hinders productivity.
Don't use jQuery in those cases.
You had something there, but you stopped three words too late.
For many problems, jQuery is an inadequate solution.
^^^^

You misspelled "any and all."
Don't use jQuery to solve those problems.
Right.
That's some revolutionary thinking right there.
It is yours after all. Your assumption that people who use jQuery to
shield themselves from the intricacies of cross-browser scripting
would be in a position to judge what would be a problem for jQuery is
patently absurd. These people don't know what they are doing. That
is why they chose jQuery in the first place.
>
And how many functions are called by the above "better" example?
3000?

Yes. Exactly 3000.
At least 2998 too many.
>
Though for comic relief, you can't beat this one:
http://ejohn.org/blog/most-bizarre-ie-quirk/
What kind of idiot would delegate the most critical browser scripting
tasks to people like that? *

Delegating the most critical scripting tasks to jQuery may be a
mistake. I use it mainly in controlled environments. Mostly to add
some UI enhancements and to show pictures of bunnies.
I take it you like to write "plug-ins" for jQuery.

I have. My motivation for doing so is probably quite different than
what you imagine.
Oh, I see you wrote a "context menu" plug-in for jQuery. A popup menu
hard-wired to work only with the alternate mouse button? And it
requires jQuery to work? Whatever your motivation, you are not
helping.
>
*How irresponsible. *

It's surely right up there with smoking while pregnant and eating live
puppies, both of which I have also done. I like to live on the edge.
Advocating a blob of incompetently written, poorly designed, *browser
sniffing* script in 2008 is completely off-base. Your reputation can
join Resig's in the toilet. No amount of stupid asides can change
that.
>
Are we to congratulate you for volunteering to help the helpless?

Yes?
See next line.
>
*Of course not.
[snip]
>
I haven't read this group regularly for a while.
And you apparently forgot everything you learned previously. We just
had this exact discussion a year ago. What are you in self-imposed
exile ever since?
In a way, I think it did. *Care to help dispel any more myths about
jQuery? *You do that inadvertently every time you open your mouth in
here.

Consider using more descriptive words, like "open your big fat mouth".
It will help you to connect with your audience. HTH!
Consider what a foolish post this was.
Oct 29 '08 #8
On Oct 29, 3:58*pm, David Mark <dmark.cins...@ gmail.comwrote:
I do useful things with it all the time. That seems to falsify your
theory. *WINK*
Useful according to whom?
Me. Why would I care if it's useful to you or anyone else?
Problems = Only if you hit the cases where problems might exist, and I
never have except in theory.
Christ on a crutch. *You don't have to have empirical evidence. *Look
at the code. *
Your argument is that it will fail under some cases. My argument is
that those cases don't matter to me. Your argument is theory, mine is
practical.

I'm doing X, and you're arguing that it can't do Y. Odd.
You know it won't work on anything but a handful of
modern browsers in their default configurations. *
And I'm okay with that. You seem to think that if a person finds
jQuery useful, then they must advocate its use on all web sites for
all needs. That's not the case. jQuery is a tool. I use it for what it
is useful for. I do not use or advocate it for situations where it is
not useful.
Computers are fast. Don't optimize just because you feel bad for them
having to work so hard.
Computers are fast?! *That is your argument for using such inane and
inefficient patterns? *
It is actually not as ridiculous of a strategy as you make it sound.
A data warehouse, for example, is a very inefficient pattern as far as
data storage is concerned. Keys duplicated, many rows, etc. If all you
care about is data integrity and storage, you might say it is a
terrible implementation. But if you use different criteria, it may
become the best solution.

A pattern that is less efficient to run, but more efficient to write
and maintain, yet runs with an imperceptible loss in performance, can
be considered a success.
EVERYTHING IS RELATIVE. *Tattoo that on your forehead.
I'm quite familiar with Einstein. We can discuss that if you'd like.
One of my favorite topics. Tattoos, not so much.
Don't use jQuery in those cases.
You had something there, but you stopped three words too late.
For many problems, jQuery is an inadequate solution.
* * * ^^^^
You misspelled "any and all."
Your extreme bias against jQuery makes your argument less compelling.
I find that most intelligent people are less extreme and more
reasoned.
It is yours after all. *Your assumption that people who use jQuery to
shield themselves from the intricacies of cross-browser scripting
would be in a position to judge what would be a problem for jQuery is
patently absurd. *These people don't know what they are doing. *That
is why they chose jQuery in the first place.
That is your absurd assumption.
I take it you like to write "plug-ins" for jQuery.
I have. My motivation for doing so is probably quite different than
what you imagine.
Oh, I see you wrote a "context menu" plug-in for jQuery. *A popup menu
hard-wired to work only with the alternate mouse button? *And it
requires jQuery to work? *Whatever your motivation, you are not
helping.
Your inability to think outside your box is amusing.
Your reputation can join Resig's in the toilet.
If you haven't noticed by now, I couldn't possibly care less what you
or anyone else thinks of my opinions on jQuery.
>*No amount of stupid asides can change that.
I'll keep trying.
And you apparently forgot everything you learned previously. *We just
had this exact discussion a year ago. *What are you in self-imposed
exile ever since?
Ummmmm, not really.
Consider what a foolish post this was.
Indeed it was, but I forgive you. You can try again.

Matt Kruse
Oct 29 '08 #9
On 2008-10-29 20:43, David Mark wrote:
http://ejohn.org/blog/future-proofin...ipt-libraries/

That one is my personal favorite [..]
Actually, I thought it was quite interesting. He wrote that scripting
libraries like JQuery or Dojo are used, among other things, to "pave
over" browser bugs and incompatibiliti es, so that the users can
concentrate on the real task at hand instead of hand-rolling yet another
cross-browser event abstraction layer, for example. He also demonstrated
that sometimes object detection is not possible, or not enough to
provide a solid abstraction. In those cases, feature tests can help; for
the remaining cases they have no option but to go by browser version.
This is obviously not ideal, hence the idea of taking the test suites of
popular scripting libraries and adding them to the existing Mozilla test
suite. This would have two major benefits: it would provide the QA at
Mozilla with better tests based on real-life applications, and it would
provide an early warning system to detect incompatibiliti es between the
libraries and the JS engine updates. Win-win. What didn't you like about
that article?
Though for comic relief, you can't beat this one:

http://ejohn.org/blog/most-bizarre-ie-quirk/

What kind of idiot would delegate the most critical browser scripting
tasks to people like that?
I thought it was funny. He found a weird behavior in IE, and joked about
finding a use for it. You didn't take that seriously, did you?
- Conrad
Oct 29 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
49875
by: mikeh3275 | last post by:
I'm new to developing in jQuery, so I'm probably doing this wrong. I'm loading a form into a modal dialog box and I'm trying to assign a click event to the button in the form, but I can't seem to get anything to happen. Below is the code. Thanks in advance. jQuery: jQuery(document).ready(function() { jQuery("a").click(function() { jQuery("#dialog").dialog({ modal: true,
1
2316
by: somnamblst | last post by:
This function swaps images between a close & replay GIF. Line 12 has a speed of 1 second specified for the slideDown, but no speed specified for the slideUp so it is defaulting to normal. I tried adding if(!isDown) slideTimeout = setTimeout(toggleSlideboxes, 3000 : 1000); to line 21 but ended up with a syntax error. jQuery.noConflict(); jQuery(document).ready(function(){ var slideTimeout //timer , sbTrigger =...
26
3142
by: RobG | last post by:
Do some of the regulars here need to re-think their (sometimes strident) opposition to libraries? Both Microsoft and Nokia have announced support for jQuery. It seems to have gained quite a bit of momentum, can it be considered a reasonable choice for those who want to use a full-featured, well supported library? <URL: http://jquery.com/blog/2008/09/28/jquery-microsoft-nokia/ >
0
2842
by: richard12345 | last post by:
Hi Guys I have problem with site I am building. The sidebar with menu and other thinks is overlapping footer. The footer move with the content and but it dos it dos not move with the sidebar. Here is the website: holtz-realty And also the html file and css file. Anny help will by mostly appreciated. I did try everything I can think of. HTML:
6
8616
by: aaronkmar | last post by:
Trying to get a loading image to spin while the query is loading. I can get the data div to fade in, but I can't seem to figure out how to get the gif while the query is loading. I'm using two divs.. id "entrytext" is where the data will load into and has a display:none contentLoading is the loading gif div.
25
5162
pradeepjain
by: pradeepjain | last post by:
<html> <head> <script src="jquery.js" type="text/javascript"></script> <script src="jquery.rating.js" type="text/javascript" language="javascript"></script> <link href="jquery.rating.css" type="text/css" rel="stylesheet"/> <link rel="stylesheet" type="text/css" href="style.css"> <script type="text/javascript"> $(document).ready(function() { $("#mobile_brand").change(function() {
5
4946
by: jrod11 | last post by:
hi, I found a jquery html table sorting code i have implemented. I am trying to figure out how to edit how many colums there are, but every time i remove code that I think controls how many colums there are, it crashes. There are currently 6 columns, and I only want 4. How do I remove the last two (discount and date)? Here is a link: http://www.jaredmoore.com/tablesorter/docs/salestable.html Here is some jquery js that I think...
0
8675
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
1
8897
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8862
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2331
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2002
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.