Hello! Tell me please is it possible to break the process of parsing? I.e. exit this loop not reaching the end of document and corresponding event "endDocument" ?
I was just reading http://stackoverflow.com/questions/1619930/how-to-check-users-leave-a-page earlier on when suddenly I thought of performing AJAX when user leaves the page to send analytical data back to the server.
Is performing AJAX on the onunload event a good or bad practice/implementation?
I know it's a very vague question, but maybe the answers could act like a poll about what could possibly be the next big event in computer science. A new language ? A new technology ? A new architecture ? A new business model ?
Please provide details, what is it and why do you think it's going to rule the world.
Right now, I am working with a page that is automatically updated and I'm using setInterval to check for new elements. I'd like to do this with events but I don't know how to tell if an element has been added to the page via an event.
Is this possible?
I am facing this problem when I try to run OracleDBConsoleoracle in oracle 11
"Windows could not start the OracleDBConsoleoracle on Local Computer.For more information,
review the System Event Log.If this is a non-Microsoft service, contact the service vendor, and refer to
service-specific error code 2."
Noteice:I was online when I installed Oracle 11.
What's the problem?
Thanks...
Is there a library that can be used for implementing undo/redo functionality for DOM element manipulations in JavaScript?
I'm writing an app that moves around DOM elements, enables editing and deletion of those elements. There are event-handlers and other objects associated with each element operated upon.
Not sure whether I need to roll my own implementation of the Command pattern for this. Surely, there must be something available? If not, suggestions and pointers would be a great help.
I dynamically am changing the location and src of an iframe.
Is there an event that will tell me when the page i just put has loaded from javascript?
Basically I want to append something to the page but first need to know that everything is loaded.
I have ploblems with Silverlight4 dragging from desktop.
When I host my application on the local IIS Web server the Drop event does not catches,
but if I run my application in Debug mode it works fine.
Hi All,
I have multiple letters in html format in a folder and im list those letters in the gridview on ASP.NET page if user select couple of letters and click print i should me those letters
Now Question is how to print multiple html files on the event of button click.
I have an IBAction of SignIn and Method getData. When load it call SignIn into method Getdata in case I want auto sign in without click button Sign In.
-(void)getData
{
if ([_remCheckbox state] == NSOnState)
{
NSUserDefaults *store = [NSUserDefaults standardUserDefaults];
NSString *un = [store objectForKey:@"usrname"];
NSString *pw = [store objectForKey:@"usrpwd"];
_txtUsername.stringValue = un;
_txtPwd.stringValue = pw;
//call event IBAction
}
}
- (IBAction)buttonSignIn:(id)sender
{
//Signin code suppose to work fine
}
Hello,
I'm building a shopping cart and I would like to use a JavaScript function to validate user input when entering the quantity value in the quantity text input. I would like to allow the entering of integer values only (no floats, no other characters).
I know that I can apply this function using onKeyUp event and also I found isNaN() function, but it returns true even for floats (which is not ok).
Can you guys help me out with this one?
Thanks.
On the page load event of my webpage i fill the list of with the contents of the structure
Structure MainStruct
Dim Ans1 As String
Dim Ans2 As String
End Structure
Dim Build As New List(Of MainStruct)
The problem i that on post-back the contents of the list-of get lost.
So, how can i preserve the contents of the list-of in ASP.NET?
How do I find:
string str="(120)(1500)x";
How to find out in the event that the string contains:
string str1="()()X";
I then have to print:
console.writeline("str1 doesnt contain a numerical");
I am using jquery uimodaldialog and this is setting
$("#dialog").dialog({
autoOpen : false,
minWidth : 700,
show : {
effect : "fade",
duration : 1000
},
hide : {
effect : "fade",
duration : 1000
},
close : function(event, ui) {
},
});
I am calling with this
$('.mylink').on('click', function() {
$( "#dialog" ).dialog( "open");
Now on first click it shows at center of page .
if I click again then it goes about 200px upwards.
On further clicking it says there
How can i receive notification of a draggable display object while it is being dragged? basically i want to know it's coordinates each time it moves. is there an event listener for this task?
How to add a control in DataGridView? Using Button event. For example i want to create a new a row and column in DataGridView, this i want to happen through button control. How can i do it?
I am using C#.net and MS-Access.
I have a page with a menu like navigation pane (too repeater) and a placeholder in these page.
This is my problem : on menu item click i open different control in my placeholder, one at click.
When i change them selected item in my menu on page init i load the old control and i load the new control on menu event. How i can get te selected item of a repeater on page init???? or load.
P.s items are LinkButton
i built a page that can redirect a user to a new page after clicking on facebook like button on my page, but the like button does not show on mobile web. i did this with facebook javascript SDK not iframe because i need to use FB.Event.subscribe to do the redirect part. does anyone know how to solve this problem? or does anyone have some suggestions how to imply redirecting a user to a new web page after clicking facebook like button on mobile web page?
Hi,
Is there a way to "catch" the session timeout event, so as to retrieve data from HttpSession before its invalidated ?
We're implementing the Filter Interface, and in the doFilter method, the user we stored in the session object at login is null when session times out.
Thanks in advance.
I would like to define a class that accept the pointer to it's parent class as an Argument, but would it be possible to somehow pass it without needing to pass it directly such as:
class Child
{
public:
Child(Parent* hiddenArg);
};
class Parent
{
public:
Child myChild;
};
I know this is weird, but I am making my own Signal/Slot implementation and Child would be a signal defined, but I would like to get the parent so I can use it's Event Dispatcher...
i am having a application where i am generating the uibuttons dynamically want to use same @selector...Now as sooon as event is generated i wanna check for values and pass it to thtroughthat selector how can i implement this code?
can anyone tell me a tutorial sort where buttons are dynamically generated and check for particular button click is depicted?
Plz help...
how trigger the action script when browser is closed in flex
what i want is when the browser is closed ,an alert has to be show to continue or not ,later the event to stored in the databse
plz help me
i made a button & i used a on click event on this. So it can show some images. but after that when i click on another button for showing some text the images still upon there. Images hide the text. what will be the solution ?
Hi,
I would like to set the selected value to a known value. However, after InititializeComponent() has been called, the data is not yet filled in a databound Combobox so I can't set my selected value there.
Which event is triggered when the data has finished to be added in the combobox from the databound object ? Is there any other way you would suggest handling this ?
Many thanks