Coldfusion and jquery drag and drop ...

I am tring to create div by looping cfquery and assign them with #id# as id if I do inthis way drag and drop does not work, if i give div a id i am able to  drag only first div box not all div boxes any suggestion below is the code I am using
<script type="text/javascript">
$(function(){
// TOGGLE SECTIONS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$('h1').bind('click',function(){
  $( this ).next('.section')
   .slideToggle();
  }).eq(0).trigger('click');
// DEMO FIVE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$('#demo5_box')
  .bind('dragstart',function( event ){
   if ( !$(event.target).is('.handle') ) return false;
   $( this ).addClass('active');
  .bind('drag',function( event ){
   $( this ).css({
    top: event.offsetY,
    left: event.offsetX
  .bind('dragend',function( event ){
   $( this ).removeClass('active');
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
}); // doc.ready
</script>
<style>
.handle {
cursor: move;
.box {
position: absolute;
height: 25px;
width: 88%;
background: #CCF;
border: 1px solid #AAD;
text-align: center;
font-size: 12px;
</style>
<cfif q.recordcount GT 0>
<cfoutput query="q">
<div id="demo5_box" class="box" align="center">
<div class="handle bar" onMouseUp="resort();">.handle</div>
#evt#
</div>
</cfoutput>
</cfif>
basing on move event I am calling a cfc to update database but I am unable to catputre the values any help?

More information would be great.
What type of site is it?  WordPress?  Joomla or Drupal?
What drag and drop theme or framwork are you using?
What version of software and theme, what type of hosting, what version of PHP and mySQL?
I'm having similar issues but details such as these will go a long way to grouping symptoms and getting to the bottom of the problem(s).
One thing I've noted is that in most cases everything is actually working.  It's just taking an unbelievably long time.  jQuery isn't the problem either.  It seems more closely related to the quantity of available tasks on a given page.
There are forum posts for v7 that say Safari isn't compatible with WordPress for example.  It is compatible and works just fine, but if you're running the latest version of Catalist Theme and their Dynamic Site Builder you can't do anything with Dynamic admin because all its options are on a single page which appears to be too much for Safari 7 to handle for some reason.  Folks are having similar problems with Genesis, Headway Theme, Pagelines and many others.

Similar Messages

  • Jquery Drag and drop in cfdiv bind url

    Hi guys,
                is it possible to use jquery drag and drop in templete that I bind in cfdiv tag? If you could let me know how can we do it.

    Hi there
    jquery and coldfusion are not related.  Cold Fusion runs on the server and produces html, jquery runs on the client and operates on html.  The two are totally disconnected.
    Take a look at the html produced by the cfdiv tag, and then head over to the jquery forums.  Im sure someone will be able to help you more there.
    Cheers

  • JQuery Drag and Drop Plugin Not Working on Safari 7.0

    I have a website that uses jQuery Drag and Drop and it is working on Safari 6.0.5, Chrome, and Firefox, but it doesn't work on Safari 7. Any ideas why this would be?
    In genearl Safari has a lot of CSS and Javascript issues. If there is a place that list all of these issues and solutions I would really appreciate it.
    Thanks

    More information would be great.
    What type of site is it?  WordPress?  Joomla or Drupal?
    What drag and drop theme or framwork are you using?
    What version of software and theme, what type of hosting, what version of PHP and mySQL?
    I'm having similar issues but details such as these will go a long way to grouping symptoms and getting to the bottom of the problem(s).
    One thing I've noted is that in most cases everything is actually working.  It's just taking an unbelievably long time.  jQuery isn't the problem either.  It seems more closely related to the quantity of available tasks on a given page.
    There are forum posts for v7 that say Safari isn't compatible with WordPress for example.  It is compatible and works just fine, but if you're running the latest version of Catalist Theme and their Dynamic Site Builder you can't do anything with Dynamic admin because all its options are on a single page which appears to be too much for Safari 7 to handle for some reason.  Folks are having similar problems with Genesis, Headway Theme, Pagelines and many others.

  • I have the old ipod classic and cant drag or drop/update music on the new itunes?

    I have the old iPod classic and cant drag or drop/update music on the new iTunes?

    Try using this program to place the iPod in recovery mode
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    You can also try:
    The Firmware Umbrella - TinyUmbrella

  • JQuery drag and drop image order with save to database?

    We have a property image gallery on our website and a CMS that allows us to add/edit images in the gallery.
    Image file names are stored in a database table:
    imgID (int)
    propertyID (int)
    imgfilename (nvarchar)
    displayorder (int)
    Images are displayed in order of "displayorder" but we'd like to be able to drag and drop the order in our CMS and have this update the database table with the correct display order.
    We found this jQuery solution but it doesn't appear to work, although descriptively it's exactly what we're trying to acheive:
    http://halnesbitt.com/blog/2010/08/05/save-order-with-jquery-ui-sortable-and-aspaccess
    Can anyone advise a similar script or solution?  We're using Classic ASP and MSSQL.
    Thank you.
    NJ

    Hi,
    Not looking at any code you have an upload button for the video and an insert for the form. So both forms are independent of each other it looks like, thats why when you do one you only get that info and when you do the other you only get the other info. You should just make one form with the uploader included. Make one form with all the fields included (movie name, movie page, movie description, movie file) after the form is completed then select the file field and go to...
    Server Behaivoirs, Developer Toolbox, File upload, upload file. Follow the widgets.

  • Coldfusion and sriptaculious (drag n drop)

    Hi everyone, Just wondering if anyone knows - im using mxajax
    (coldfusion) - I was using the scriptaculious shopping cart (drag n
    drop) on their site. Is this kind of functionality possible with
    mxajax/ coldfusion
    Many thanks
    Mark Holloway

    I don't think drag n drop works in table control. You may need to change table control to ALV grid control.

  • Gnome-shell and xfburn - drag-and-drop no longer supported

    Can someone using gnome-shell else try this as a sanity check:  try to drag-and-drop an mp3 file into xfburn in "Audio CD" mode.  For me, mp3 files are ignored but wav files drag-and-drop in just fine.  I can add mp3 files to the compilation but only if I do so through the xfburn GUI.

    I get the same behavior here.

  • Calling dialog program screen in custom control and using drag n drop

    Hi Experts,
    SCENARIO:
    I have a custom container control. I want to insert a dialog program screen in custom container control in one half and tree nodes in the other half.
    Now my dialog screen has a table control. I want that the user can drag n drop the nodes in the cells of my table control.
    Please help.

    I don't think drag n drop works in table control. You may need to change table control to ALV grid control.

  • Cant see text and cant drag and drop images

    ok well when I insert text it doesnt show but It shows what i written on the side. I have contact support their answer was they can't help me because I am trial verison. I am simply not going to buy a program if the trial verison is not working its that simple. Also When I try to drag and drop a picture a little circle apears with the line through it. I do have admin rights.

    On the side is called Layer Palette there dopple click on the T  then go to the Move Tool. It should scow now.
    You might be mixing up stuff.
    So there is a Text Layer (signified by an Icon with a »T« in the Layers Panel)?
    Does it contain text yet?
    When you double click that the text should become selected, but the Move Tool has nothing to do with this.
    Could you please post a screenshot with the Layers Panel visible?

  • Iphoto question. I have 8 images in an event. One is out of order. I have tried to copy and paste, and to drag and drop, but I cannot get it to move. Can anyone help?

    I have an iphoto question. I have 8 images in an event. One is out of order. I have tried to copy and paste, and  i have tried to drag and drop, but it won't move. Any help?

    IPhoto forum:
    https://discussions.apple.com/community/ilife/iphoto

  • How do I change the desktop Icon for an external hard drive?  I have gone to "Get Info" and tried dragging and dropping  several formats of pictures and the icon changes to the generic image of that file type.

    how can I change the desktop icon for an external hard drive.  Using LaCies and Dimple hard drives.

    One of the things I've found with OS X (at least with Snow Leopard, which is my first excursion into OS X), is that all too often the thumbnail displayed on a file, whether a file created or one downloaded, is a false thumbnail. That is, when you do a Get Info on the file the icon in the upper left is the generic icon for that file type, rather than the thumbnail displayed in Finder. Makes it a bit difficult to copy.
    Apparently Finder uses Preview in the background to generate the displayed thumbnail without actually creating one.
    What I've resorted to doing, particularly with graphic images, is to process them with GraphicConverter - I have its prefs set to automatially add thumbnails and previews. With an individual file this means opening it in GC and doing a Save As. However, a much easier and faster way is when there are two or more such files; I put them in a common folder and drop the folder onto GC. GC then opens them in a catalog view, in the process adding real thumbnails and previews to each automatically. Doesn't take long to do several hundred files that way.

  • Cannot install applications and/or drag and move files

    I am having issues in Mountain Lion where it is not allowing me to install applications by dragging them to applications or dragging files to move them.. Anytime I do this, it gives me a green circle below the icon with a white plus sign and does not allow me to drag/install the file..  Any ideas?

    Can anyone help please?

  • I have to double click for clicking, and cannot drag and select.

    Hello
    Yesterday my mouse went out of batteries, and i put a fresh new ones in (have tried a lot new), nothing works.
    After that happened my mouse has been wierd.
    - I have to doubleclick to click.
    - When i select a text, it removes what i have selected after 1-2 seconds, like i click on the mouse again.
    - I have to doubleclick on all elements to click them.
    It's so annoying, and i don't know what to do.
    - I have upgraded the newest LION OS - didn't work.
    - I tried remove all startup programs - didn't work.
    - I tried removing unierval access from other devices - didn't work.
    - I tried restarting my computer - didnt work
    - I tried scanning my computer via. CCleaner - didn't work.
    What to do??

    Check your settings in System Preferences > Mouse

  • Illustrator Default PDF, if open in Acro Pro, drag and drop other .ai files, will they also....

    Hi! I'm trying to archive (for myself and others for easy access) about 50 fairly complex .ai files in a single Illustrator Default PDF and maintain editability and preserve layer and grouping integrity for every separate file, and, i'm probably going to have to do this hundreds of times (at least!) in the future. Once i save the initial first pdf file through Illustrator (wish didn't even have to do this, but seems no way to do in Bridge), then open the resulting pdf w Acrobat Pro, can i then just select an entire folder's worth of ai files in Bridge, drag and drop them into the pages panel and still have the dragged and dropped files also preserve all their AI info and layer/ group integrity? An if not, thinking if not based on 20 similar experiments, what's a fast way to do this. Doing this manually each time: opening each file in AI then saving as AI pdf, then combining and arranging them all after the fact, would be, well, fairly effed in terms of time, carpal tunnel, arthritis etc. Experimented w Bridge PDF Output batching (terrible rasterized lo-res results, but great for its intended purpose) and just dragging and dropping into Acrobat (lose complicated layer names and info, all flattened to single layer). Any help most appreciated, and as i do not have regular access to das interwebs  (i live on a boat) would appreciate and heed gentle admonishment if i've misposted or broached any community etiquette here. I've researched this as well as i can but can't find anything efficient/ elegant not involving InDesign, and even then the details are skimpy. Thank You! Getting mentally exhausted and not a little loopy. Keep in mind had to teach myself both Illustrator, Acrobat etc with access to the very limited offline help menus (the boat), so a complex answer involving learning InDesign would be learning curve can't even imagine with everything else struggling to do. But if you're willing to babystep diagram it out for me or can find me a link that does i will not only be eternally grateful but will do my durndest to master it and pass it on....Thanks Again! lil mc szpf
    PS If it helps I'm running the diligent dogged dusty beloved workhorse CS4 Design Premium on 27" monitor 2010 Mac (OS X 10.6.8), and took advantage of rare housesitting net access to install all most recent updates of everything, i'm barely competent w AI, PS, BR and been tackling Acrobat for past couple of months now....

    im glad that somebody is atleast trying. perhaps i need to be more clear.
    i will step by step describe the issue in detail.
    1) i open an email that contains an attachment .dxf or .pdf
    2) i click on the attachment shown in the email and aprompt comes up asking if i want to open or save the attachment.
    3) i select save. (by default it saves to a downloads folder. but i have also chosen to use other folders (when i did that it wouldnt save them)
    4) i highlight the downloads arrow on the right top side of my browser and click it
    5) it pulls down a list of the files that i USED to be able to click and drag onto my destop, or anyplace i chose
    6) used to be when i clicked and held the left mouse button down on top of a file of my choosing it would highlight and as i began to drag, a ghost image would appear of the file i was dragging. showing a (/) symbol next to it showing i couldnt drop the file within the browser and a + simbol showing that i could drop the file when the file was hovering over a place where i could drop the file such as my desktop or other folder. now, when i click and hold on the file.... I DONT get anything. when i drag. nothing follows. while i am "dragging" in the area that is my browser, i get the pointy finger icon. as soon as i enter an area where i could have dropped the file as before, i get my standard cursor arrow.
    its really as if the drag and drop feature just dosent work IN FIREFOX.
    i can drag and drop files all day long everyplace else.

  • Drag and Drop to photo page creates links, doesn't replace placeholders

    I searched the discussions for quite a while and didn't find much similar to this topic. Basically, drag and drop is no longer working on my iWeb and my photo grids will not accept pictures to replace the placeholder (sample) photos. I will try to explain the whole problem in detail.
    I am a new iWeb user, and I set up a page without any problems at first. Yet when I returned in iWeb to add another photo page today, I have had a lot of trouble. I used the template Photo Page and opened the Inspector and the Media Viewer to drag photos onto the placeholder photos, as the Help pages and tutorials show. Yet when I drag the picture file from the Media Viewer into the photo grid, only a small text box appears that sets up a hyperlink to the photo file on my computer. I've tried messing with the inspector, seeing what the difference is between the placeholder photos' settings and the files I'm trying to add.
    The only differences I can see are: in the Link Inspector's pane I can tell the program is at first making a hyperlink to the file instead of displaying the photo (yet disabling the hyperlink doesn't change anything); also,
    In the Graphic Inspector pane that appears when I have selected a general area in the photo grid, at the top the "Style" , "Layout" and "Caption" options appear, along with a display of a sample photo style. When I click on one of the rectangles that appears with the file I am trying to drag and drop, I have only the "fill" option, which has "none" selected. Fiddling with the options does not get the photo to appear.
    I can see the blue grid surrounding the placeholder photos, so the photo grid exists. I have also tried using different templates' photo pages, but they all have the same problem. I also tried creating an album in iPhoto and importing it to iWeb, but only two photos appeared out of 12.
    So the main part of my problem is not that photos don't appear at all (if I try and insert them they appear on their own, completely independant of the template's style and the photo grid)., it is that they do not work with the photo grid and that drag-and-drop no longer works.
    Any information that could help is greatly appreciated.
    Sue

    Susan,
    Try out the following things. These suggestions are
    sort of the starting point for non-specific strange
    behavior in iWeb.
    1. Delete iWeb preference file at:
    YourHardDrive/Users/yourname/Users/Library/Preferences
    /"com.apple.iWeb.plist"
    2. Delete iLife Media Browser preference file at:
    YourHardDrive/Library/Preferences/"com.apple.iLifeMedi
    aBrowser.plist"
    3. Repair startup disk permissions using Disk
    Utility
    4. Reboot machine
    5. Delete iWeb application (but keep a backup of the
    Domain file!) and reinstall iWeb 1.0 from original
    iLife'06 DVD or Recovery Disks and then update
    directly to 1.1.1 via Software Update.
    These are the top 5 things that seem to garner some
    kind of positive results from people having similar
    problems.
    I am having the same problem Susan described. I've tried #1 and #2 from the above recommendations and still have the same problem of photos not opening in the photo page after dragging them from iphoto. I, too, published a site (not on .Mac, but I don't know if that matters) and now want to add a photo page. Also, the template shows six placeholders, but when I select the photo page only three appear.
    Hope you can help. Thank you.

Maybe you are looking for

  • My ipod touch 5th generation won't connect to itunes or my computer.

    So i was syncing my ipod touch to itunes, however in the middle of the syncing itunes froze. So i closed itunes and now when i plug my ipod touch back in it wont recognize it or connect to my computer at all. And if i just plug my charger in, it'll p

  • Dynamic creation of rules

    Hi I have to create a UI in which i need to create a table which column name same as DB column name and the table will be populated from the DB, now I have to give user ability to create their own temporary column with some specified rules for exp us

  • Data access in reports after changing Member Access profile

    Hi All I made changes in the member access profile of a user (while current system was available for User Planning). After making and applying these changes in Access profile, the Current view in the report accessible to user got updated. But the pro

  • My font is too small

    So basically I was playing around and customizing the toolbars etc when my font got messed up (see image). If I start firefox in safemode, it looks fine. If I run it normally, it looks smaller. I don't know how to increase it... And I already uninsta

  • I need a little help from you experts...

    I'm a young programmer with a simple question hopefully someone in here can help me out quick... I'm designing a game on an applet that I do not intend on putting on any webpage. In the game I am tryin to add an image to use. The code that I am using