Is there any way to fix the wavy lines that appear when photographing a striped dress? 
It's not just in viewing online: when it was printed at wallet size, the wavy lines showed up.
Is there any way to fix the wavy lines that appear when photographing a striped dress? 
It's not just in viewing online: when it was printed at wallet size, the wavy lines showed up.
There doesn't appear to be any moire in the image itself. What you are seeing are scaling errors when the image is resized by a particular application for display on a particular size screen or print.
To solve this you can create, optimize, and export different resolutions of the image for different display environments.
For instance the display on a MacBook Pro (3rd gen) 15" is 2880x1800 pixels. Assuming you wish to view the image in portrait mode you would create a version of the image that is 1800 pixels tall by 1200 pixels wide.
For printing those wallet sized photos, you would take the native resolution of the printer in ppi (pixels per inch, not to be confused with dpi - dots per inch) and multiply by the 2.5 x 3.5 inch size of each picture on the sheet. If the printer's native resolution is 300 ppi, you would need a version of the image that is 1050 x 750. Note that you will need to crop about 7% off the height of the photo from the top, bottom, or a combination of both to fit your 1.5:1 aspect ratio photo to the 1.4:1 aspect ratio print size.
This is known as Moire and generally occurs in patterns outside of nature. When the fine patterns in the image intersect with the camera sensor, these moire effects occur.
If you are using Lightroom, then it is very easily corrected.
Open your image in Lightroom and go to the Developer Module
Then click on the Adjustment brush.
When the sliders for the Adjustment Brush open, ensure they are all at Zero. You can double click on each line to do this.
Increase the Size of the Brush and feather accordingly.
I tend to keep the Auto Mask off as I prefer to cover the area manually rather than let the computer do it, but it is a personal choice.
Paint over the effected area.
Finally, Adjust the Moire slider until the desired effect has been reached. In most cases, this will solve majority of the problem without having to resort to further Cloning!
If you are noticing this while you are photographing, the easiest fix is to move forward or back, or zoom in or out. Changing the magnification of the subject will change how the pattern interacts with the sensor. If you're dealing with it after the fact, the previous answer regarding the moire brush is your best bet.