920 Topics

Member Avatar for
Member Avatar for tun712

I'm working on site preloader. I need help to animate div width on every image load **Concept** Check every image in container is loaded. On every image load increase width of loader in percent to match **100% loader width** ( 100% of viewport) on last image load. After last image …

Member Avatar for RuhiAngel
0
434
Member Avatar for ddc1975

Hello everyone, I am new to this daniweb community and I really hope you guys will help me with this as I am baffled at what I couldn't come up with or was it not possible to do that? I want to have a checkbox on either PHP page or …

Member Avatar for ddc1975
0
2K
Member Avatar for aveeva7

Here my form auto responce based on drop-down list, <tr> <th>Shipping Cost (Rs) : </th> <td id="findata"></td> <input type="hidden" name="shipping_cost" id="shipping_cost"/> </tr> <tr> Same page Ajax : <script> $(document).ready(function(){ $('#new').on('change',function(){ var zip = $("#zip_postal_code").val(); var country = $("#country").val(); $.ajax({ type: "POST", // url: "ajax_ship_cost_data.php", url: "sp_cost.php", dataType: "text", data: { …

0
345
Member Avatar for aveeva7

I have magento shipping charge code : <?php ob_start(); // require_once(__DIR__ . '/app/Mage.php'); require_once('./../app/Mage.php'); umask(0); ini_set('display_errors',true); ini_set('memory_limit', '1024M'); Mage::app()->loadArea('frontend'); function getShippingEstimate($productId,$productQty,$countryId,$postcode ) { // $quote = Mage::getModel('sales/quote')->setStoreId(Mage::app()->getStore('default')->getId()); $quote = Mage::getModel('sales/quote')->setStoreId(Mage::app()->getStore('english')->getId()); $_product = Mage::getModel('catalog/product')->load($productId); $_product->getStockItem()->setUseConfigManageStock(false); $_product->getStockItem()->setManageStock(false); $quote->addProduct($_product, $productQty); $quote->getShippingAddress()->setCountryId($countryId)->setPostcode($postcode); $quote->getShippingAddress()->collectTotals(); $quote->getShippingAddress()->setCollectShippingRates(true); $quote->getShippingAddress()->collectShippingRates(); $_rates = $quote->getShippingAddress()->getShippingRatesCollection(); $shippingRates = array(); foreach ($_rates as …

0
261
Member Avatar for aveeva7

I have predefined value like shipping_weight = 10$, my form consisting two dropdown list, if the dropdown selected based on the selection how to return my ajax value, Index.php : <tr> <th>I have : </th> <td> <select id="old" name="i_have"> <option value = "select_option">Select Option</option> <option value = "three_compact">3 Compact</option> <option …

0
2K
Member Avatar for sashika_sur

I have dynamic page which is loading and preview page from database retrieved values. I did this with successfully. I want to remove parameters from page url. Note that I only used one parameter in url. My url is something like this. (with parameters) http://ads/ad?this=daihatsu-boon-m700s-new-design-2016-nugegoda-2019-04-05-22-49-04 I tried to remove parameters …

0
412
Member Avatar for tun712

Need help to scroll when mouse wheel is used. Scroll Up or Down as per mouse action. I'm trying to create `moveDown()` & ` moveUp()` function, to scroll according mouse wheel action On scroll, remove class of current div :- `.active` and add class :- `.active` to scrolled div(div in …

Member Avatar for gentlemedia
0
4K
Member Avatar for sashika_sur

I'm recently trying to upload images without page refreshing. To do that I had identify ajax. My server side programing language is php. So I tried and success with it, but it's refreshing page. So I change that code after do research. But it shows error. Please help me with …

Member Avatar for Dani
0
455
Member Avatar for tun712

I found some examples of custom function. By checking code of some websites I created my custom function, but I'm unable to use it. How to call & use following functions? goHome: function goHome(e) { //TimelineMax code //TweenMax code } openWork: function openWork(e) { //TimelineMax code //TweenMax code } openAbout: …

Member Avatar for Dani
0
465
Member Avatar for hlforr

I have a form as below on a page pricelist.php. On submit, it uses the code in submit.php to print a price next to the form on pricelist.php depending on the choices submitted in the form. On submit, I need the values of the first two fields to be retained. …

Member Avatar for alan.davies
0
572
Member Avatar for paulkd

...was asked for some php file upload code, so I thought I would post some stripped down, barebones code that I use in admin/dashboard pages to add/change images associated with products. Please see attached image for folder setup. The code uses the [jQuery Form](http://malsup.com/jquery/form/) plugin by Mike Alsup. **index.php** has …

Member Avatar for NaReSh_12
1
11K
Member Avatar for FarrisFahad

Hello webmasters, I have a website about memes and I want to update the database each time the user scrolls down. I have no problem when I make a few requests to the database, but what if I want to do a lot of requests in a large database? I …

Member Avatar for Ray Paseur
0
3K
Member Avatar for ariowishnu

hey its me again.. now another matter about fetch data from db for provide information to modal form ( edit data ) not shown, [Click Here](https://i.ibb.co/L8jP6tb/update.png) here's just part code fr each related page : **modal edit** ill try with first input type with **id="name" name="name"** <!-- edit modal --> …

Member Avatar for Ray Paseur
0
456
Member Avatar for ariowishnu

inside mysql db which is table employe in coloumn *id_employee*, some data have a leading zero, etc : **id_employee : 0378192918 empy_name : Daniweb** i need to get id_employee for delete employe in my aplication, then i using ajax method like this : if(id) { alert(id); $("#deleteBtn").unbind('click').bind('click',function(){ $.ajax({ url: 'pegawai/delpeg.php', …

Member Avatar for ariowishnu
0
4K
Member Avatar for jonsan32

A developer from India helped me create a pretty cool page, but he's since abadoned me with a few errors in his code. On my [ROSTERS](https://fiftyallstars.com/p/rosters.html) page for my basketball program, it's meant to display cells generated from [this Google Spreadsheet](https://docs.google.com/spreadsheets/d/e/2PACX-1vQd232Tmdvi3iaqni-Gc_RR0d0he9k2Dkel5A7uJU-GWUdck4CFecru3K2HfrybyI3pfrpAMpM4XZOa/pubhtml). Only problem is it works for most grades, but …

Member Avatar for Halla_1
1
1K
Member Avatar for FarrisFahad

I have installed Facebook share button on my website but it won't work on new content. It works perfect with content that is loaded with PHP but not content appended by AJAX. Can anyone help?

Member Avatar for FarrisFahad
0
3K
Member Avatar for JRyan2212

Hi fellas, I hope my first message here comes across more helpful than bothering. I’ve recently launched a WordPress backup plugin - WPvivid Backup/Restore. It contains pretty all basic features that you’ll need to backup/restore you site and is fairly easy to use. And most important, it’s completely free(free update …

0
328
Member Avatar for Pranu_1
Member Avatar for Pranu_1
0
396
Member Avatar for GenX_1

Hello All. I am new to Daniweb. I was wondersing if there are people who could help me with CouchCMS, a PHP based content management system. I am held up in an issue where I want to generate the receipts of fees being paid by the students. So by perspective …

Member Avatar for rproffitt
0
431
Member Avatar for XamiK
Member Avatar for shivubs

hiii i need your help, i am web developer (fresher). i want display images from database/folder using ajax in codeignater. i try ur source code not working.

0
429
Member Avatar for seularts

I have a very standard code where I use a CRUD interface on my Database. The issue is that every attempt I made to redraw/update the table with the new data [ $('.table').DataTable().draw(); ] has failed miserably. Here is my targeted code: function manageData(key) { var name = $("#countryName"); var …

0
523
Member Avatar for Xhino_1

Hello i'm to make a vacations script calculator <div id="content"> <form class="form-container"> <input class="emri" type="text" placeholder="Name"> <input class="mbiemri" type="text" placeholder="Last Name"> <input class="Vendosni-Datelindjen" type="text" placeholder="Birthday"> <select class="drop-down-select"> <option selected="selected" value="Select Zone">Select Zone</option> <option value="Zone A">Zone A</option> <option value="Zone B">Zone B</option> </select> <select class="drop-down-select"> <option selected="selected" value="Nr of persons">Nr of persons</option> …

Member Avatar for alan.davies
0
369
Member Avatar for qb

I'm trying to figure out why some of the ajax tabs are not working. The first two tabs work, the third through 5th tabs do not work when you click on them.

Member Avatar for gentlemedia
0
322
Member Avatar for Rizwan_8

Hi 1.am able to run using XAMPP on PC. When i run from my board, am not getting proper data. I mean it is not fetching the file index_1.txt.html and index_1.txt file are available in same path in sd card. Anything wrong 2.Instead of using second argument with file name, …

Member Avatar for alan.davies
0
386
Member Avatar for Loyal

Greetings, Trying to understand how to load from a master menu (UL-LI styled) different external html files into multiple DIV s all on the same page. I have a note taking system that runs offline that uses html5 css3 and frames. It uses 2 rows and 4 columns for the …

Member Avatar for kgweb
0
2K
Member Avatar for tun712

I need some help to add few audio effects to website. I found some examples like following, audioOn: true audio.muted = false setAudioOn true ref: "audio", attrs: { "id": "projects-audio" } }, [_c('source', { attrs: { "src": "/audio/click.mp3" } playAudio: function playAudio() { this.$parent.$refs.clickAudio.volume = 0.8; this.$parent.$refs.clickAudio.play(); }, I need …

Member Avatar for tun712
0
3K
Member Avatar for Mohamed_106

Can you help me to programe a window pop up in my site say in it write your email which code should i use in html and javascript

Member Avatar for pty
0
376
Member Avatar for Mohamed_106

If you viste www.topelven.com you will find a perfect website devloped but till now i can't understand what they code with css can you give me exemple

Member Avatar for Mohamed_106
0
401
Member Avatar for Andry_1

I'm trying to make SSO like [Yandex](http://yandex.ru/) do. How achive authentication without redirect if user has been already authenticated at another service provider? I am working on SAML, but I could not achieve implementation without a redirect.

0
244

The End.