¡@

Home 

2014/10/16 ¤W¤È 12:09:41

jquery Programming Glossary: ui

jQuery Mobile: document ready vs page events

http://stackoverflow.com/questions/14468659/jquery-mobile-document-ready-vs-page-events

a data role header h3 First Page h3 a href #second class ui btn right Next a div div data role content a href # data role.. was triggered with a button .mobile.activePage.find '.ui btn active' .removeClass 'ui btn active ui focus ui btn' This.. .mobile.activePage.find '.ui btn active' .removeClass 'ui btn active ui focus ui btn' This example will work in any..

Why I have to put all the script to index.html in jquery mobile

http://stackoverflow.com/questions/15800121/why-i-have-to-put-all-the-script-to-index-html-in-jquery-mobile

Your javascript will go here script div body This is a quick solution but still an ugly one. Working example can be found.. never work as a normal web app. a href #second class ui btn right rel external Next a Official documentation look for..

jQuery UI DatePicker to show month year only

http://stackoverflow.com/questions/2208480/jquery-ui-datepicker-to-show-month-year-only

and year May 2010 and not the calendar jquery jquery ui date jquery datepicker share improve this question Here's.. javascript src http ajax.googleapis.com ajax libs jqueryui 1.7.2 jquery ui.min.js script link rel stylesheet type text.. http ajax.googleapis.com ajax libs jqueryui 1.7.2 jquery ui.min.js script link rel stylesheet type text css media screen..

jQuery Validate Plugin - How to create a simple, custom rule?

http://stackoverflow.com/questions/241145/jquery-validate-plugin-how-to-create-a-simple-custom-rule

jQueryUI: how can I custom-format the Autocomplete plug-in results?

http://stackoverflow.com/questions/2435964/jqueryui-how-can-i-custom-format-the-autocomplete-plug-in-results

search for foo I get foo bar in drop down. jquery jquery ui autocomplete jquery autocomplete jquery ui autocomplete share.. jquery jquery ui autocomplete jquery autocomplete jquery ui autocomplete share improve this question Yes you can if.. but in case I did I could store it and chain var oldFn .ui.autocomplete.prototype._renderItem .ui.autocomplete.prototype._renderItem..

What is the need of JSF. When UI can be achieved from css html javascript jQuery?

http://stackoverflow.com/questions/4421839/what-is-the-need-of-jsf-when-ui-can-be-achieved-from-css-html-javascript-jquery

and js. Why should someone learn JSF. jquery html jquery ui jsf extjs share improve this question JSF to plain JSP Servlet.. What are the main disadvantages of JSF 2.0 When to use ui include tag files composite components and or custom components..

Can the jQuery UI Datepicker be made to disable Saturdays and Sundays (and holidays)?

http://stackoverflow.com/questions/501943/can-the-jquery-ui-datepicker-be-made-to-disable-saturdays-and-sundays-and-holid

Can this be done If so how javascript jquery jquery ui jquery ui datepicker share improve this question There is.. this be done If so how javascript jquery jquery ui jquery ui datepicker share improve this question There is the beforeShowDay.. i 1 return false natDays i 2 '_day' return true '' One built in function exists called noWeekends that prevents the selection..

Browser Memory Usage Comparison: inline onClick vs. using JQuery .bind()

http://stackoverflow.com/questions/5303471/browser-memory-usage-comparison-inline-onclick-vs-using-jquery-bind

jqgridwsiki doku.php id wiki custom_formatter to build the icon 'buttons' in each row I cannot retrieve button HTML.. in my custom formatter function that I can easily just build the icon HTML and code in an inline onclick calling the appropriate.. delegate as mentioned in below answers thank you so much Build the icon image each icon type has its own class name using..

jqgrid server side error message/validation handling

http://stackoverflow.com/questions/6960208/jqgrid-server-side-error-message-validation-handling

the error description before the grid this .closest 'div.ui jqgrid' .before ' div id ' this.id '_err style max width ' this.style.width.. '_err style max width ' this.style.width ' div class ui state error ui corner all style padding 0.7em float left ' decodeErrorMessage.. max width ' this.style.width ' div class ui state error ui corner all style padding 0.7em float left ' decodeErrorMessage..

jQuery UI Dialog with ASP.NET button postback

http://stackoverflow.com/questions/757232/jquery-ui-dialog-with-asp-net-button-postback

But still without success... c# asp.net jquery jquery ui postback share improve this question You are close to the..

Downloading jQuery UI CSS from Google's CDN

http://stackoverflow.com/questions/820412/downloading-jquery-ui-css-from-googles-cdn

or should it be its own separate file jquery css jquery ui cdn google ajax libraries share improve this question The.. CDN Uncompressed http ajax.googleapis.com ajax libs jqueryui 1.10.3 jquery ui.js Compressed http ajax.googleapis.com ajax.. http ajax.googleapis.com ajax libs jqueryui 1.10.3 jquery ui.js Compressed http ajax.googleapis.com ajax libs jqueryui 1.10.3..

How may I sort a list alphabetically using jQuery?

http://stackoverflow.com/questions/1134976/how-may-i-sort-a-list-alphabetically-using-jquery

list alphabetically. I've been looking through the jQuery UI for sorting but that doesn't seem to be it. Any thoughts javascript..

jQuery animate backgroundColor

http://stackoverflow.com/questions/190560/jquery-animate-backgroundcolor

The color plugin is only 4kb so much cheaper than the UI library. Of course you'll want to use a decent version of the.. test various compressors and make your own min version. YUI gets the best compression in this case needing only 2317 bytes..

jQuery UI DatePicker to show month year only

http://stackoverflow.com/questions/2208480/jquery-ui-datepicker-to-show-month-year-only

UI DatePicker to show month year only I am using jQuery date picker..

jQueryUI: how can I custom-format the Autocomplete plug-in results?

http://stackoverflow.com/questions/2435964/jqueryui-how-can-i-custom-format-the-autocomplete-plug-in-results

how can I custom format the Autocomplete plug in results I'm.. format the Autocomplete plug in results I'm using jQuery UI Autocomplete plug in . Is there a way to highlight search character.. In the autocomplete widget included in v1.8rc3 of jQuery UI the popup of suggestions is created in the _renderMenu function..

jqGrid: Disable form fields when editing

http://stackoverflow.com/questions/3405029/jqgrid-disable-form-fields-when-editing

vending machines and such. I decided to use jQuery jQuery UI and jqGrid for this project so I can easily provide a great..

What is the need of JSF. When UI can be achieved from css html javascript jQuery?

http://stackoverflow.com/questions/4421839/what-is-the-need-of-jsf-when-ui-can-be-achieved-from-css-html-javascript-jquery

is the need of JSF. When UI can be achieved from css html javascript jQuery I was reading.. html javascript jQuery I was reading about JSF that its a UI framework and provides some UI components. But how is it better.. about JSF that its a UI framework and provides some UI components. But how is it better or different from number of..

Can the jQuery UI Datepicker be made to disable Saturdays and Sundays (and holidays)?

http://stackoverflow.com/questions/501943/can-the-jquery-ui-datepicker-be-made-to-disable-saturdays-and-sundays-and-holid

the jQuery UI Datepicker be made to disable Saturdays and Sundays and holidays.. date else return noWeekend Update Note that as of jQuery UI 1.8.19 the beforeShowDay option also accepts an optional third..

Where do you include the jQuery library from? Google JSAPI? CDN?

http://stackoverflow.com/questions/547384/where-do-you-include-the-jquery-library-from-google-jsapi-cdn

CDN There are a few ways to include jQuery and jQuery UI and I'm wondering what people are using Google JSAPI jQuery's..

Cross-browser window resize event - JavaScript / jQuery

http://stackoverflow.com/questions/599288/cross-browser-window-resize-event-javascript-jquery

this window .resize function do something For the sake of UI responsiveness you might consider using a setTimeout to call..

jQuery UI Dialog with ASP.NET button postback

http://stackoverflow.com/questions/757232/jquery-ui-dialog-with-asp-net-button-postback

UI Dialog with ASP.NET button postback I have a jQuery UI Dialog.. UI Dialog with ASP.NET button postback I have a jQuery UI Dialog working great on my ASP.NET page jQuery function jQuery..

How to select PrimeFaces UI or JSF components using jQuery?

http://stackoverflow.com/questions/7927716/how-to-select-primefaces-ui-or-jsf-components-using-jquery

to select PrimeFaces UI or JSF components using jQuery I am trying to implement jQuery..

Downloading jQuery UI CSS from Google's CDN

http://stackoverflow.com/questions/820412/downloading-jquery-ui-css-from-googles-cdn

jQuery UI CSS from Google's CDN I am planning on using Google to download.. on using Google to download the jQuery lib for both UI and Core. My question is do they allow me to download the CSS.. The Google AJAX Libraries API which includes jQuery UI currently v1.10.3 also includes popular themes as per the jQuery..

Google Maps Api v3 Maps in Ui-Tabs are cut

http://stackoverflow.com/questions/12641798/google-maps-api-v3-maps-in-ui-tabs-are-cut

Maps Api v3 Maps in Ui Tabs are cut I know this is a common problem here i already..

jQuery-Ui: Cannot drag object outside of an accordion

http://stackoverflow.com/questions/1827504/jquery-ui-cannot-drag-object-outside-of-an-accordion

Ui Cannot drag object outside of an accordion I have a draggable..

jquery sortable cannot be dragged outside of accordion

http://stackoverflow.com/questions/2040359/jquery-sortable-cannot-be-dragged-outside-of-accordion

element appendTo option . Similar question here jQuery Ui Cannot drag object outside of an accordion share improve this..

jquery ui - how to use google CDN

http://stackoverflow.com/questions/5206666/jquery-ui-how-to-use-google-cdn

type text javascript script You can also link to other Ui themes by changes the name of the theme. In This case change..

“oCol is Undefined” Using Datatables and jQuery Ui Dialog

http://stackoverflow.com/questions/6405429/ocol-is-undefined-using-datatables-and-jquery-ui-dialog

oCol is Undefined&rdquo Using Datatables and jQuery Ui Dialog I have a form for search a registry. This form shows.. type text javascript language javascript src lib jQuery Ui js jquery ui 1.8.13.custom.min.js script script type text javascript..

Dragging multiple selected elements

http://stackoverflow.com/questions/6537092/dragging-multiple-selected-elements

achieve dragging multiple selected elements using JQuery Ui . At the moment I'm using this piece of code Make all divs inside..

JQuery ui - date picker, disabling specific dates

http://stackoverflow.com/questions/9742289/jquery-ui-date-picker-disabling-specific-dates

I am trying to disable specific dates using the JQuery Ui. However I am having no luck here is my code DOCTYPE HTML PUBLIC..

jQuery Mobile: document ready vs page events

http://stackoverflow.com/questions/14468659/jquery-mobile-document-ready-vs-page-events

with an id index div data role page id index div data theme a data role header h3 First Page h3 a href #second class ui btn right Next a div div data role content a href # data role button id test button Test button a div div data theme a data.. remove active status on a button if transition was triggered with a button .mobile.activePage.find '.ui btn active' .removeClass 'ui btn active ui focus ui btn' This example will work in any case because it will trigger at.. status on a button if transition was triggered with a button .mobile.activePage.find '.ui btn active' .removeClass 'ui btn active ui focus ui btn' This example will work in any case because it will trigger at a begging of every page transition..

Why I have to put all the script to index.html in jquery mobile

http://stackoverflow.com/questions/15800121/why-i-have-to-put-all-the-script-to-index-html-in-jquery-mobile

body div data role page And rest of your HTML content script Your javascript will go here script div body This is a quick solution but still an ugly one. Working example can be found in my other answer here Pageshow not triggered after changepage.. this is not a good solution in your case. Phonegap should never work as a normal web app. a href #second class ui btn right rel external Next a Official documentation look for a chapter Linking without Ajax Realistic solution Realistic..

jQuery UI DatePicker to show month year only

http://stackoverflow.com/questions/2208480/jquery-ui-datepicker-to-show-month-year-only

over my app. I want to know if I can use it to display the month and year May 2010 and not the calendar jquery jquery ui date jquery datepicker share improve this question Here's a hack updated with entire .html file DOCTYPE html PUBLIC.. ajax libs jquery 1.4.1 jquery.js script script type text javascript src http ajax.googleapis.com ajax libs jqueryui 1.7.2 jquery ui.min.js script link rel stylesheet type text css media screen href http ajax.googleapis.com ajax libs jqueryui.. jquery 1.4.1 jquery.js script script type text javascript src http ajax.googleapis.com ajax libs jqueryui 1.7.2 jquery ui.min.js script link rel stylesheet type text css media screen href http ajax.googleapis.com ajax libs jqueryui 1.7.2 themes..

jQuery Validate Plugin - How to create a simple, custom rule?

http://stackoverflow.com/questions/241145/jquery-validate-plugin-how-to-create-a-simple-custom-rule

jQueryUI: how can I custom-format the Autocomplete plug-in results?

http://stackoverflow.com/questions/2435964/jqueryui-how-can-i-custom-format-the-autocomplete-plug-in-results

down results For example if I have data foo bar it and I search for foo I get foo bar in drop down. jquery jquery ui autocomplete jquery autocomplete jquery ui autocomplete share improve this question Yes you can if you monkey patch.. foo bar it and I search for foo I get foo bar in drop down. jquery jquery ui autocomplete jquery autocomplete jquery ui autocomplete share improve this question Yes you can if you monkey patch autocomplete. In the autocomplete widget included.. did it function monkeyPatchAutocomplete don't really need this but in case I did I could store it and chain var oldFn .ui.autocomplete.prototype._renderItem .ui.autocomplete.prototype._renderItem function ul item var re new RegExp ^ this.term..

What is the need of JSF. When UI can be achieved from css html javascript jQuery?

http://stackoverflow.com/questions/4421839/what-is-the-need-of-jsf-when-ui-can-be-achieved-from-css-html-javascript-jquery

from extjs or jQuery or combination of css and html and js. Why should someone learn JSF. jquery html jquery ui jsf extjs share improve this question JSF to plain JSP Servlet HTML CSS JS is like as jQuery to plain JS do more with..

Can the jQuery UI Datepicker be made to disable Saturdays and Sundays (and holidays)?

http://stackoverflow.com/questions/501943/can-the-jquery-ui-datepicker-be-made-to-disable-saturdays-and-sundays-and-holid

want to exclude Saturdays and Sundays from the available choices. Can this be done If so how javascript jquery jquery ui jquery ui datepicker share improve this question There is the beforeShowDay option which takes a function to be called.. Saturdays and Sundays from the available choices. Can this be done If so how javascript jquery jquery ui jquery ui datepicker share improve this question There is the beforeShowDay option which takes a function to be called for each.. i if date.getMonth natDays i 0 1 date.getDate natDays i 1 return false natDays i 2 '_day' return true '' One built in function exists called noWeekends that prevents the selection of weekend days. .selector .datepicker beforeShowDay..

Browser Memory Usage Comparison: inline onClick vs. using JQuery .bind()

http://stackoverflow.com/questions/5303471/browser-memory-usage-comparison-inline-onclick-vs-using-jquery-bind

icon icon I am using JQGrid's custom formatter http www.trirand.com jqgridwsiki doku.php id wiki custom_formatter to build the icon 'buttons' in each row I cannot retrieve button HTML from server . It is here in my custom formatter function.. row I cannot retrieve button HTML from server . It is here in my custom formatter function that I can easily just build the icon HTML and code in an inline onclick calling the appropriate functions with the appropriate parameters data from.. of two options 1 inline onclick as I explained above or 2 delegate as mentioned in below answers thank you so much Build the icon image each icon type has its own class name using the custom formatter . Set the icon's data to its parameters..

jqgrid server side error message/validation handling

http://stackoverflow.com/questions/6960208/jqgrid-server-side-error-message-validation-handling

error div if exist '#' this.id '_err' .remove insert div with the error description before the grid this .closest 'div.ui jqgrid' .before ' div id ' this.id '_err style max width ' this.style.width ' div class ui state error ui corner all style.. the grid this .closest 'div.ui jqgrid' .before ' div id ' this.id '_err style max width ' this.style.width ' div class ui state error ui corner all style padding 0.7em float left ' decodeErrorMessage jqXHR textStatus errorThrown ' div div style.. 'div.ui jqgrid' .before ' div id ' this.id '_err style max width ' this.style.width ' div class ui state error ui corner all style padding 0.7em float left ' decodeErrorMessage jqXHR textStatus errorThrown ' div div style clear left..

jQuery UI Dialog with ASP.NET button postback

http://stackoverflow.com/questions/757232/jquery-ui-dialog-with-asp-net-button-postback

div to form jQuery #dialog .parent .appendTo jQuery form first But still without success... c# asp.net jquery jquery ui postback share improve this question You are close to the solution just getting the wrong object. It should be like..

Downloading jQuery UI CSS from Google's CDN

http://stackoverflow.com/questions/820412/downloading-jquery-ui-css-from-googles-cdn

I load other plugins Can I compress all plugins together or should it be its own separate file jquery css jquery ui cdn google ajax libraries share improve this question The Google AJAX Libraries API which includes jQuery UI currently.. themes as per the jQuery UI blog Google Ajax Libraries API CDN Uncompressed http ajax.googleapis.com ajax libs jqueryui 1.10.3 jquery ui.js Compressed http ajax.googleapis.com ajax libs jqueryui 1.10.3 jquery ui.min.js Themes Uncompressed black.. jQuery UI blog Google Ajax Libraries API CDN Uncompressed http ajax.googleapis.com ajax libs jqueryui 1.10.3 jquery ui.js Compressed http ajax.googleapis.com ajax libs jqueryui 1.10.3 jquery ui.min.js Themes Uncompressed black tie blitzer..

How may I sort a list alphabetically using jQuery?

http://stackoverflow.com/questions/1134976/how-may-i-sort-a-list-alphabetically-using-jquery

able to call a function that would sort all the items in my list alphabetically. I've been looking through the jQuery UI for sorting but that doesn't seem to be it. Any thoughts javascript jquery dom sorting share improve this question ..

jQuery animate backgroundColor

http://stackoverflow.com/questions/190560/jquery-animate-backgroundcolor

jquery colors jquery animate share improve this question The color plugin is only 4kb so much cheaper than the UI library. Of course you'll want to use a decent version of the plugin and not some buggy old thing which doesn't handle Safari.. fast. Since a minified version isn't supplied you might like test various compressors and make your own min version. YUI gets the best compression in this case needing only 2317 bytes and since it is so small here it is function d d.each backgroundColor..

jQuery UI DatePicker to show month year only

http://stackoverflow.com/questions/2208480/jquery-ui-datepicker-to-show-month-year-only

UI DatePicker to show month year only I am using jQuery date picker to display the calendar all over my app. I want to know..

jQueryUI: how can I custom-format the Autocomplete plug-in results?

http://stackoverflow.com/questions/2435964/jqueryui-how-can-i-custom-format-the-autocomplete-plug-in-results

how can I custom format the Autocomplete plug in results I'm using jQuery UI Autocomplete plug in . Is there a way to highlight.. how can I custom format the Autocomplete plug in results I'm using jQuery UI Autocomplete plug in . Is there a way to highlight search character sequence in drop down results For example if I have.. this question Yes you can if you monkey patch autocomplete. In the autocomplete widget included in v1.8rc3 of jQuery UI the popup of suggestions is created in the _renderMenu function of the autocomplete widget. This function is defined like..

jqGrid: Disable form fields when editing

http://stackoverflow.com/questions/3405029/jqgrid-disable-form-fields-when-editing

a web application designed for the administration of vending machines and such. I decided to use jQuery jQuery UI and jqGrid for this project so I can easily provide a great and highly customizable user interface. Unfortunately the jqGrid..

What is the need of JSF. When UI can be achieved from css html javascript jQuery?

http://stackoverflow.com/questions/4421839/what-is-the-need-of-jsf-when-ui-can-be-achieved-from-css-html-javascript-jquery

is the need of JSF. When UI can be achieved from css html javascript jQuery I was reading about JSF that its a UI framework and provides some UI components... is the need of JSF. When UI can be achieved from css html javascript jQuery I was reading about JSF that its a UI framework and provides some UI components. But how is it better or different from number of components that can are available.. UI can be achieved from css html javascript jQuery I was reading about JSF that its a UI framework and provides some UI components. But how is it better or different from number of components that can are available from extjs or jQuery or combination..

Can the jQuery UI Datepicker be made to disable Saturdays and Sundays (and holidays)?

http://stackoverflow.com/questions/501943/can-the-jquery-ui-datepicker-be-made-to-disable-saturdays-and-sundays-and-holid

the jQuery UI Datepicker be made to disable Saturdays and Sundays and holidays I use a datepicker for choosing an appointment day. I..

Where do you include the jQuery library from? Google JSAPI? CDN?

http://stackoverflow.com/questions/547384/where-do-you-include-the-jquery-library-from-google-jsapi-cdn

do you include the jQuery library from Google JSAPI CDN There are a few ways to include jQuery and jQuery UI and I'm wondering what people are using Google JSAPI jQuery's site your own site server another CDN I have recently been..

Cross-browser window resize event - JavaScript / jQuery

http://stackoverflow.com/questions/599288/cross-browser-window-resize-event-javascript-jquery

improve this question jQuery has a built in method for this window .resize function do something For the sake of UI responsiveness you might consider using a setTimeout to call your code only after some number of milliseconds as shown in..

jQuery UI Dialog with ASP.NET button postback

http://stackoverflow.com/questions/757232/jquery-ui-dialog-with-asp-net-button-postback

UI Dialog with ASP.NET button postback I have a jQuery UI Dialog working great on my ASP.NET page jQuery function jQuery #dialog.. UI Dialog with ASP.NET button postback I have a jQuery UI Dialog working great on my ASP.NET page jQuery function jQuery #dialog .dialog draggable true resizable true show 'Transfer'..

How to select PrimeFaces UI or JSF components using jQuery?

http://stackoverflow.com/questions/7927716/how-to-select-primefaces-ui-or-jsf-components-using-jquery

to select PrimeFaces UI or JSF components using jQuery I am trying to implement jQuery with PrimeFaces and JSF components but it's not working..

Downloading jQuery UI CSS from Google's CDN

http://stackoverflow.com/questions/820412/downloading-jquery-ui-css-from-googles-cdn

jQuery UI CSS from Google's CDN I am planning on using Google to download the jQuery lib for both UI and Core. My question is do.. jQuery UI CSS from Google's CDN I am planning on using Google to download the jQuery lib for both UI and Core. My question is do they allow me to download the CSS for it or should I have to host it myself Also if I use Google.. ui cdn google ajax libraries share improve this question The Google AJAX Libraries API which includes jQuery UI currently v1.10.3 also includes popular themes as per the jQuery UI blog Google Ajax Libraries API CDN Uncompressed http..

Google Maps Api v3 Maps in Ui-Tabs are cut

http://stackoverflow.com/questions/12641798/google-maps-api-v3-maps-in-ui-tabs-are-cut

Maps Api v3 Maps in Ui Tabs are cut I know this is a common problem here i already look at all the topics here for a solution but still when i..

jQuery-Ui: Cannot drag object outside of an accordion

http://stackoverflow.com/questions/1827504/jquery-ui-cannot-drag-object-outside-of-an-accordion

Ui Cannot drag object outside of an accordion I have a draggable object inside of an accordion widget. When dragging it it's..

jquery sortable cannot be dragged outside of accordion

http://stackoverflow.com/questions/2040359/jquery-sortable-cannot-be-dragged-outside-of-accordion

jquery ui - how to use google CDN

http://stackoverflow.com/questions/5206666/jquery-ui-how-to-use-google-cdn

ajax.googleapis.com ajax libs jqueryui 1.8.9 jquery ui.min.js type text javascript script You can also link to other Ui themes by changes the name of the theme. In This case change the name base to any other theme name base jquery ui.css to..

“oCol is Undefined” Using Datatables and jQuery Ui Dialog

http://stackoverflow.com/questions/6405429/ocol-is-undefined-using-datatables-and-jquery-ui-dialog

oCol is Undefined&rdquo Using Datatables and jQuery Ui Dialog I have a form for search a registry. This form shows the info in a jQuery Dialog and inside of the dialog i am using.. javascript src lib jQuery jquery 1.6.1.js script script type text javascript language javascript src lib jQuery Ui js jquery ui 1.8.13.custom.min.js script script type text javascript language javascript src lib Datatables DataTables 1.8.0..

Dragging multiple selected elements

http://stackoverflow.com/questions/6537092/dragging-multiple-selected-elements

multiple selected elements I'm interested in best way to achieve dragging multiple selected elements using JQuery Ui . At the moment I'm using this piece of code Make all divs inside draggableArea draggable #dragableArea div .draggable start..

JQuery ui - date picker, disabling specific dates

http://stackoverflow.com/questions/9742289/jquery-ui-date-picker-disabling-specific-dates

ui date picker disabling specific dates I am trying to disable specific dates using the JQuery Ui. However I am having no luck here is my code DOCTYPE HTML PUBLIC W3C DTD HTML 4.01 EN http www.w3.org TR html4 strict.dtd..