Please help with a basic javascript syntax
Can anyone help me please with an installation of 'remove from Favorites', I'm working.I have query to get all the favourites, and then I pulled out the Favorites to the bottom of the page
Each favorite has a link 'remove from Favorites' - I want to make sure that when a user clicks on this link, they get a javascript confirm box pop up saying "are you sure you want to delete #favourites name # of your Favorites?
So I have...
function remove(profile,name) {}
If (confirm ("are you sure you want to delete #name # your Favorites?")) {
Window.Location = "remove_from_favourites.cfm? deleteFavID = #profile # & removedName = #name #
}
}
and
< div onClick = "remove(#rs_favs.favouriteeID#,#rs_favs.firstName#)" > remove from Favorites < / div > "
but it does not work - I think that there are 2 problems...
problem 1 - I used CF # in the suppression works as I don't know what we're doing in javascript for "output" a variable (see where it says "Are you sure you want to remove #name # favorite") what should I use instead of ' # '?
problem 2 - I tried to pass to the function variables > > onClick = "remove(#rs_favs.favouriteeID#,#rs_favs.firstName#)" and I separated the but a commercial "," but I suspect that it is an incorrect syntax "
If someone could please help me I would be very grateful to be honest, I like coldfusion - but javascript hurt just my head! :(
Thank you very much.
PS how I wrapped my text 'remove from Favorites' in a div rather that to make a link real 'a href' - is that correct or is there a better way (ideally I want the text to look like all my other links (ie they emphasize on mouse over))
It's because you pass a value of string without single quotes in your onclick() function.
To take
Tags: ColdFusion
Similar Questions
-
The GPS metadata - please help with some basic questions
I have a GPS (from GiSTEQ) encoder which I use to collect location data. I use GeoSetter to encode the image files. I have a set of jpg of my camera that I've already imported into LR 3 (under Win7 64-bit). After importing, I loaded GPS data using GeoSetter and collected the device GPS data. I know, I should have updated the jpg files before import.
* Now that the jpg files are there, I can't figure out how to make visible the GPS metadata. I tried to update the metadata of the file and looked at various metadata views of the Panel in the library, including "EXIF and IPTC" module (my default), 'Place', "Default" and "All plug-in metadata", but nothing seems to resemble GPS fields. What I am doing wrong?
* How can I easily I updated all jpg files of this collection to include their GPS data and not lose the metadata, develop settings, etc I already applied for in LR?
* I usually shoot RAW - what I would do differently if I had coded the location of RAW files is coded import before or after?
Thank you!
Dilip
I run Geosetter and LR but only with RAW files, but I'm guessing that the same steps are necessary for JPEG files.
1 open Geosetter and open the folder containing the images
2. synchronize images with the GPS log file - check Geosetter finds a match for the images.
3. get location data
4. save results - Geosetter should prompt you if you leave without it.
5. in LR select images and metadata for files read - this will import data from co - ADR and the location of the GPS from the image or sidecar file.
If an image is a not all GPS areas data do not show in LR so it seems that your images do not have the data. You can check by opening Geosetter and looking at a picture in the list of files - it will show GPS data
I hope this helps.
Colin
-
Need help with the ANSI Join syntax
Version: 11.1.0.7
I have my select statement that returns 3000 lines and looks like
I want to convert it to ANSI SQL, because it must be able to Hibernate, and the developer says that Hibernate include only ANSI SQL. I tried something likeselect .. from tab1 a,tab2 b,tab3 c where a.c1=b.c1 and b.c2 = c.c2(+) and ... group by ..
I felt bad and it turned out to be the same. It returns no rows. Please help with the correct syntax.select .. from tab1 a INNER JOIN tab2 b ON a.c1=b.c1 LEFT OUTER JOIN tab3 c ON b.c2=c.c2 where ... group by ..
I'm not sure, sorry, because it's certainly the ANSI equivalent to the non-ANSI.
Would you have examples of queries and data that you can reproduce the problem with, and that we could analyze?
Published by: Seanmacgc on July 15, 2009 12:48
If there is no Clause WHERE conditions in the original that are included in the ANSI version of the query in the WHERE Clause for the EXTERNAL table itself joined, then that could transform the JOIN JOIN internally, that is, all the filters on the EXTERNAL joined table should be included in the JOIN predicate - IT (b.c2 = c.2 AND c.c3 = 'X').
-
Please help with download. ?
Please help with the download?
Available downloadable Setup files:
- Suites and programs: CC 2015 | CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
- Acrobat: DC, XI, X | 9,8 | 9 standard | 8 standard
- Captivate: 8 | 7 | 6 | 5.5, 5 | 1
- Cold Fusion: 11: 10 | 9.0.2 version 9.0.0, 9.0.1, 8.0.1, 8.0.0, 7.0, 6.1, 6.0, 5.0, 4.0
- Contribute: CS5 | CS4, CS3 | 3,2
- FrameMaker: 12, 11, 10, 9, 8, 7.2
- Lightroom: 6| 5.7.1| 5 | 4 | 3
- Photoshop Elements: 14 | 13 | 12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
- Premiere Elements: 14 | 13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
Download and installation help links Adobe
Help download and installation to Prodesigntools links can be found on the most linked pages. They are essential; especially steps 1, 2 and 3. If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".
-
Get error 207 trying to download creative Cloud and someone please help with this problem, thanks in advance please.
Please refer to
-
I need to reactivate Photoshop CS4 because I have a new hard drive in a reminder for my 2.5 yr old iMac last operating system running. When you open the program, I was told to contact Adobe support and give them an error code: 150:30. Please help with permission. ?
You can repair it yourself. I have a screenshot guide. You use app the Mac Terminal and a python (.py) script that comes with the recovery of the license for the Mac package.
Don't forget to leave a space after typing sudo python and note that your password will not display any points. Simply enter it blind.
Start 11 Message and take your time. It does not work. Layout error 150:30 opening Photoshop cs4 on Macbook Pro
Gene
-
Hi all
In my application, there is a colujmn in a table with the date field (calendar) and 2 other fields. The user is not allowed to enter later in the date field, I used a javascript script and it worked fine, but later I discovered that this works only for the future date, (not months or year) assume that, if the date is November 15, 2010, the error is thrown, otherwise if the date is October 15, 2010, error is thrown , for dates like December 10, 2010, December 10, 2011... error is not thrown, that is to say in the coming months and the year is NOT thrown.
I used the code below:
< script language = "JavaScript" type = "text/javascript" >
function test (SAVE)
{
for (var i = 1; i < = 30; i ++)
{
"" var i1 = i + "";
if(i<10)
I1 = '0' + i;
var datval = document.getElementById("f04_00"+i1).value;
If (datval! = null & & datval > ($v ('P10_FUTURE_DATE')))
{
Alert ("You entered at a later date that is not valid.");
document.getElementById("f04_00"+i1).value = ";
document.getElementById("f05_00"+i1).disabled = true;
document.getElementById("f06_00"+i1).disabled = true;
counter ++;
}
on the other
{
document.getElementById("f05_00"+i1).disabled = false;
document.getElementById("f06_00"+i1).disabled = false;
}
}
if(Counter==0)
{
doSubmit (SAVE);
}
}
< /script >
If the incorrect date is selected, the first value in the column is disabled and the other columns fades.
Another problem I'm facing here is the calendar does not close when you selected the value, I have to close it manually.
Please help me with the code!Hello
OK - you should check the settings on the report and the process.
For each column in the report, check that reference parameters owner of the Table, name reference Table and column name of reference are executed correctly. Note that the reference column name must match the name of the column or the name of the alias, as defined by the SQL statement.
For each process, make sure that the owner, Table and primary key column name are executed correctly - it should be the same for all processes in the form of tables.
Andy
-
need help with something basic, rename pages, made in muse
Hi all
can someone help me with a basic task,
I need to rename a page ivve Muse containing slide shows or forms,
When I download via FTP on writing the page index.html of Web sites
any suggestions on what I'm doing to rename Ive tried everything
Thank you in anticipation
Julie
Hi Julie,.
To rename a page in Muse name, please right-click on the page and access the properties of the page. "You can rename the name of the page of all pages, as well as the 'file name' of Muse, but you cannot change the ' file name ' Muse index page. Please refer to the following screenshot:
If you choose to export the site in HTML format, you can then change it so but links of menu items will be broken and you must manually link all the elements menu outside the muse.
I hope this helps.
See you soon!
Aish
-
HP Pavilion P7-1110: Please help with editing after scanning
I know how to analyze an element, but after that I scan I do not know how to edit. I have Micro Soft Word 10 and my scanner is a HP Officejet 4630. If you can please help and thank you.
Hi Tadpolegreen,
Thank you for answering my questions!
I would recommend going by there how to scan guide Scan in Windows 7 with full functionality software HP for HP Multifunction printers. Select how to scan with the HP software and how to scan in the form of editable text (OCR), follow the instructions.
I hope this helps!
-
Please help with my reader prs 505
Hi thr,.
Please help me on my prs 505 reader, the display got very light canoe even read the words correctly, what's wrong with it, please help
Thank you
Jeevani
Hi Jeevani,
Welcome to the community of Sony!
Sony Electronics apologizes for any question, you have met with your product. A small number of E Ink devices, with specific display panels, can become sensitive to the discoloration of the display when a page is turned while watching in strong direct sunlight. Clear the display is only temporary and can be corrected by adjusting the angle of the camera to avoid direct light from the Sun and then a page turns.
Also, try the steps on the below technical support article:
http://www.KB.Sony.com/selfservice/documentLink.do?externalId=C1008817
Thank you for your message.
-
Please help with if, then formula
I'm having troble with so and so, please help. So here's my question, if E is less than or equal to 30, then multiply K by 12% and specify the amount of 12% at Mr. Merci for your help and please show me the formula.
Do you mean something like this?
The formula in the column N:
= IF(E≤30,K*12%,"")
You do not specify what you want if the value of E is > 30, so the formula here is nothing. If you want something, then replace ' ' to the desired value.
SG
-
Very slow Macbook Pro (2012), please help with report EtreCheck
Hi all
My Macbook runs very slowly, I tried a number of things suggested online but none worked. I recently went to a repair shop and they suggested it could be to do with the dataflex (not sure if this was exactly, but I remember it sounding similar.) They described as a hard drive to another internal component connection, sorry for the inaccuracy.) I have me am replaced, but this did not help either.
I downloaded the software EtreCheck and I was wondering if someone could help me to make light of the report on possible solutions? I have the feeling that it could be the hard drive needs to be replaced, but have no evidence of that. Verification has been run for the problem of "Beachballing" and got the sub report, please let me know if more info would be helpful. I hope it's telling in a way!
Thank you for the pointers.
EtreCheck version: 2.7.8 (238)
Report generated 2016-01-26 22:56:56
Download EtreCheck from http://etrecheck.com
Duration 10:23
Performance: Poor
Click the [Support] links to help with non-Apple products.
Click [details] for more information on this line.
Problem: Beachballing
MacBook Pro (13-inch, mid-2012)
[Data sheet] - [User Guide] - [Warranty & Service]
MacBook Pro - model: MacBookPro9, 2
1 2.5 GHz Intel Core i5 CPU: 2 strands
4 GB of RAM expandable - [Instructions]
BANK 0/DIMM0
OK 2 GB DDR3 1600 MHz
BANK 1/DIMM0
OK 2 GB DDR3 1600 MHz
Bluetooth: Good - transfer/Airdrop2 taken in charge
Wireless: en1: 802.11 a/b/g/n
Battery: Health = Normal - Cycle count = 420 - SN = 9G22603YVD3MB
Graphics Intel HD 4000
Color LCD 1280 x 800
OS X Mavericks 10.9.5 (13F34) - since startup time: less than an hour
Disk0 APPLE drive HARD TOSHIBA MK5065GSXF: (500,11 GB) (rotation)
EFI (disk0s1)
: 210 MB Macintosh HD (disk0s2) /: 499,25 go-go (248,48 free)
HD (disk0s3)
[recovery] recovery: 650 MB OPTIARC DVD RW AD - 5970H)
Apple Inc. FaceTime HD camera (built-in)
Apple Inc. Apple keyboard / Trackpad
Computer, Inc. Apple IR receiver.
Apple Inc. BRCM20702 hub.
Apple Inc. Bluetooth USB host controller.
Apple Inc. Thunderbolt_bus.
Mac App Store and identified developers
[failure] com.apple.maspushagent.plist [details]
com.Apple.Security.syspolicy.plist [failure]
[loading] com.google.keystone.agent.plist [Support]
[loading] com.oracle.java.Java - Updater.plist [Support]
[loading] com.adobe.fpsaud.plist [Support]
[loading] com.google.keystone.daemon.plist [Support]
[loading] com.oracle.java.Helper - Tool.plist [Support]
iTunesHelper Application (/ Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
[ongoing] com.etresoft.EtreCheck.85920
FlashPlayer - 10.6: Version: 19.0.0.226 - SDK 10.6 [Support]
QuickTime Plugin: Version: 7.7.3
Flash Player: Version: 19.0.0.226 - SDK 10.6 obsolete! Update
Default browser: Version: 537 - SDK 10.9
o1dbrowserplugin: Version: 5.41.0.0 - SDK 10.8 [Support]
googletalkbrowserplugin: Version: 5.41.0.0 - SDK 10.8 [Support]
JavaAppletPlugin: Version: 25 check the version of Java 8 update
Flash Player [Support]
Java [Support]
TeXDistPrefPane [Support]
Time Machine not configured!
6% update_dyld_shared_cache
4% WindowServer
3% kernel_task
mdworker (3) 2%
1% launchd (4)
Top of page process of memory: ⓘ
508 MB com.apple.WebKit.WebContent (4)
502 MB kernel_task
Safari of 283 MB
Finder 197 MB
152 MB softwareupdated
988 MB of free RAM
3.03 GB used RAM (750 MB cache)
Used Swap 0 B
26 January 2016, 21:59:30 self-test - spent
Hello mrdivorce,
It looks like of course as evidence of a hard drive failing for me. Hard drives 2.5 "in the MacBook Pro tend to fail after 2-3 years. Judging by the date on your MacBook, I think that your time is up. Maybe try to find a different repair store. Looking for Service Center authorized Apple (https://locate.apple.com/).
I suggest upgrading to an SSD and increasing your RAM too. Then you have the hardware to run the last OS X 10.11.
-
Please help with reset the time lock
We have problems with our computer to lock if we are online, etc. We need to connect back with our password to see what we were reading. If the mouse is still for a few minutes, the computer will automatically lock the computer mode. Can someone tell me how to set this time around so that it does not lock the computer after a minute.
Thank you!!
Hi jomabe,
Thanks for posting of answers.microsoft.com with respect to this application.
According to the information provided, it can be either parameter must be changed or the option of power setting could be revised in order to help you with this problem.
For a change of setting screen saver, click on empty place on the desktop and select PERSONALIZE / screen saver - check if the waiting period is set for a time relevant to your operation or if it needs to be revised. In addition, if the Logon Screen summary view is checked, it will ask login during the resumption of the activation of the screen saver.
Another area that may be the result of what is living could be in the power Plan options. To check if the power management options contribute to the problem, follow these steps to customize a diet plan to check whether components that can be going to sleep can be adjusted to your needs.
How to customize a diet plan
To customize a diet plan, follow these steps:
- Click Start
type Power Options in the start search box, and then click Power Options in the list programs. - Click on change settings for the plan under the plan.
- The parameters of change for the plan page, select the display settings and parameters of sleep that you want your computer to use, or click on change advanced power to change additional settings.
- Click OK, or click on save changes to save the changes.
Ensure that the plan of the power that you want the computer to use is selected in the Power Options page.
Pasted from http://support.microsoft.com/kb/935799>
Make sure to consider change Advanced Power settings selected in the context of your current power plan to check if a network card, hard drive or other component can go to 'sleep '.
Please let us know on this issue if it helps with the determination or help.
Kind regards
Debbie
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. - Click Start
-
Please help with the problems of Vista SP2
So I spent all day on the forums here and I'm head over heels. I had problems with Windows update and some other problems on my Dell Studio XPS. It is a tower with double HDs in RAID mirror running Vista 64-bit with SP2.
I got it for 3 years and I thought that I clean and correct certain defects to go back to the original Dell factory condition. That did not fix the update install problem I did cleaning. Now it's worse.
I'm trying to install SP2 and get a catastrophic failure 0x8000ffff error-UNEXPECTED
The onlychange is that several months ago, one of my WD 640 GB drives factory failed and I replaced it with a Seagate Barracuda 1 TB since I couldn't find a 640 GB drive.
I tried to stop and restart all services BITS, etc. no luck.
I tried to run among the MS FixIt for the problem of update, but it fails because it says that it cannot initialize the powershell.
Help, please... I'm hopelessly lost and can not spend more money on this thing.
Thank you!
If you need additional help with the clean install, please start your own, new topic in this forum: http://answers.microsoft.com/en-us/windows/forum/windows_vista-system
If these procedures look too complex - and there is no shame in admitting this isn't your cup of tea - take the machine to a local, good reputation and independent (i.e., not a BigBoxStore or a Geek Squad) computer repair shop & ask them to do the job.
-
Please help with microphone and yahoo messenger
my microphone does not work on yahoo messenger. any ideas please help thanks
Hi razzle5150,
We would like to get some more information from you to help solve your problem. You better, please answer the following questions.
1 when was the last time it was working fine?
2. the microphone works with windows?
You may need to set up your microphone for speech recognition. Please visit the link below to set up the microphone.
http://windowshelp.Microsoft.com/Windows/en-us/help/c1f5740d-2b4b-4656-b8ee-c2b95264ebf21033.mspx
Check that the microphone input level is set correctly, check out the link below to check if the value is correctly:
Hope this information is useful.
Let me know if it worked.
All the best!
Thank you, and in what concerns:
Halima S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
Maybe you are looking for
-
Hello I must have changed a parameter, so that the 'Clear' and 'Junk' buttons above the mail pane disappeared, and a button 'Archive' appeared instead. It is true that for my mail via Gmail (IMAP), but when I opened an e-mail from my account (POP), I
-
Canon 6 d. Viewfinder is disabled. How do I turn it back on?
I have disabled somehow the viewfinder and can only take photos using the rear LCD. How can I activate the return vewfinder?
-
Windows cannot find my msconfig file. How to find or recover to diagnose problems?
I was going to use the System Configuration utility to troubleshoot my computer, but when I typed in msconfig in the run window, windows says it can't be found. I am wanting to know how to get this option.
-
background intelligent transfer
error code 2147024891 I receive this error code when I try to boot from the services menu can you teel me what it means
-
I had an important case containing a few small files to the trash.After the removal of a dvd to the trash folder is no longer in the trash, except the dvd remains in the trash.I would like to see this folder to the trash, so I can get it back again,