-
Replied To a Post in offset().left vs position().left
@Violet, generally spoken -it means that offset is more reliable than position in a mixed web environment. I'm not sure I can recall well, but as I remember, the possition … -
Replied To a Post in Java script error with firefox
This is not a javascript question neither, but... Yo will need to uninstall the recent installation of firefox and reinstall your original version (Firefox 3.6.23), which as it seems can … -
Replied To a Post in How do I replace the alert box using Jquery?
***alert box*** is a **modal** dialog, (meaning) 1. it should be able to freeze script executon; also 2. disallow focus to go back to the content window e.g. to further … -
Replied To a Post in offset().left vs position().left
*"The .position() method allows us to retrieve the current position of an element relative to the offset parent."* Means: The current position of the nested element edge relative to its … -
Replied To a Post in How to get number of marked checkbox GROUPS
function getChecked(o){ var i=0, grp={}; while(o[i])o[i].checked? grp[o[i].name]? grp[o[i].name].push(o[i]):grp[o[i].name]=[o[i]]:0, i++; return grp; } invoking this function `getChecked(myForm)` will return you an object who's property-names are the names of groups containing currently … -
Replied To a Post in Prompt Title
Since **prompt** is a modal popup dialog you can however use a similar custom modal as in [this](http://phpfiddle.org/api/run/ujf-r09) **confirm** example. Of course some good skills on styling and scripting will … -
Replied To a Post in Facebook javascript error
You'll need to serve the daniweb.com in "https" protocol so they can match , no other fix available. -
Replied To a Post in Alert() and Confirm()
You can emulate them using the `showModalDialog('customPrompt.htm',"", "")` on browsers that support it, but than you'll have to write them (code them, style them, script them) yourself completely. -
Replied To a Post in Prompt Title
There are no jQuery dialogs [except DIV's emulating dialogs] and no you can't modify the builtin browser prompt default title. -
Replied To a Post in Date function not defined ?
Siberian, this thread was solved in a blink of pritaes eye, - you should have marked it: "solved" by now. Regards -
Replied To a Post in Percentage of sites using jQuery UI?
> According to their statistics there are about 6 million websites that use JQueryUI. We should bare in mind that, -there are also as many clients times 10, who discard … -
Replied To a Post in Global Variable not the Same as Local Variable
> Troy could you explain that again ? :) I just did! :) function check_alert (**pcheck**) { window.alert("You make $"+**pcheck**); } var **paycheck** = 1200; check_alert(**paycheck**); // alert val: "You … -
Replied To a Post in Defference AJAX and Ajax JQuery
> jQuery is a JavaScript library designed to **simplify** the client-side scripting of HTML. or to better say **uglify** it :) -
Replied To a Post in enter key problem
> Every time I press 'enter' within this paragraph, a new paragraph is created, rather than a line break tag (<br>). How can I force a line break tag to … -
Replied To a Post in Global Variable not the Same as Local Variable
> How can the function make an alert with the variable pcheck when the global variable is named paycheck, I'm confused ? Well, *argument names* of the *function* would be … -
Replied To a Post in how to detect IE11 in wordpress and change css with if statement?
if your css works on FX, and/or Ch (or similar), no 'debug' is needed since ie11 is 100% css3 conformant -
Replied To a Post in CSS element name?
The varukorg is in the <td width="100%" height="17" **class="infoBoxHeading" **valign="middle"><a href="http://www.amberbird.se/shopping_cart.php">Varukorgen</a></td> and it only has a classname [.infoBoxHeading] that you can adddress directly on your CSS... I was unable to … -
Replied To a Post in how to detect IE11 in wordpress and change css with if statement?
Why would you need to do that? IE11 passes the Acid3 test by 100% -
Replied To a Post in creatLink in execCommand()
You should try function addLink(){ document.execCommand('creatLink'); } select some text of the document, click your addlink button and provide the location on the presented UI before hiting OK -
Replied To a Post in Extract All Strings Between Two Points?
An implicit *extraction* instead of *matching* the data of interest would be var results = "'1962' '1963' '1964' '1965' '1966'"; results.match(/\w+/g); >>[object Array]["1962", "1963", "1964", "1965", "1966"] -
Replied To a Post in Null problem
...that should fix it (JorgeM's advice) and here is a ready to copy-paste (corrected) script... <script type="text/javascript"> function checkEmail() { var email = document.getElementById('xemail'); //alert(email); var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if … -
Replied To a Post in Loop to clear textboxes
>Sir I am using these codes to clear all textboxes in form Have you tried the reset button? <form...> . . . <button type="reset" value="reset">clear</button> </form> or scripting: document.forms[0].reset(); -
Replied To a Post in Defference AJAX and Ajax JQuery
That's why you should be learning some basic JavaScript, so that when you start understanding JavaScript, you will instantly become aware of the fact that: AJAX,JSON and jQuery are nothing … -
Replied To a Post in How to read content of file with javascript
This is my pre-AJAX (1997-, technology) a live demo at: http://www.aeneidas.com/ -
Replied To a Post in AutoFill plugin/extension which works for all browsers?
How will it know/realize who's data to fill in the given web page form?
The End.