Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~2K People Reached
Favorite Forums
Favorite Tags

11 Posted Topics

Member Avatar for MissMolly

Hey, is there any way to get this: `$(document).on('keyup', "*[data-field='quantity'],*[data-field='price']", function(e){` to run whenever there's a change the whole table? At the moment it only changes on the keyup in the [data-field='quantity'] and [data-field='price']. But thing is I have a button to delete a row, and once ones deleted it …

Member Avatar for MissMolly
0
320
Member Avatar for MissMolly

Hey guys, I have this forloop reading an array: $data = $_POST['data']; foreach ($data as $array) { foreach ($array as $key=>$prices) { $message .= ''.$prices.' '; } $message .= '<br>'; } It currently displays like this: item1 item2 item3 item4 item1 item2 item3 item4 etc Is there any way to …

Member Avatar for MissMolly
0
226
Member Avatar for MissMolly

[http://jsfiddle.net/re2af/193/](http://jsfiddle.net/re2af/193/) Does anyonw know how I can add some pre-filled data to this table? I've commented what I'm trying to do but bascially: Click add item button > creates new row with prefilled data (eg test - test - 1 - 1 - £1) > adds the whole thing to …

Member Avatar for Luckychap
0
175
Member Avatar for ehpratah

http://stackoverflow.com/questions/5393085/display-an-array-in-a-readable-hierarchical-format There's some good info on array data formatting i just used. I ended up using: $data = $_POST['data']; foreach ($data as $one) { foreach ($one as $key=>$two) { echo "$two" , "\n"; } echo "<br>"; } This will make it show the array like: item1 item2 item3 item1 item2 …

Member Avatar for ehpratah
0
288
Member Avatar for MissMolly

This code displays the contents of an array in the format: 1 2 3 4 1 2 3 4 etc... $data = $_POST['data']; foreach ($data as $tempone) { foreach ($tempone as $key=>$temptwo) { echo "$temptwo", "\n"; } echo "<br>"; } How can I get those results and use them in …

Member Avatar for cereal
0
135
Member Avatar for MissMolly

This script works fine, but there's a part I'm not sure if there's an easier / better way to do it. The part I'm talking about is commented in the script. Also any general advice on improvements if there are any to be would be cool. <?php if (isset($_POST['submit'])) { …

Member Avatar for diafol
0
233
Member Avatar for MissMolly

This script uses lazyloading images. However, it only works when you scroll to images that are off screen when the page loads. See here. Youll notice there's a heading first, and as you scroll to the images they begin to load. http://codepen.io/Chmood/pen/CHlGD/ If you load that script without the heading …

0
111
Member Avatar for MissMolly
Member Avatar for MissMolly

This scrip changes images based on browser size. The medium to larger works fine, but does anyone know why you never get the smaller image even when the windows is smaller than 480px? It just sticks at medium. http://codepen.io/hugo/pen/gDKqG

Member Avatar for rubberman
0
101
Member Avatar for MissMolly

I have this script which is calling 10 divs indavidually from an external file. HTML: <a id="load1" href="#" data-id="1" class="load"> <img> </a> <a id="load2" href="#" data-id="2" class="load"> <img> </a> Javascript: $(".load").click(function () { $("#projects").html(""); $("#loading").show(); $("#projects").load("projects.html #"+$(this).data('id'), function () { $("#loading").hide() }) }) If load1 is clicked, it loads div1 …

Member Avatar for MissMolly
0
340
Member Avatar for MissMolly

Hey guys, just joined the forum for a little advice! [Click Here](http://jsfiddle.net/Wa7Wm/) I have mocked up this grid that I'm wanting to create. Intially I was going to do this fluid images (like in this example), but I found the layout always shifted a couple of pixels at smaller sizes …

0
141

The End.