Hello,
I have an HTML textarea element. I want to prevent a user from entering any HTML tags in this area. How do I detect if a user has entered any HTML a textarea with JavaScript?
Thank you
Hello,
I have a view that sets its hidden when the user taps the main view. I need the view to fade in and out of existence so it looks smoother than just disappearing.
Heres my code so far (It's inside a touches event):
if (!isShowing) {
isShowing = YES;
myView.hidden = YES;
//Needs to fade out here
}
else {
isShowing = NO;
myView.hidden = NO;
//Needs to fade in here
}
Hello,
We have a CMS plugin that writes statistics to 1 table, this creates performance issues on the entire platform. We decided to use another statistics plugin which can connect to a different database server (the first plugin couldn't!) however we need parts of the first plugin.
I want to lock the statistics table to prevent misusage (not allowed to drop it by the developer) So I was wondering if a lock table could do this or if I can implement some sort of read only table
Hello!
Is it true that following code adds a XSS vulnerability to some JPS page?
<!-- <%=paramName%>=<%=request.getParameter(paramName)%><BR> -->
It looks like a "leftover debug" and definitely should be removed from the code, but how dangerous is it?
Hello All,
I am using a UiTableView in our application.We have two tabs in controller one is add to shopping list where i add more than one items in our shopping list in database,other one is shopping list which shows items for shopping.
The problem is that when i add items from shopping list tab then items are successfully added in database but when i click on shopping list tab then any items not shown in shopping list.
How i reload data in UiTableView when i click on shopping list tab.
Hello guys.
I have a problem. how i can run my hava-aplet directly without embendend in my web page?
If i answer on this question in a few minutes i will pass exam else i going out from university!!! please guys help!!
Hello everyone
I hope to capture the clicked url on an UIWebView
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
{
if (navigationType == UIWebViewNavigationTypeLinkClicked) {
NSURL *URL = [request URL];
NSString *s=[URL absoluteString];
}
but I noticed that this URL is not the url which is clicked and will be displayed on UIWebView, normally it is the url of current web page display on UIWebView.
Welcome any comment
Thanks
interdev
Hello,
What algorithm I can use for problem like this:
Have a graph positive weighted, i want to know a smallest
possible sum of weights where each node are connected (connected like a network, where each node is a eg. network device).
In this network each node can be connected with other node by some other other nodes in way. But all nodes from input graph must be in a network.
Any one can help me with this?
Hello,
I have a model with nested attributes :
class Foo < ActiveRecord::Base
has_many :bar
accepts_nested_attributes_for :bar
end
It works fine. However I'd want to be sure that for every Foo, I have at least two Bar.
I can't access the bar_attributes in my validations so it seems I can't validate it.
Is there any clean way to do so ?
Hello,
I am using feedparser for parsing from XML file.But I couldn't parse <geo:lat>, <geo:long> tags using feedparser from that file! Do you people have any idea how I can parse those tags using feedparser in python?
Thanks in advance!
Hello
I am trying to copy a file into a fold called profile i got that working but i need the page to be .html i also need data from mysql to put in the html page how do i go about that can anyone help me please
Hello,
As a paper saving drive throughout the organization, we plan to set 2 page printing(back to back) as default setting on all the windows machines. Is it possible to program this in .net / java ( or any scripting language ) ?, Can we change printer properties by a program ?
Thanks for your time
Hello everyone,
I am using MacBook Pro Mac OS 10.5 with related version of XCode. I am new to this development environment. I am developing C++ console/terminal applications (File-New project, then from the list on the left "Command line utility", and on the right "C++ tool".).
For C++ source code file, I want to print source file content with line number. Any ideas how to do this?
thanks in advance,
George
Hello everyone,
What do you consider a better programming practice: passing objects as pointers or references to functions. What do you do for input validation?
Thanks.
Hello!
Question about controllers.
Can controller call it`s own class methods inside an action?
EDIT:
Oh sorry. I meant I dont want to repeat myself. :)
Hello Im trying to make a chat program like skype in c# and having some trouble gavring/updating the messages, what i tryed was foreach value in a database add it into listbox1, and i did a timer every second do that.. but it kept adding it again every second repeating like it was on loop
So then i sat down and thought how can i do this, so i come up with webclient download a list of messages by php and foreach line in the webclient add it to a listbox! is there any way of doing this?
Hello,
I'm trying to open a write-protected ms excel 2007 file using win32com in python -- I know the password. I can open it with user input of the password into the excel dialog box. I want to be able to open the file without any user interaction. I've tried the following, but it still pops up the dialog box.
app.Workbooks.Open("filename.xls", WriteResPassword="secret")
Any ideas what I'm doing wrong please?
Thanks,
Dave.
hello all i am new to iphone development i want to use multilanguage application in iphone please guide me how can i do it i dont know anything that how can i use multilanguage in iphone
Hello everybody,
When my website is in fullscreen mode (with IE8), the window.focus() javascript command doesn' work.
Do you have a fix for my problem?
I tried to put a window.blur() before, without success.
Thank you!
Nicolas
Hello I'm trying to make an RSS subscribers counter using PHP and don't know where to start ? i'm not asking someone to write me the code, but do you know something good to read ? or you can tell me steps to do that ?
Thanks
Hello! Our company currently implementing TSA (Time Stamp Authority) service. And now we are searching CA (Certification Authority), which could issue certificate with intended usage: Timestamping. I contacted with few CA's, but they offer just Digital ID certificates, and know nothing about TSA. Maybe someone has experience with such problem?
Thank You!
Hello, I am designing a very simple horizontal menu with sIFR and CSS list. The thing about it is that it assigns a certain width to it that makes texts of different widths´ spacing look weird on screen.
I´ve seen a default width and height of a certain amount, but what I need is to make it so that the flash is exactly the size of the text.
Has anyone bumped into this issue before?
Thanks!
Hello everybody,
I know that P=NP has not been solved up to now, but can anybody tell me something about the following: What are currently the most promising mathematical / computer scientific methods that could be helpful to tackle this problem? Or are there even none such methods known to be potentially helpful up to now? Is there any (free) compendium on this topic where I can find all / most of the research done in this area?