|
abotu the IT solutions , a tuff question . nobody except a few people undrestand wha is it . IT is going to mess up our life more .
|
|
|
|
|
Molly the wrothy small. If tove bored shovel melt adipose rubend. Grolling flange gusset fast over keeble snurd for torque of gripper after larging faucetry.
If you need more information don't hesitate to ask (someone else).
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.
|
|
|
|
|
|
Regards,
Satips.
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Walk beside me, and just be my friend. - Albert Camus
|
|
|
|
|
How to close a window (not a popup) using javascript in FireFox ?
|
|
|
|
|
window.close(); doesn't work??
|
|
|
|
|
Michael Sync wrote: window.close(); doesn't work??
Unfortunately, it does not work
|
|
|
|
|
|
Michael Sync wrote: Try this link.
Also this solution does not work !!
I think this is the final answer:
"You can only close a window with JavaScript that you opened with JavaScript. If your visitor opened the window then you can't close it."
Check this: http://www.webdeveloper.com/forum/showthread.php?t=153088
|
|
|
|
|
yeah . seems like that.....
|
|
|
|
|
Actually, there is a workround. Try this:
window.opener = top;
window.close();
|
|
|
|
|
It did not work !!
Remember that i test only on FireFox
|
|
|
|
|
Curses to FireFox. Works fine in IE... darn it.
|
|
|
|
|
Pete O`Hanlon wrote: Works fine in IE
It is actually a browser-cheat-trick. You cheat the browser by making it think that its window is your-own. As a new browser security patches come up, it is most likely that our workaround might cease to function.
|
|
|
|
|
Pete O`Hanlon wrote: Curses to FireFox.
FireFox is the best browser (for the web developers).
|
|
|
|
|
True. I like the 'Javascript Console' very much. Even Venkman's Debugger is nice. Have you used it?
|
|
|
|
|
Vasudevan Deepak Kumar wrote: Have you used it
Without it, the javascript coding is more complex than building nuclear weapons.
|
|
|
|
|
I know - I do like it a lot. I was being ironic here.
|
|
|
|
|
After executing the statement, did you see the JavaScript console for any error messages?
|
|
|
|
|
|
I've a comobbox and i'm fill this comobbox like this:
===========================================================================================
oleDbDataAdapter1.Fill(dataSet31);
dpdhead.DataSource = dataSet31.Tables[0].DefaultView;
dpdhead.DataTextField = dataSet31.tbacdes.ac_headColumn.ToString();//Display Heads
dpdhead.DataValueField = dataSet31.tbacdes.ac_idColumn.ToString();// Heads Ids
dpdhead.DataBind();
===========================================================================================
and than i want to get Comobbox select item head id. But when i select the comobbox value page refresh, first time it return head id but when i again select a value i got an javascript error like this:
====================================
Error: Invaild Syntax
Code: 0
====================================
And comobox stop working. and page doesn't work.
Please help me out in this matter (Urgent)
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
http://www.codeproject.com/script/comments/forums.asp?forumid=1649&select=2119873#xx2119873xx
|
|
|
|
|
Please don't cross post, or post again when your original question is still visible. That's just annoying.
Also, as has been said to you, try to come up with intelligent subject lines.
What makes this dataSet31, and not dataSet30 ? Please tell me your page doesn't contain over 30, numbered data sets ?
Are you injecting any jscript into the page ? It's very odd that the auto generated script would create an error.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Well, thanks and sorry.
Actually I didn't understand what happend to me.
I want to load data in comobox from Database and than get the selecteditem id.
example
=====================================
Department Header //display member : Student fee
Department Id // value member Id: 4
====================================
and on selectedindex_change function i want to get department id, while page refresh. I have successfulyy fill the comobox but when i change value in comobox first time it give the department id while page reload, but after that page got an error (Invaild syntax) and page stop working, comobox stop working.
Please help in this. Thanks and my best regards,
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
The setting of the data source ( the code you posted ) should only occur the first time, that is, in a Not Page.IsPostback block. However, not doing this would typically cause you to lose your selection, not for the page to blow up. Something strange is going on, here. I think you need to post some more of hte code.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|