120 Posted Topics
Re: This one's a jQuery plugin specific issue. You can check the documentation here: [Validation Plugin](http://docs.jquery.com/Plugins/Validation) I viewed and checked your code. As what you have suspected, it was expecting "select" elements: required: function(value, element, param) { // check if dependency is met if ( !this.depend(param, element) ) { return "dependency-mismatch"; … | |
Re: yes you can. You can select it like this: var choice = 125; $("div[id*=photo" + choice + "]") I have provided a sample see link: [JSFiddle Example](http://jsfiddle.net/QnzXm/) | |
Re: What you need to learn is some CSS, and jQuery. Although jQuery's optional, if you're not that familiar with vanilla javascript, then it's a good choice to use. If you need your content to be fetch from the server, AJAX's needed. Here's a simple code I made to give you … | |
Re: I don't think that's easy, unless you tweak your CSS Design and HTML structure leaning towards a zoomable webpages. And this requires a lot of coding on your part though, and manipulation on each element's quantifiable dimension values. As far as I know major browser's don't give access to this … | |
Re: Yes, it is possible. You can decouple the front-end from OSCommerce. You can then just get the data needed for the frontend from the DB. It's gonna be the point-of-interaction for both ends, just be sure you study well the DB structure of OSCommerce. But you should be aware that … | |
Re: Hi Neha, If you never had a problem before connecting to your email provider, then you should ask then for assistance. They might have internal server problems, or misconfiguration in your part. But if you had none, then you should ask your email provider for the port and address of … | |
Re: Hi Webville, I think you mistook the second 's' character as a dollar sign. Hi Hwoarang, Simplypixie was right, you should make the `$_post` all-caps. Change it to `$_POST` ERRATA: Hi Webville, you were right. LOL Hoarang, you are also echoing the wrong variable. See line 15 and 16 of … ![]() | |
Re: My guess it's somewhere between the transmission of the unordered list, there were differences between the character sets from the source and the destination. In your case, this might be your editor. If you can, set your editor's character set to your preference, UTF8 will suffice. Check your editor's setting … | |
Re: check your line 16 and 17 in your sample: customer_notes // missing comma systype You have a missing comma in your SQL Statement Should be: $sql = "INSERT INTO Customers( customer_name, customer_name_letterhead, customer_notes, systype ) VALUES ( '$value_customer_name', '$value_customer_name_letterhead', '$value_customer_notes', '$value_systype' )"; | |
Re: Start by asking yourself, "What will my app do?" Then, move and put your idea into actions. | |
Re: Hi proglearner, You forget to catch the value. :) Your code should have been done like this: var changeNumber = function(number){ return number + 5; }; var newNumber = 4; // Should catch the returned value from changeNumber function newNumber = changeNumber(newNumber); alert(newNumber); | |
Re: you can create a style tag, my sample's placed on the head. Then from there write the keyframe rules. like this: var styleSheetElement = document.createElement("style"), customStyleSheet; document.head.appendChild(styleSheetElement); // get the appended stylesheet // you can use the returned node from the appendage like this // customStyleSheet = (document.head.appendChild(styleSheetElement)).sheet customStyleSheet = … | |
Re: You can check [Google App Engine](https://developers.google.com/appengine/) if you want as CDN. And yes, you can use dropbox as CDN. | |
Re: @veedeoo: no more, no less. Well said. Welcome to daniweb siddhart | |
Re: if the property "AnswerID" is your array, you can access is like this: $answer->AnswerId["LicenseInt"]["LicenseID"] | |
Re: As diafol pointed, you're comparing the argument $a on its self and not on $b: function compare_tons($a,$b) { // compares string $a['tons'] from $a['tons'] // OR SHOULD THIS BE $a['tons'] from $b['tons'] return strnatcmp($a['tons'],$a['tons']); } ![]() | |
Re: Actually it's hard to decipher what you wan't although your thread's question is understandable; though too generalize. Can you please provide a snippets of your code, and put what you want to do in bullets? If it's ok for you. | |
Re: > It is taxing local resources? **YES** Here's a simple example: **inc.php** <?php echo "Hello World!"; **includePerfCheck.php** <?php $count = 0; $start = memory_get_peak_usage(); while($count<1000){ include 'inc.php'; $count++; } $end = memory_get_peak_usage(); echo "<br />".$start."::".$end; **simpleRunCheck.php** <?php $count = 0; $start = memory_get_peak_usage(); while($count<1000){ echo "Hello World!"; $count++; } $end … | |
Re: Checking your code from your first post, I find these errors and problem: var inputString = prompt("Type in a number or some words, but not both."); // Don't forget the semicolon, it's a good practice on putting one // at the end of each statement var outputString = "" var … | |
Re: I've worked with data from excel, preparing the data and converting it to csv using excel first then exporting it to database; it's the easiest way though. LOL :D But never had a chance to work with unicode. Maybe you should try it first, then if you had a problem … | |
Re: Hi GrapficRegret, Have you checked the script file where you accept the changes(data) if it also has protection not to process incomming data if they're not authenticated and authorized? | |
Re: I'm quite not sure yet, I haven't tested your code yet(kill me for no doing so. LOL. I've just read the API Doc of Raphael, just now), but it seems your arr is just creating another object of paper in your function "setPixel" and "unsetPixel" function setPixel(x, y,arr) { var … | |
Re: Hi Suzie99, Can you add the content transfer encoding field and tell it's binary. `Content-transfer-encoding: binary` `header('Content-transfer-encoding: binary')` Let me know what happened. | |
Re: I believe pritaes was right, you have to check the CSS if you wan't to change the style but if it involves the html structure of the search block, then you have to work with the template; and if it involves data that you intend to display in the browser … | |
Re: That's kinda weird. Uhmm can you do this instead, without clearing the '$' variable in global. (function($){ $(document).ready(function() { $("#icomenu").toggle( function(){ $("#menu").animate({left:"0px"}); }, function(){ $("#menu").animate({left:"-280px"}); }) }); })(jQuery); Are you using different jQuery versions? | |
Re: You can use HTML5's localStorage/ Cookie if you want it to be retained. you can do the following steps 1. Passively/Actively save the option value to localStorage/cookie 2. Refresh 3. Check which radio button was selected, then put a "checked" tag | |
Re: You can use getElementById, as stbuchok's suggested, or you can also explicitly access the value through document.[YOUR_FORM_NAME].[YOUR_INPUT_NAME].value Base on your HTML, here's the ref on your firstname's input value: `document.form1.fname.value` | |
Re: Hi Venter, I've checked sisyphus. Getting data locally should be done on client side, and sisyphus uses automatic restoration of data on inputs. Meaning, you can access them the same you access your input. Your code one clearing data should be done using sisphus' manuallyReleaseData method. What I believe your … | |
Re: Yes, you can. Through the FTP protocol. Here's a sample directory listing, then with regards to downloading the contents, you can use ftp commands to download the contents after parsing the directory list $curl = curl_init(); $ftpURL = "ftp://localhost/" $ftpUsername = "username" $ftpPassword = "password" curl_setopt($curl, CURLOPT_URL, $ftpURL); curl_setopt($curl, CURLOPT_USERPWD, … ![]() | |
The End.