How to send results from Captivate 7 to PHP?
Hello!
I need to send quiz results to PHP server. In Captivate 5 i did it with settings reporting by e-mail, than parcer data and send results to PHP server.
In Captivate 7 this settings unevalible.
How to do it now?
I have tryed some cases:
1. Use settings Internal Server - but it show dialog box where user have to put his name and e-mail. I dony need it! My script knows who try to pass quiz.
2. I try to use this code :
<script type="text/javascript">
document.getElementById('Captivate').focus();
document.Captivate.focus();
function getData(){
var cp = document.Captivate;
cp.cpEIGetValue("m_VarHandle");
</script>
<a onclick="getData();" href="#" > get data</a>
But it generate erorr Uncaught TypeError: undefined is not a function
on line cp.cpEIGetValue("m_VarHandle");
What can i do ?
var cp = document.Captivate;
alert (cp);
alert(document.Captivate.cpEIGetValue("m_VarHandle.cpQuizInfoTotalCorrectAnswers"));
first alert work ok
second gives the same error Uncaught TypeError: undefined is not a function ((
Similar Messages
-
How to send results to actionscript using java
Hi,
I do RPC using HttpService.
In my situation, I need to send results from Java code to
Flex Action script. I have defined a Java Servlet receiving data
from Flex application, then it processes with the data, finally the
Servlet is supposed to send some feedbacks to the client(Flex).
My question is that how can I define codes in doPost() method
that the following function will get "result" from the Java side.
public static function httpResult(event:ResultEvent):void
var result:Object = event.result;
//Do something with the result.
if (result.toString() == "success")
resultMessage.text = "Login Success";
resultMessage.text = "Invalid User";
}Hi,
Try this: If you are sending a simple text as "sucess" or
"error" after doing some process in the servlet..
set your content type to "text/plain" and simply
println(<data to be sent>);
In the flex application, get the result text that the servlet
send using:
resultString = String(httpUrl.lastResult);
where httpUrl is the id of the HTTPService. Now you can
compare what the servlet send by:
if(resultString=="sucess") {
Hope this solves your problem :)
Regards,
-- Abdel Olakara
http://olakara.googlepages.com
http://technopaper.blogspot.com -
How to send results to actionscript using java via HttpService
Hi,
I do RPC using HttpService.
In my situation, I need to send results from Java code to
Flex Action script. I have defined a Java Servlet receiving data
from Flex application, then it processes with the data, finally the
Servlet is supposed to send some feedbacks to the client(Flex).
My question is that how can I define codes in doPost() method
that the following function will get "result" from the Java side.
public static function httpResult(event:ResultEvent):void
var result:Object = event.result;
//Do something with the result.
if (result.toString() == "success")
resultMessage.text = "Login Success";
resultMessage.text = "Invalid User";
}I advise having your servlet build an xml string, maybe put a
status attribute in the root tag, like this:
<myroot status="success">
<mytext>Some text</mytext>
</myroot>
and return that to the calling Flex client. XML is easier to
work with than Object. On the HTTPService tag, set
resultFormat="e4x", and it will return plain XML.
then in the handler, do:
var xmlResult:XML = XML(event.result); //this will already be
the myroot node
//Do something with the result.
if (xmlResult.@status== "success") //reads the status
attribute
resultMessage.text = xmlResult.mytext.text(); //get the
value of themytext text() node
resultMessage.text = "Error";
Tracy -
How to send data from internal table to the shared folder in ABAP
Hi experts,
My requirement is to transfer data from a file to shared folder. i just did reading data from a file to a internal table. Now i want to send this internal table data into a shared folder which is "
xxx\y\z....".
I do not have any idea on how to send data from internal table to the shared folder path.
can anybody please help me out how to do this?
Thanks & Regards
Sireesha.Where that folder is located, its on presentation server i.e. desktop or application server.
If its on presentation server, use FM GUI_UPLOAD.
If its on application server, then use DATASET functions. Have a look at below link.
[File Handling in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm]
I hope it helps.
Thanks,
Vibha
Please mark all the useful answers -
How to compare result from sql query with data writen in html input tag?
how to compare result
from sql query with data
writen in html input tag?
I need to compare
user and password in html form
with all user and password in database
how to do this?
or put the resulr from sql query
in array
please help me?Hi dejani
first get the user name and password enter by the user
using
String sUsername=request.getParameter("name of the textfield");
String sPassword=request.getParameter("name of the textfield");
after executeQuery() statement
int exist=0;
while(rs.next())
String sUserId= rs.getString("username");
String sPass_wd= rs.getString("password");
if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
exist=1;
if(exist==1)
out.println("user exist");
else
out.println("not exist"); -
I have iphone 3gs, how to send song from my computer?
i have iphone 3gs,
how to send song from my computer in iphoneYou sync it or use iTunes Match.
-
IDOC :: how to send data from Custom Infotype in SAP HR to third party
Hi,
I have created one custom Infotype by number 9020. How to send data from this infotype to third party system and also change pointers need to trigger for this infotype.
Please help me in doing it.
I am using one Custom Message type ZTALENT and Custom Idoc Type ZTALENT.
ZTALENT Talent Management
5 E1PLOGI Header for an HR Object (Master Data or Organizational Data)
5 E1PITYP HR: Transported Infotypes and Subtypes for an Object
ZPUSER User base Data File
ZPERSON Personal Information File Segment
ZPOST Position File
ZOPE Overall Performance
ZPWORK Outside Work Experience
ZPEDUC Education Details of Employee
E1P0000 HR: HR Master Record Infotype 0000 (Actions)
E1P0001 HR: HR Master Record Infotype 0001 (Org. Assignment)
E1P0002 HR: HR Master Record Infotype 0002 (Personal Data)
E1P0016 HR Master Record: Infotype 0016 (Contract Elements)
E1P0022 HR Master Record: Infotype 0022 (Education)
E1P0023 HR Master Record: Infotype 0023 (Other/Previous Employers)
E1P0041 HR Master Record: Infotype 0041 (Date Specifications)
E1P0105 HR: HR Master Record Infotype 0105 (Communications)
ZE1P9020
ZPLANG Language Details
ZACTION Actions Changes
Regards,
KrishnaHello Shankar,
Technically TEMSE files are read by calling the following 3 function modules in sequence,
1) RSTS_OPEN_RLC or RP_TS_OPEN: open the temse object
2) RSTS_READ : read the object
3) RSTS_CLOSE: close the object
Regards,
Rajesh -
How to send SMS from a servlet to a mobile phone
How to send SMS from a servlet to a mobile phone what are the things i have to do.......
very urgent..Hi, please read this:
http://forum.java.sun.com/thread.jspa?threadID=345296&messageID=2608297
Found on the very forum with the search function ;) -
How to send music from a ipodtouch to another with the bluetooth??
how to send music from a ipodtouch to another with the bluetooth??
There is no way you can do that. You should either transfer the music to the phone and play it from there, or you should connect the speaker to the computer itself (provided it is Bluetooth speaker).
Ericsson T10i -> Nokia 7110 -> Siemens C45, C55, M55, M65 -> Nokia 6131, N73, N82 -> HTC Wildfire, Desire HD -> Nokia Lumia 800 -> HTC Desire X -> Lumia 820 -> Sony Xperia SP -> Lumia 925 + Sennheiser CX 500
If I've helped, use the Kudos button to thank -
How to filter results from 4 dynamic list menus depandant on how many of them are selected
I have a search page with a form with 4 list menus and 1 submit that post the results to the results page. I can create a record set that either retrieves the correct data from my database if a selection is made from all four menus Or i can create the recordset if only 3 menus have a selection or the same for 2 menus and 1 menu. However i want the user to be able to make a selection from either 1, 2, 3 or all 4 of the menus and the exact data be retrieved. At present if i try to combine the recordset using AND and ORs the results are not specific enough, for example the 4 menus are Location, Type, Price & Style if a user selects from all 4 i only want to retrieve data that matches all 4 criteria, but at the same time if the user selects only 2 of the menus the i want it to retrieve data that matches specifically those 2 variables. I´m not actually sure if i should be creating a more advanced sql query of if its the php side of things that i need to look at. This is my first dynamic site so please be aware i´m still a learner where php and sql is concerned. Please can anyone help?
Hey there,
Thanks for replying,
I too am using Dreamweaver recordset, my local server is XAMPP ( apache php mysql), i´have pasted my sql recordset below to give an idea of what i´m trying to do, however this does not work as i´m trying to select the exact data based on 4 menus PRICE TYPE LOCATION and BEDS, and also want the search to work if the user only selects options from either 1, 2, 3 or 4 of the menus, with the code as it is if the user select only two options from 2 of the menus the results don´t just find (for example) all results for location AND price they find all results for the location varibale OR the price variable rather than a match for both, if you see what i mean?
Any suggestions?
SELECT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number`
FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid
WHERE (location=varloc AND price = varprice AND type=vartype AND beds=varbed ) OR (price=varprice AND location=varloc AND type=vartype) OR (price=varprice AND location=varloc AND beds=varbed) OR (price=varprice AND beds=varbed AND type=vartype) OR ( location=varloc AND type=vartype AND beds=varbed) OR (price=varprice AND location=varloc) OR (price=varprice AND type=vartype) OR (price=varprice AND beds=varbed) OR (type=vartype AND location=varloc) OR (type=vartype AND beds=beds) OR (location=varloc AND beds=varbed) OR (price = varprice OR beds=varbed OR type=vartype OR location=varloc)
ORDER BY detailstable.trueprice ASC
Look forward to receiving your thoughts,
Linda
Date: Wed, 21 Oct 2009 14:36:33 -0600
From: [email protected]
To: [email protected]
Subject: how to filter results from 4 dynamic list menus depandant on how many of them are selected
Hiya,
I'm just doing my first dynamic site too, and am at a similar level to yourself.
Can you give us more info re the site. What software, eg Dreamweaver etc are you using, and is your server using PHP or ASP etc?
For what I've used, I amended the SQL side of things in the recordset in Dreamweaver. That way, you can test the SQL as you're setting up the recordset.
Let me know how you're going on anyway
Cheers
Andy
> -
How to send IDocs from a non-SAP system to a SAP system
Hi everyone i am new to SAP R/3 System.
Currently i am required to send IDocs from a non-SAP system to a SAP R/3 System.
There is a guide on Cost-Effective and Quick Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interface. But its from a SAP system to a non-SAP system and i am able to do that.
Is there any step by step guide where they teaches you how to send IDocs from a non-SAP system to SAP system via similar method?
Thank You!Hi,
I hope this link may help you......
http://publib.boulder.ibm.com/infocenter/iisinfsv/v8r1/index.jsp?topic=/com.ibm.swg.im.iis.ds.entpak.sapr3.use.doc/topics/c_pack_r3_Introduction.html -
Can't edit email saved in draft or figure out how to send it from there
I wrote up an email yesterday and saved it in the drafts folder since I didn't want it to go out until today. When I go in to drafts in Mail I can see the message as I left it but I can't figure out how to send it from there. I also tried to make a quick change and it wouldn't let me do that either. There is a jpeg attachment in the email but I don't see why that would prevent me from editing the message. Any help would be appreciated.
That's what I thought I was supposed to do but double-clicking wouldn't do anything. I just solved the problem somehow by moving the message from the drafts folder to the sent folder and back to drafts again and then the double-click worked and I was able to send it. Not sure what the problem was but thanks for the quick reply.
-
How to send emails from HANA SQL Console
Hi,
Please guide how to send mail from HANA Studio SQL Console.
Is there any standard procedure in Hana Studio to send Mail( e.g. in MS SQL "sp_send_dbmail" Procedure)Hi Preethi,
Please go through the attached link:
How to send emails from HANA
Regards,
Krishna -
How to send emails from of pdf's generated by oracle reports
I have several pdf documents , I want to email those pdf's . Please let me know how to send emails from oracle reports .
Thanks,
PrevinI have integrated Oracle Reports with Oracle Portal and used the scheduling feature via portlets. We have reports that run every monday morning for management. For more info go to:
http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
OR
I think if you set destype=mail, desformat=PDF, and desname=[email protected] that should also do the trick.
Just be sure that you have put your mail server's IP address in the rep_<machine_name>.conf file located in your <oracle_home>/reports/conf directory. If this is not set up, the mail feature won't work.
Martin -
How to send songs from iphone through whatsapp
I don't know how to send songs from iphone 5 through whatsapp?
can someone help please.you don't not a feature on iphones.
songs are meant to be sync with itunes.
Maybe you are looking for
-
I have just written a little book, on my iPad, using 'Pages' I was able to download it for proofreading, however, this facility has now ceased. When I press 'send' it makes the 'rushing sound' but in fact does not download! Please will someone help,
-
Itunes opened only once, now won't open at all HELP
just bought an ipod 30g video, shuffle and installed itunes as per directions. had trouble from the get go. managed to open once, put some songs on ipods, shut down and haven't been able to open since. NO ERROR MESSAGES. help please....
-
Could I replace osx with window in a Mac mini with Fusion drive?
-
Confused over saving files in Bridge or Camera Raw CS4
I'm a little confused the way Bridge and Camera Raw saves files that have been adjusted. For example, when I took a photo and just applied a crop to it, I clicked on "save image" in camera raw, set up a new folder and new file name. I clicked on ok e
-
How to set path names with spaces ?
I want to set a variable to a path name that contains spaces that will work with cd. If I set the variable with set p1="My MPW Folder" then using echo $p1 yeilds My MPW Folder however is I do cd $p1 I get cd: Too many arguments. If I manualy type cd