 |

|
Thank you for your help on specific issues than you wanted to ask your help. If you have an email address I can reach?
|
|
|
|

|
Sorry but no.
I'm happy to help you through this forum.
"It's true that hard work never killed anyone. But I figure, why take the chance." - Ronald Reagan
That's what machines are for.
Got a problem?
Sleep on it.
|
|
|
|

|
Hakan Bulut wrote: str=myFunction(arrNums[i]);
I'd say it is here. You call your function in a recursive way and it executes and executes and executes...
|
|
|
|

|
Is that an accurate statement do you think about this statement? It does not work.
|
|
|
|

|
It is just my best guess.
|
|
|
|

|
Hi All, the most common radio players on websites are Flash based and they work great on desktop or laptop versions of of most websites. This is acceptable for many site owners but for some owners who want to be able to reach listeners on mobile devices it is problematic. Flash based players are not supported by mobile devices. One could say why don't you register your site with such websites as tunein.com or itune so that your listeners can listen to you with their mobile devices. The reasons for that vary from owner to owner. So having said all that, is it possible to create a player with JavaScript that will handle streams? I have created an interface for a radio player as follows but it does not work.
<button onClick="document.getElementById('audio').play();document.getElementByID('audio').volume=1;">Play</button>
<button onClick="document.getElementById('audio').pause()">Pause</button>
Then I tried to use the Source attribute of HTML5 Audio element to hand the radio stream as follows:
<audio id="audio">
<source src="http://Put your hosting company url here:Put your port number here/"/>
</audio>
Unfortunately the HTML5 Audio Element does not handle streams, it only handles files. I would like to create a JavaScript radio player code that I can place on any website to allow listeners on mobile devices to listen to online radio stations of their choice. Please point me in the right direction, thanks in advance.
modified 5 Mar '13 - 1:15.
|
|
|
|

|
To the best of my knowledge and in my opinion
Flash is a very mature and stable platform, although others or perhaps now the majority of people will say that's it's a memory and CPU hog, a security risk, etc.
But I write Flash AS3 code, and have created many different applications with it, such as my own You Tube style movie player.
Flash AS3 is pretty neat because it handles movie and audio streams very well, and can buffer streams from a stream server, while showing the progress.
Now take You Tube, they had to write a iphone app and a android app to play there movies on mobile devices, to replace the flash movie player
Since JavaScript runs in the DOM of a browser, I seriously doubt that you can stream audio with it, and buffer the stream if needed, because of the JavaScript architectural. JavaScript runs when a function is called for it, and just completes. It's sort of linear in design. It doesn't wait for events in motion to occur.
Now take a windows application, windows has a message pump, and the pump constantly runs, waiting for messages, and then processes them. Well flash does that as well, but JavaScript doesn't. JavaScript doesn't have the pump mechanism, that goes round and round waiting for events to occur.
I have no alternatives to offer, but you could of just Googled your question.
|
|
|
|

|
Streamed data Please use a server for streaming. Adobe server is not freeware. Adobe Action Script is not compatible every time (non compatibles upgrades and not cheap). WebM (HTML-5-audio) can be streamed. Ogg-format too. Security of streaming: Maybe server an folder of audio data must be on same host.
Javacript only client language. WebM-player (streamed WebM too) is a component of html-5-browsers. Flash not. Player controls in use of JavaScript - yes. I have a webpage (twseiten.com) - there e.g. client side html-5-player but NOT streamed data.
|
|
|
|

|
how to get currently running application names using JAVA Script. ex. in client machine they opened MS word, sqlserver,VS2012, notepad etc. we have to find what all application are running in client machine from server. is this possible to call task manager by some querry and store the values in cookies and retrive in server side. Thanks and regards, Ajit mail me ajitbishoyi@yahoo.com
|
|
|
|

|
This information cannot be obtained by browsers because of security considerations. If the browser is allowed to run executable programs on the client system then it could do all sorts of damage. I don't think users would be happy about that.
Use the best guess
|
|
|
|

|
Modern operating systems do there best to create a barrier between the browser and the operating system.
You could probably do it on the server hosting the website, if the OS is like Server 2003, but that's not going to happen on the client side, unless you can get the user to download a program to do that for you.
Javascript and JQuery runs in the DOM, which is supported by the browser, and cannot cross that barrier.
|
|
|
|

|
client and server connections - use JAVA (Oracle), not JavaScript.
|
|
|
|

|
i want to implement a loader to website. when any user open the website, loader is visible till that time till when whole page is not loaded included image. this loader will be in js not in jquery. Regds Vishal Bansal
|
|
|
|

|
Hi Vishal,
Here's a nice example:
preload_wait.html[^]
It has sample JS code also
Good luck
Cheees,
Edo
|
|
|
|

|
Hi Edo,
Tx alot.
Regds Vishal Bansal
|
|
|
|

|
div#page_loader {
position: absolute;
top: 0;
bottom: 0%;
left: 0;
right: 0%;
background-color: white;
z-index: 99;
}
<script language="javascript" type="text/javascript">
<a onclick="javascript:document.getElementById('page_loader').style.display='block';" href="webpage.html">Web Page</a>
</script>
|
|
|
|

|
I'm having trouble with Canadians checking out with with my shopping cart, seems because I use US Zip Codes, I don't have the experience needed to use Canadian Postal Codes.
I thought Canadian postal codes were just 6 straight values XXXXXX, and I suspect that many Canadians split the 6 values into pairs of 3 XXX XXX, or perhaps something else.
I'm not really sure why I'm having trouble with them.
Anyways, rather than reinventing the wheel here on this one, thought I would see if there any Canadian Programmers out there using something better than what I'm using
var re_Billing_PostalCode_CA = new RegExp("^[ABCEGHJKLMNPRSTVXY][0-9][A-Z] [0-9][A-Z][0-9]$")
|
|
|
|

|
A quick google for 'canada postal code regex' found this[^]
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|

|
I found this, looks like it allows for the space XXX XXX or XXXXXX
and tested it using L4A 0S1 and L4A0S1, but for some reason I always get bit in the rear for not using more test samples.
var re_Billing_PostalCode_CA = new RegExp(/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ]( )?\d[ABCEGHJKLMNPRSTVWXYZ]\d$/i);
|
|
|
|

|
It's been awhile since I've worked with JSON, I created and element with child elements called result_Error,
and I can't remember how to parse the child elements within. I did validate the JSON below to be correct
So like result_WarningMessage and result_Error is what I want to parse.
{
"result_StatusCode": 1,
"result_StatusMessage": "Success",
"result_WarningMessage": [
{
"Message": "Ship To Address Classification is changed from Residential to Commercial"
}
],
"result_API_Code": "12",
"result_API_Name": "UPS Three-Day Select®",
"result_Billing_SurCharge_Value": "$0.00",
"result_Billing_SurCharge_Currency": "USD",
"result_Billing_NetCharge_Value": "$8.29",
"result_Billing_NetCharge_Currency": "USD",
"result_Billing_Weight_Value": "01",
"result_Billing_Weight_UnitType": "LBS",
"result_ShipDate": "",
"result_DayOfWeek": "",
"result_DeliveryDate": "",
"result_Error": [
{
"ErrorSeverity": "Hard",
"ErrorCode": "111211",
"ErrorDescription": "The requested accessory option is unavailable between the selected locations."
}
]
}
|
|
|
|

|
If you have it as a string, then parsed = JSON.parse(yourString) will convert it to an Object.
Then you can access the parts you want as parsed.result_WarningMessage and parsed.result_Error, both of which are arrays of Objects:
var message = parsed.result_WarningMessage[0].Message;
var severity = parsed.result_Error[0].ErrorSeverity;
var code = parsed.result_Error[0].ErrorCode;
var description = parsed.result_Error[0].ErrorDescription;
|
|
|
|

|
yeah, I started playing with JSON a while back - and the first time, attempted to do everything the hard way (I was used to a particular XML class that allowed very manual operations) - I eventually, after a lot of effort, got it done, then chucked it away and redid the operation by parsing JSON -> object(s) .. less than 1/3 of my original code
|
|
|
|

|
I just needed more data back this time around, to check for errors, someone got free shipping to Canada this week, and I didn't catch it.
I did parse it, just could not remember how to grab the child elements.
Oh Well, that was a waste of 2 hours.
|
|
|
|

|
I didn't know about the parsed function.
I ended up taking out the square brackets and revalidating the output, and grabbing the result as a non-array.
Just finished the implementation, but I do need to create a true json array in the next project on my to-do list.
Well thanks from brushing the rust off my head, it's been awhile and I completely blanked out on that one.
{
"result_StatusCode": 0,
"result_StatusMessage": "Success",
"result_WarningMessage": {
"Message": "Ship To Address Classification is changed from Residential to Commercial"
},
"result_API_Code": "12",
"result_API_Name": "UPS Three-Day Select®",
"result_Billing_SurCharge_Value": "$0.00",
"result_Billing_SurCharge_Currency": "USD",
"result_Billing_NetCharge_Value": "$8.29",
"result_Billing_NetCharge_Currency": "USD",
"result_Billing_Weight_Value": "01",
"result_Billing_Weight_UnitType": "LBS",
"result_ShipDate": "",
"result_DayOfWeek": "",
"result_DeliveryDate": "",
"result_Error": {
"ErrorSeverity": "Hard",
"ErrorCode": "111211",
"ErrorDescription": "The requested accessory option is unavailable between the selected locations."
}
}
var objB = jQuery.parseJSON(UPS.d);
var result_StatusCode = objB.result_StatusCode;
var result_Message = objB.result_StatusMessage;
var result_WarningMessage = objB.result_WarningMessage;
var result_API_Code = objB.result_API_Code;
var result_API_Name = objB.result_API_Name;
var result_Billing_SurCharge_Value = objB.result_Billing_SurCharge_Value;
var result_Billing_SurCharge_Currency = objB.result_Billing_SurCharge_Currency;
var result_Billing_NetCharge_Value = objB.result_Billing_NetCharge_Value;
var result_Billing_NetCharge_Currency = objB.result_Billing_NetCharge_Currency;
var result_Billing_Weight_Value = objB.result_Billing_Weight_Value;
var result_Billing_Weight_UnitType = objB.result_Billing_Weight_UnitType;
var result_ShipDate = objB.result_ShipDate;
var result_DayOfWeek = objB.result_DayOfWeek;
var result_DeliveryDate = objB.result_DeliveryDate;
if (0 == result_StatusCode) {
var result_Error = objB.result_Error;
var e_Severity = result_Error.ErrorSeverity;
var e_Code = result_Error.ErrorCode;
var e_Description = result_Error.ErrorDescription;
var m_Error_Text = result_API_Name + " -- " + "ERROR";
$('option:selected', '[id*="_ddl_RTSR_SARates_Unified_SelectRate"]').text(m_Error_Text);
$('[id*="_lbl_RTSR_Status"]').text(e_Description);
$('[id*="_lbl_RTSR_OrderInformation_EstimatedRate_Field"]').text("ERROR " + e_Code);
|
|
|
|

|
I know that there is an easy way to do this, but I'm so green on javascript programming that I'm missing something. Anyway, I have a div with some selects in it and I want to reset them all back to the first option. Here is my current code:
$("#newAuction").children('select').each(function () {
$(this).find('option:first').attr('selected', 'selected');
});
This isn't looping through all of the selects (there are four in this div) and resetting them to the first option. What am I doing wrong?
|
|
|
|

|
$('select option:first-child').attr("selected", "selected");
This will do all on a page. If you specifically want just the ones is a particular div then you can add that into the selector.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|

|
how to create playlist in html5
i m using html5 along with visual studio2010
end of previous song next song should be start ..
how to pass dynamic source end of one song... it can be only by javascript
|
|
|
|
|

|
playlist and player are not the same. playlist in xml format --> script for datas. player in e.g. Javascript --> script for actions in use of datas. So the end of a song --> e.g. inside of player in use of javascript function for timers (duration of song). Please take Google to ceck possible players and owned playlist formats. HTML 5 audio player is inside of every modern browser. Playlist data in different ways possible. E.g. JSon, oder Array, oder xml (in use of xml DOM) or pure html code. If you want see my webpage (twseiten.com) for HTML-5-player or BGSOUND-Player (older MS Internet Explorer). In use of plugins like Flash or Java other players possible inside of HTML-5-Webpage. visual studio2010 .... in use of MS Internet Explorer: This browser may be not compatible to other browsers (e.g. webkit-browser Firefox, Opera becomes a webkit browser). Other IDE .. Eclipse for Javascript AND webkit browser useable. Often browsers have an own GUI to edit and debug html- and javasvcript code. Often only for webkit. JavaScript Based Radio Player - see above of this entry in forum.
|
|
|
|

|
Hi everybody
I'm using highcharts API reference.
I want to know Where can I get the axis value when I click on a cursor?
Please help me!
|
|
|
|
|

|
Hi im doing an assignment Im only new to programming but at the start of my programming course witch will eventually teach me java, C# and objective C, im doing this assignment where you have to copy a file from a source folder that you put in the text box and put it in another folder witch you put in the other text box now I know how to do it when I create the path but I need to read the info that is put in the text box so I can do it with any folder name typed in.
you type a C:\\foldername\\andfilename.txt in one text box
then you type in destination C:\\foldername in another text box
then you press copy
that's the process, I can do that but only with a created path
help please................
|
|
|
|

|
You cannot work on system files/folders using JavaScript. It's a security issue and is not allowed. JavaScript is a client side thing.
|
|
|
|

|
I know the title says JS but the actual message says Java so likely it is a Java question. But your answer is correct about JS. It's easy for people unfamiliar with it to get those confused.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|

|
ryanb31 wrote: but the actual message says Java
Yeah, did noticed that, but looked to me OP is talking of all languages he is trying to work on (m only new to programming but at the start of my programming course witch will eventually teach me java, C# and objective C, ).
But your point taken!
If Java, following will help OP: How to move file to another directory in Java[^]
|
|
|
|

|
He might be referring to Windows Script Host. Using JScript or VBScript, they have full access to filesytem just like any asp web server.
Q. Hey man! have you sorted out the finite soup machine?
A. Why yes, it's celery or tomato.
|
|
|
|

|
how to call server side function by javascript
|
|
|
|
|

|
It's pretty easy with jQuery. http://api.jquery.com/jQuery.ajax/[^] Create a webservice and then call it with jquery.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|

|
I build JavaScript.I create Button and Throw value to textbox when Click the button.when I use with iOS 5,It run fast,but when i use with iOS 6,It run very slow.could have an idea about this.Thank in advanced!
|
|
|
|

|
Hi,
I use ASP.NET.
This is structure I have:
Master page -> Content page -> User control -> Telerik grid with its context menu, hidden field.
This means: Master page contains content page, content page contains user control, user control contains Telerik grid with its context menu and hidden field.
I open popup window by clicking option in Telerik grid's context menu. After I choose some option in combo box in that popup window I press OK and close it. But I don't know how to reference opener that should be user control with Telerik grid and hidden field. I want to set hidden field to some value.
This is JavaScript code I use:
<script language="javascript" type="text/javascript">
function ReturnValue() {
var choice = document.getElementById("DropDownList1").value;
if ((window.opener != null) && (!window.opener.closed)) {
window.opener.document.getElementById("HiddenField1").value = choice;
}
window.close();
}
</script>
But, it fails on this line because opener is master page:
window.opener.document.getElementById("HiddenField1").value = choice;
So, how can I make it work?
Thank you in advance.
|
|
|
|

|
If you want to reference a control that is in a usercontrol from master.
look at this example:
window.opener.document.getElementById('<%=ContentPlaceHolder1.FindControl("usercontrolID").FindControl("hiddenfield").ClientID %>').value = choice;
I could be wrong, but it wont hurt if you try it out.
|
|
|
|

|
View the source of the page and you'll see how it is getting named. Or, as a previous post mentioned you can figure it out on the server side.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|

|
Represents an open window in the browser. Members Table The following table lists the members exposed by the window object. Click a tab on the left to choose the type of member you want to view. Attributes/Properties Show: Attributes/Properties Collections Events Methods Objects Property Description closed Retrieves whether the referenced window is closed. defaultStatus Sets or retrieves the default message displayed in the status bar at the bottom of the window. dialogArguments Retrieves the variable or array of variables passed into the modal dialog window. dialogHeight Sets or retrieves the height of the modal dialog window. dialogLeft Sets or retrieves the left coordinate of the modal dialog window. dialogTop Sets or retrieves the top coordinate of the modal dialog window. dialogWidth Sets or retrieves the width of the modal dialog window. frameElement Retrieves the frame or iframe object that is hosting the window in the parent document. length Sets or retrieves the number of objects in a collection. name Sets or retrieves a value that indicates the window name. offscreenBuffering Sets or retrieves whether objects are drawn offscreen before being made visible to the user. opener Sets or retrieves a reference to the window that created the current window. parent Retrieves the parent of the window in the object hierarchy. returnValue Sets or retrieves the value returned from the modal dialog window. screenLeft Retrieves the x-coordinate of the upper left-hand corner of the browser's client area, relative to the upper left-hand corner of the screen. screenTop Retrieves the y-coordinate of the top corner of the browser's client area, relative to the top corner of the screen. self Retrieves a reference to the current window or frame. status Sets or retrieves the message in the status bar at the bottom of the window. top Retrieves the topmost ancestor window. Attributes/Properties Collections Collection Description frames Retrieves a collection of all window objects defined by the given document or defined by the document associated with the given window. Events Event Description onactivate Fires when the object is set as the active element. onafterprint Fires on the object immediately after its associated document prints or previews for printing. onbeforedeactivate Fires immediately before the activeElement is changed from the current object to another object in the parent document. onbeforeprint Fires on the object before its associated document prints or previews for printing. onbeforeunload Fires prior to a page being unloaded. onblur Fires when the object loses the input focus. oncontrolselect Fires when the user is about to make a control selection of the object. ondeactivate Fires when the activeElement is changed from the current object to another object in the parent document. onerror Fires when an error occurs during object loading. onfocus Fires when the object receives focus. onhelp Fires when the user presses the F1 key while the browser is the active window. onload Fires immediately after the browser loads the object. onmove Fires when the object moves. onmoveend Fires when the object stops moving. onmovestart Fires when the object starts to move. onresize Fires when the size of the object is about to change. onresizeend Fires when the user finishes changing the dimensions of the object in a control selection. onresizestart Fires when the user begins to change the dimensions of the object in a control selection. onscroll Fires when the user repositions the scroll box in the scroll bar on the object. onunload Fires immediately before the object is unloaded. Methods Method Description alert Displays a dialog box containing an application-defined message. attachEvent Binds the specified function to an event, so that the function gets called whenever the event fires on the object. blur Causes the element to lose focus and fires the onblur event. clearInterval Cancels the interval previously started using the setInterval method. clearTimeout Cancels a time-out that was set with the setTimeout method. close Closes the current browser window or HTML Application (HTA). confirm Displays a confirmation dialog box that contains an optional message as well as OK and Cancel buttons. createPopup Creates a popup window. detachEvent Unbinds the specified function from the event, so that the function stops receiving notifications when the event fires. execScript Executes the specified script in the provided language. focus Causes the element to receive the focus and executes the code specified by the onfocus event. moveBy Moves the screen position of the window by the specified x and y offset values. moveTo Moves the screen position of the upper-left corner of the window to the specified x and y position. navigate Loads the specified URL to the current window. open Opens a new window and loads the document specified by a given URL. print Prints the document associated with the window. prompt Displays a dialog box that prompts the user with a message and an input field. resizeBy Changes the current size of the window by the specified x- and y-offset. resizeTo Sets the size of the window to the specified width and height values. scroll Causes the window to scroll to the specified x- and y-offset at the upper-left corner of the window. scrollBy Causes the window to scroll relative to the current scrolled position by the specified x- and y-pixel offset. scrollTo Scrolls the window to the specified x- and y-offset. setActive Sets the object as active without setting focus to the object. setInterval Evaluates an expression each time a specified number of milliseconds has elapsed. setTimeout Evaluates an expression after a specified number of milliseconds has elapsed. showHelp Displays a Help file. This method can be used with Microsoft HTML Help. showModalDialog Creates a modal dialog box that displays the specified HTML document. showModelessDialog Creates a modeless dialog box that displays the specified HTML document. Objects Object Description clientInformation Contains information about the Web browser. clipboardData Provides access to predefined clipboard formats for use in editing operations. document Represents the HTML document in a given browser window. event Represents the state of an event, such as the element in which the event occurred, the state of the keyboard keys, the location of the mouse, and the state of the mouse buttons. external Allows access to an additional object model provided by host applications of the Microsoft® Internet Explorer browser components. history Contains information about the URLs visited by the client. location Contains information about the current URL. navigator Contains information about the Web browser. screen Contains information about the client's screen and rendering capabilities. Remarks You can use the window object to retrieve information about the state of the window. You also can use this object to gain access to the document in the window, to the events that occur in the window, and to features of the browser that affect the window. Typically, the browser creates one window object when it opens an HTML document. However, if a document defines one or more frames (that is, contains one or more frame or iframe tags), the browser creates one window object for the original document and one additional window object for each frame. These additional objects are child windows of the original window and can be affected by actions that occur in the original. For example, closing the original window causes all child windows to close. You can also create new windows (and corresponding window objects) using methods such as open, showModalDialog, and showModelessDialog. You can apply any window property, method, or collection to any variable or expression that evaluates to a window object, regardless of how that window was created. Additionally, you can access all window properties, methods, and collections in the current window by using the property, method, or collection name directly?that is, without prefixing it with an expression that evaluates to the current window object. However, to help make more readable code and to avoid potential ambiguities, many authors use the window keyword when accessing window properties, methods, and collections for the current window. This keyword always refers to the current window. Note : The window's properties, methods, and collection names are reserved keywords and cannot be used as the names of variables or routines. The following table lists pertinent information for some of the properties of the window object. Property Method Description opener open The opener property is available only from a page opened using the window.open method. parent, top None The parent and top properties are available for a window opened inside a frame or iframe. The two properties return the topmost parent and immediate parent, respectively. parent, top open The parent and top properties are available for a window opened via the open method or as a dialog and returns the current window. length None Regardless of how the window is opened, the length property returns the number of frames in a window. dialogArguments, dialogHeight, dialogLeft, dialogTop, dialogWidth, returnValue showModalDialog and showModelessDialog These properties are available only for windows created using the two methods listed?showModalDialog and showModelessDialog
This object is available in script as of Internet Explorer 3.0. Examples This example displays an alert for the current window. alert("A simple message.") This example checks whether the current window contains child windows and, if it does, displays the names of those child windows. if ( window.frames != null ) { for ( i = 0; i< window.frames.length; i++ ) window.alert ("Child window " +i+ " is named "+window.frames(i).name); } This example shows a simple event handler function for the window's onload event. In the absence of a "window" element, the body element hosts the following window object events: onblur, onbeforeunload, onfocus, onload, and onunload. <BODY onload="window.status='Page is loaded!'">
|
|
|
|

|
I have an .aspx from that is serving as a popup and populating textboxes on another form through the javascript below. I'm needing a way to on either screen to avoid a " " from appearing for Nulls. Any ideas? Maybe "IF val1 == " "... "" Else.... "(?) Thanks!:
<script language="javascript">
function GetRowValue(val1, val2, val3, val4, val5, val6) {
window.opener.document.getElementById("txtEndUserLastName").value = val1;
window.opener.document.getElementById("txtEndUserFirstName").value = val2;
window.opener.document.getElementById("txtEndUserMiddleName").value = val3;
window.opener.document.getElementById("txtUserLanId").value = val4;
window.opener.document.getElementById("txtEndUserLocation").value = val5;
window.opener.document.getElementById("txtEmail").value = val6;
window.close();
}
</script>
<script runat="server">
Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles Gridview1.RowDataBound
If (e.Row.RowType = DataControlRowType.DataRow) Then
DirectCast(e.Row.FindControl("btnSelect"), Button).Attributes.Add _
("onclick", "javascript:GetRowValue('" & e.Row.Cells(1).Text & "','" & e.Row.Cells(2).Text & "','" & e.Row.Cells(3).Text & "','" & e.Row.Cells(4).Text & "','" & e.Row.Cells(5).Text & "','" & e.Row.Cells(6).Text & "')")
End If
End Sub
</script>
modified 11 Feb '13 - 10:46.
|
|
|
|

|
was thinking something like this would work but it may need some modification to work (?):
window.opener.document.getElementById("txtEndUserLastName").value = (val1 == " " ? "" : val1);
|
|
|
|

|
I want create Appointment/Event from my website to yahoo calendar using JavaScript. Kindly let me know which API/REST service use to create Appointment
|
|
|
|

|
I would first check with yahoo. They have a developer site.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|

|
The code below works fine on IE and FF but not on Google Chrome. Please can someone help me to find out the mistake?.
Flex Code: Public function init():void { ExternalInterface.addCallback("getCloseConfirmMessage", closeConfirmMessage); ExternalInterface.call("setUpBeforeUnload",FlexGlobals.topLevelApplication.id); } Public function closeConfirmMessage():void { //DB Updation code } Java Script : <script language="javascript" type="text/javascript"> var fxControl; function confirmClose() { alert("Please click OK to end the session"); fxControl.getCloseConfirmMessage(); }; function setUpBeforeUnload( appName ) { fxControl = document[ appName ] || window[ appName ]; window.onbeforeunload = confirmClose; }; </script>
|
|
|
|

|
Have you tried using chrome's developer tools? My guess is a chrome setting is blocking it from loading.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
 |